From 27c8277d717b34b55f3ea967027b53b067f77df3 Mon Sep 17 00:00:00 2001
From: xiaoyi <908147524@qq.com>
Date: 星期四, 20 八月 2026 16:58:49 +0800
Subject: [PATCH] feat 功能变更

---
 src/views/mes/dv/machinery/data.ts |   42 ++++++++++++++++++++++++++++++++++++++----
 1 files changed, 38 insertions(+), 4 deletions(-)

diff --git a/src/views/mes/dv/machinery/data.ts b/src/views/mes/dv/machinery/data.ts
index 47f66c5..ddacc2f 100644
--- a/src/views/mes/dv/machinery/data.ts
+++ b/src/views/mes/dv/machinery/data.ts
@@ -8,8 +8,8 @@
   DICT_TYPE,
   MesAutoCodeRuleCode,
   MesDvMachineryStatusEnum,
-} from '..\..\..\..\packages\constants\src';
-import { getDictOptions } from '..\..\..\..\packages\effects\hooks\src';
+} from '@vben/constants';
+import { getDictOptions } from '@vben/hooks';
 
 import { Button } from 'ant-design-vue';
 
@@ -76,6 +76,15 @@
       rules: 'required',
     },
     {
+      fieldName: 'tbDeviceId',
+      label: '鏁伴噰璁惧ID',
+      component: 'Input',
+      componentProps: {
+        placeholder: '璇疯緭鍏ユ暟閲囪澶嘔D锛堝閮ㄦ暟閲� tbDeviceId锛�',
+      },
+      help: '涓庢暟閲囩郴缁熻澶嘔D瀵瑰簲锛岀敤浜庡叧鑱旇澶囧疄鏃舵暟鎹�',
+    },
+    {
       fieldName: 'brand',
       label: '鍝佺墝',
       component: 'Input',
@@ -113,6 +122,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 +161,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 +177,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 +265,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