From 1498eff8df14d0c4963fa32745ecb2a495eac3cb Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期二, 04 八月 2026 09:38:26 +0800
Subject: [PATCH] refactor(srm): 重构供应商证书字段命名并修复表单依赖逻辑

---
 src/views/mes/dv/machinery/data.ts |   29 +++++++++++++++++++++++++++--
 1 files changed, 27 insertions(+), 2 deletions(-)

diff --git a/src/views/mes/dv/machinery/data.ts b/src/views/mes/dv/machinery/data.ts
index 4dbb6a0..8b39782 100644
--- a/src/views/mes/dv/machinery/data.ts
+++ b/src/views/mes/dv/machinery/data.ts
@@ -113,6 +113,29 @@
       rules: z.number().default(MesDvMachineryStatusEnum.STOP),
     },
     {
+      fieldName: 'productionEfficiency',
+      label: '鐢熶骇鏁堢巼',
+      component: 'InputNumber',
+      componentProps: {
+        class: '!w-full',
+        min: 0,
+        precision: 2,
+        placeholder: '璇疯緭鍏ョ敓浜ф晥鐜�(姣忓皬鏃�)',
+      },
+    },
+    {
+      fieldName: 'conveyorBelt',
+      label: '浼犻�佸饱甯�',
+      component: 'InputNumber',
+      componentProps: {
+        class: '!w-full',
+        min: 0,
+        precision: 0,
+        placeholder: '璇疯緭鍏ヤ紶閫佸饱甯︽暟閲�',
+      },
+      help: '2浠h〃鍙屽�嶆晥鐜�',
+    },
+    {
       fieldName: 'specification',
       label: '瑙勬牸鍨嬪彿',
       component: 'Input',
@@ -129,7 +152,7 @@
         disabled: true,
         format: 'YYYY-MM-DD HH:mm:ss',
         showTime: true,
-        valueFormat: 'x',
+        valueFormat: 'YYYY-MM-DD HH:mm:ss',
       },
       dependencies: {
         triggerFields: ['id'],
@@ -145,7 +168,7 @@
         disabled: true,
         format: 'YYYY-MM-DD HH:mm:ss',
         showTime: true,
-        valueFormat: 'x',
+        valueFormat: 'YYYY-MM-DD HH:mm:ss',
       },
       dependencies: {
         triggerFields: ['id'],
@@ -233,6 +256,8 @@
         props: { type: DICT_TYPE.MES_DV_MACHINERY_STATUS },
       },
     },
+    { field: 'productionEfficiency', title: '鐢熶骇鏁堢巼(/h)', width: 120 },
+    { field: 'conveyorBelt', title: '浼犻�佸饱甯�', width: 100 },
     {
       field: 'lastCheckTime',
       title: '鏈�杩戠偣妫�鏃堕棿',

--
Gitblit v1.9.3