diff --git a/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/order-import/components/CreateImportTaskModal.vue b/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/order-import/components/CreateImportTaskModal.vue index 4aecde51..17b22f95 100644 --- a/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/order-import/components/CreateImportTaskModal.vue +++ b/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/order-import/components/CreateImportTaskModal.vue @@ -1111,7 +1111,7 @@ const shopOptions = computed(() => {
加载中...
-
+
暂无数据
@@ -1131,7 +1131,7 @@ const shopOptions = computed(() => {
-
+
请为每个订单字段选择对应的CSV列,必填字段必须绑定
@@ -1148,7 +1148,7 @@ const shopOptions = computed(() => {
加载中...
-
+
暂无模板
@@ -1158,7 +1158,7 @@ const shopOptions = computed(() => { :value="template.id" > {{ template.name }} - + ({{ new Date(template.createTime).toLocaleDateString() }}) @@ -1177,10 +1177,10 @@ const shopOptions = computed(() => { :key="fieldDef.id" class="flex items-center space-x-4 rounded border p-3" :class="{ - 'border-red-300 bg-red-50': + 'border-red-300 dark:border-red-700 bg-red-50 dark:bg-red-900/30': fieldDef.required && !fieldMappings[fieldDef.id]?.mappedHeader, - 'border-blue-200 bg-blue-50': isMappingFromTemplate(fieldDef.id), - 'border-yellow-200 bg-yellow-50': isMappingChangedFromTemplate( + 'border-blue-200 dark:border-blue-700 bg-blue-50 dark:bg-blue-900/30': isMappingFromTemplate(fieldDef.id), + 'border-yellow-200 dark:border-yellow-700 bg-yellow-50 dark:bg-yellow-900/30': isMappingChangedFromTemplate( fieldDef.id, ), }" @@ -1188,14 +1188,14 @@ const shopOptions = computed(() => {
{{ fieldDef.fieldLabel }} - + (必填) 模板映射 @@ -1204,12 +1204,12 @@ const shopOptions = computed(() => { selectedTemplateId && isMappingChangedFromTemplate(fieldDef.id) " - class="ml-1 rounded bg-yellow-100 px-1.5 py-0.5 text-xs text-yellow-600" + class="ml-1 rounded bg-yellow-100 dark:bg-yellow-900/50 px-1.5 py-0.5 text-xs text-yellow-600 dark:text-yellow-300" > 已变更
-
+
字段名: {{ fieldDef.fieldName }}
{ (m) => m.fieldName === fieldDef.fieldName, ) " - class="mt-1 text-xs text-gray-400" + class="mt-1 text-xs text-gray-400 dark:text-gray-500 dark:text-gray-400" > 模板原映射: {{ @@ -1262,7 +1262,7 @@ const shopOptions = computed(() => {
-
+
请为每个订单状态值映射到对应的系统订单状态(可选,可不映射)
@@ -1279,7 +1279,7 @@ const shopOptions = computed(() => {
加载中...
-
+
暂无模板
@@ -1289,7 +1289,7 @@ const shopOptions = computed(() => { :value="template.id" > {{ template.name }} - + ({{ new Date(template.createTime).toLocaleDateString() }}) @@ -1304,7 +1304,7 @@ const shopOptions = computed(() => {
未找到订单状态字段映射,请先在字段映射步骤中绑定status字段
@@ -1314,10 +1314,10 @@ const shopOptions = computed(() => { :key="statusValue" class="flex items-center space-x-4 rounded border p-3" :class="{ - 'border-blue-200 bg-blue-50': + 'border-blue-200 dark:border-blue-700 bg-blue-50 dark:bg-blue-900/30': selectedStatusTemplateId && isStatusMappingFromTemplate(statusValue), - 'border-yellow-200 bg-yellow-50': + 'border-yellow-200 dark:border-yellow-700 bg-yellow-50 dark:bg-yellow-900/30': selectedStatusTemplateId && isStatusMappingChangedFromTemplate(statusValue), }" @@ -1330,7 +1330,7 @@ const shopOptions = computed(() => { selectedStatusTemplateId && isStatusMappingFromTemplate(statusValue) " - class="ml-1 rounded bg-blue-100 px-1.5 py-0.5 text-xs text-blue-600" + class="ml-1 rounded bg-blue-100 dark:bg-blue-900/50 px-1.5 py-0.5 text-xs text-blue-600 dark:text-blue-400" > 模板映射 @@ -1339,12 +1339,12 @@ const shopOptions = computed(() => { selectedStatusTemplateId && isStatusMappingChangedFromTemplate(statusValue) " - class="ml-1 rounded bg-yellow-100 px-1.5 py-0.5 text-xs text-yellow-600" + class="ml-1 rounded bg-yellow-100 dark:bg-yellow-900/50 px-1.5 py-0.5 text-xs text-yellow-600 dark:text-yellow-300" > 已变更
-
CSV中的订单状态值
+
CSV中的订单状态值
模板原映射: {{ @@ -1400,16 +1400,16 @@ const shopOptions = computed(() => {
-
+
店铺信息
-
+
{{ shopList.find((s: ShopVO.Info) => s.id === selectedShopId) ?.name ?? '-' }}
-
+
字段映射
{ :key="mapping.fieldDef.id" class="flex justify-between text-sm" > - + {{ mapping.fieldDef.fieldLabel }}: {{ mapping.mappedHeader }}
-
+
订单状态映射
{ :key="statusValue" class="flex justify-between text-sm" > - {{ statusValue }}: + {{ statusValue }}: {{ orderStatusList.find( diff --git a/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/order/index.vue b/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/order/index.vue index 2e275aad..6d4c4216 100644 --- a/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/order/index.vue +++ b/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/order/index.vue @@ -394,6 +394,9 @@ const formOptions = computed(() => ({ component: 'Input', componentProps: { placeholder: '请输入平台订单号(回车搜索)', + onChange: (e: any) => { + searchForm.value.platformOrderNo = e.target.value; + }, onPressEnter: () => gridReloadRef.value?.(), }, fieldName: 'platformOrderNo',