From 42a433328a13a8ea73231c05572e80b43f143411 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=9F=91=E8=9E=82?= Date: Tue, 12 May 2026 00:19:23 +0800 Subject: [PATCH] =?UTF-8?q?refactor(order-import):=20=E7=AE=80=E5=8C=96?= =?UTF-8?q?=E5=90=91=E5=AF=BC=E6=93=8D=E4=BD=9C=E6=8C=89=E9=92=AE=E5=B8=83?= =?UTF-8?q?=E5=B1=80=EF=BC=8C=E7=A7=BB=E9=99=A4=E5=86=97=E4=BD=99=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/ImportTaskWizard.vue | 82 ++++--------------- 1 file changed, 18 insertions(+), 64 deletions(-) diff --git a/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/order-import/components/ImportTaskWizard.vue b/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/order-import/components/ImportTaskWizard.vue index fdb8d63d..dd187e53 100644 --- a/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/order-import/components/ImportTaskWizard.vue +++ b/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/order-import/components/ImportTaskWizard.vue @@ -142,16 +142,6 @@ function getValidOrderStatusIdSet(): Set { return new Set(orderStatusList.value.map((s) => s.id)); } -/** 模板里记录的原始映射:仅展示仍存在的系统状态名,已删除的视为无映射 */ -function getTemplateOriginalMappedLabel(csvStatus: string): string { - const tplId = currentStatusTemplateMappings.value.find( - (m) => m.csvStatus === csvStatus, - )?.mappedStatusId; - if (tplId === undefined || tplId === null) return '(未映射)'; - const name = orderStatusList.value.find((s) => s.id === tplId)?.statusName; - return name ?? '-'; -} - function mergeObsoleteSystemTargetRemind(csvList: string[]) { const allowed = new Set(uniqueStatusValues.value); const set = new Set(csvStatusesObsoleteSystemTarget.value); @@ -1196,11 +1186,6 @@ const handlePrev = () => { } }; -// 取消:回到第一步(不清空已选店铺与映射,与原先关闭弹窗行为一致) -const handleCancel = () => { - currentStep.value = 0; -}; - // 创建导入任务 const handleCreateTask = async () => { if (!selectedFile.value) { @@ -1536,22 +1521,6 @@ const shopOptions = computed(() => { 已变更 -
- 模板原文件列: - {{ - currentTemplateMappings.find( - (m) => m.fieldName === fieldDef.fieldName, - )?.fileFieldName || '(未映射)' - }} -
{ 原系统状态已删除
-
- 模板原系统状态: - {{ getTemplateOriginalMappedLabel(statusValue) }} -
@@ -1912,28 +1869,25 @@ const shopOptions = computed(() => {
- -
- - - -
+ + +