From b7eb1da8220f5b72f6891c3c6471ca386604cce4 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期三, 19 八月 2026 10:38:21 +0800
Subject: [PATCH] feat(dashboard): 添加一袋一码首页并重构相关枚举常量

---
 src/views/erp/sale/order/data.ts |   21 ++++++---------------
 1 files changed, 6 insertions(+), 15 deletions(-)

diff --git a/src/views/erp/sale/order/data.ts b/src/views/erp/sale/order/data.ts
index 75bb9de..9597b94 100644
--- a/src/views/erp/sale/order/data.ts
+++ b/src/views/erp/sale/order/data.ts
@@ -72,7 +72,7 @@
         placeholder: '閫夋嫨璁㈠崟鏃堕棿',
         showTime: true,
         format: 'YYYY-MM-DD HH:mm:ss',
-        valueFormat: 'x',
+        valueFormat: 'YYYY-MM-DD HH:mm:ss',
       },
       rules: 'required',
     },
@@ -216,6 +216,7 @@
       title: '搴撳瓨',
       minWidth: 80,
       formatter: 'formatAmount3',
+      visible: false,
     },
     {
       field: 'productUnitName',
@@ -226,11 +227,13 @@
       field: 'productUnitName2',
       title: '杈呭崟浣�1',
       minWidth: 80,
+      visible: false,
     },
     {
       field: 'productUnitName3',
       title: '杈呭崟浣�2',
       minWidth: 80,
+      visible: false,
     },
     {
       field: 'needProduction',
@@ -243,6 +246,7 @@
       title: '澶囨敞',
       minWidth: 150,
       slots: { default: 'remark' },
+      visible: false,
     },
     {
       field: 'count',
@@ -399,24 +403,11 @@
       component: 'Select',
       componentProps: {
         options: [
+          { label: '鏃犻渶鐢熶骇', value: -1 },
           { label: '鏈畬鎴�', value: 0 },
           { label: '宸插畬鎴�', value: 1 },
         ],
         placeholder: '璇烽�夋嫨鐢熶骇鐘舵��',
-        allowClear: true,
-      },
-    },
-    {
-      fieldName: 'returnStatus',
-      label: '閫�璐х姸鎬�',
-      component: 'Select',
-      componentProps: {
-        options: [
-          { label: '鏈��璐�', value: 0 },
-          { label: '閮ㄥ垎閫�璐�', value: 1 },
-          { label: '鍏ㄩ儴閫�璐�', value: 2 },
-        ],
-        placeholder: '璇烽�夋嫨閫�璐х姸鎬�',
         allowClear: true,
       },
     },

--
Gitblit v1.9.3