From b2f5c965f5278a7f40d84ef88aa92fc8f8a76ca4 Mon Sep 17 00:00:00 2001
From: xiaoyi <908147524@qq.com>
Date: 星期六, 07 十一月 2026 14:27:00 +0800
Subject: [PATCH] feat: 补齐退单管理/成本分析/执行分析/远程诊断/停机报表/风险监测前端

---
 src/views/basicData/mdm/data.ts |   80 +++++++++++++++++++++------------------
 1 files changed, 43 insertions(+), 37 deletions(-)

diff --git a/src/views/basicData/mdm/data.ts b/src/views/basicData/mdm/data.ts
index ca625c3..b351a85 100644
--- a/src/views/basicData/mdm/data.ts
+++ b/src/views/basicData/mdm/data.ts
@@ -289,6 +289,18 @@
       },
     },
     {
+      component: 'InputNumber',
+      fieldName: 'leadTime',
+      label: '閲囪喘鎻愬墠鏈燂紙澶╋級',
+      componentProps: { class: '!w-full', min: 0, precision: 0, placeholder: '璇疯緭鍏ラ噰璐彁鍓嶆湡' },
+    },
+    {
+      component: 'InputNumber',
+      fieldName: 'outsourceLeadTime',
+      label: '澶栧崗鎻愬墠鏈燂紙澶╋級',
+      componentProps: { class: '!w-full', min: 0, precision: 0, placeholder: '璇疯緭鍏ュ鍗忔彁鍓嶆湡' },
+    },
+    {
       component: "InputNumber",
       fieldName: "minStock",
       label: "鏈�浣庡簱瀛�",
@@ -551,52 +563,46 @@
       title: "鍗曚綅",
       minWidth: 80,
     },
-    {
-      field: "unitMeasureName2",
-      title: "杈呭崟浣�1",
-      minWidth: 80,
-    },
-    {
-      field: "unitMeasureRate1",
-      title: "杈呭崟浣�1鎹㈢畻姣旂巼",
-      minWidth: 130,
-    },
-    {
-      field: "unitMeasureName3",
-      title: "杈呭崟浣�2",
-      minWidth: 80,
-    },
-    {
-      field: "unitMeasureRate2",
-      title: "杈呭崟浣�2鎹㈢畻姣旂巼",
-      minWidth: 130,
-    },
+    // 杈呭崟浣�1/杈呭崟浣�1鎹㈢畻姣旂巼/杈呭崟浣�2/杈呭崟浣�2鎹㈢畻姣旂巼锛氱墿鏂欏垪琛ㄤ笉鍐嶅睍绀猴紙琛ㄥ崟閲屼粛鍙淮鎶わ級锛岄渶瑕佹仮澶嶅氨鍙栨秷娉ㄩ噴
+    // {
+    //   field: "unitMeasureName2",
+    //   title: "杈呭崟浣�1",
+    //   minWidth: 80,
+    // },
+    // {
+    //   field: "unitMeasureRate1",
+    //   title: "杈呭崟浣�1鎹㈢畻姣旂巼",
+    //   minWidth: 130,
+    // },
+    // {
+    //   field: "unitMeasureName3",
+    //   title: "杈呭崟浣�2",
+    //   minWidth: 80,
+    // },
+    // {
+    //   field: "unitMeasureRate2",
+    //   title: "杈呭崟浣�2鎹㈢畻姣旂巼",
+    //   minWidth: 130,
+    // },
     {
       field: "warehouseName",
       title: "榛樿浠撳簱",
       minWidth: 100,
     },
-    {
-      field: "purchasePrice",
-      title: "閲囪喘浠�",
-      minWidth: 100,
-      formatter: ({ cellValue }) => {
-        return cellValue != null ? `楼${Number(cellValue).toFixed(2)}` : "";
-      },
-    },
-    {
-      field: "salesPrice",
-      title: "閿�鍞环",
-      minWidth: 100,
-      formatter: ({ cellValue }) => {
-        return cellValue != null ? `楼${Number(cellValue).toFixed(2)}` : "";
-      },
-    },
+    // 閿�鍞环锛氱墿鏂欏垪琛ㄤ笉鍐嶅睍绀猴紝闇�瑕佹仮澶嶅氨鍙栨秷娉ㄩ噴
+    // {
+    //   field: "salesPrice",
+    //   title: "閿�鍞环",
+    //   minWidth: 100,
+    //   formatter: ({ cellValue }) => {
+    //     return cellValue != null ? `楼${Number(cellValue).toFixed(2)}` : "";
+    //   },
+    // },
     {
       field: "createTime",
       title: "鍒涘缓鏃堕棿",
       minWidth: 180,
-      formatter: "formatDateTime",
+      formatter: 'formatDate',
     },
     {
       field: "isBatchManaged",

--
Gitblit v1.9.3