From 3f0856494e2265305b33a06d41796237c6eeda9f Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 29 七月 2026 17:45:33 +0800
Subject: [PATCH] 银川 1.生产任务 - 选工作站自动计算生产时长 2.生产流程 - 查看产品设计归档及附件

---
 src/views/mes/dv/machinery/data.ts |   24 +++---------------------
 1 files changed, 3 insertions(+), 21 deletions(-)

diff --git a/src/views/mes/dv/machinery/data.ts b/src/views/mes/dv/machinery/data.ts
index 5be398e..8b39782 100644
--- a/src/views/mes/dv/machinery/data.ts
+++ b/src/views/mes/dv/machinery/data.ts
@@ -15,7 +15,7 @@
 
 import { z } from '#/adapter/form';
 import { generateAutoCode } from '#/api/mes/md/autocode/record';
-import { MdWorkshopSelect, MdWorkstationSelect } from '#/views/mes/md/workstation/components';
+import { MdWorkshopSelect } from '#/views/mes/md/workstation/components';
 
 import { DvMachineryTypeSelect } from './type/components';
 
@@ -120,7 +120,7 @@
         class: '!w-full',
         min: 0,
         precision: 2,
-        placeholder: '璇疯緭鍏ョ敓浜ф晥鐜�(姣忓垎閽�)',
+        placeholder: '璇疯緭鍏ョ敓浜ф晥鐜�(姣忓皬鏃�)',
       },
     },
     {
@@ -134,14 +134,6 @@
         placeholder: '璇疯緭鍏ヤ紶閫佸饱甯︽暟閲�',
       },
       help: '2浠h〃鍙屽�嶆晥鐜�',
-    },
-    {
-      fieldName: 'workstationId',
-      label: '宸ヤ綔绔�',
-      component: markRaw(MdWorkstationSelect),
-      componentProps: {
-        placeholder: '璇烽�夋嫨宸ヤ綔绔�',
-      },
     },
     {
       fieldName: 'specification',
@@ -236,15 +228,6 @@
         placeholder: '璇烽�夋嫨璁惧鐘舵��',
       },
     },
-    {
-      fieldName: 'workstationId',
-      label: '宸ヤ綔绔�',
-      component: markRaw(MdWorkstationSelect),
-      componentProps: {
-        allowClear: true,
-        placeholder: '璇烽�夋嫨宸ヤ綔绔�',
-      },
-    },
   ];
 }
 
@@ -273,9 +256,8 @@
         props: { type: DICT_TYPE.MES_DV_MACHINERY_STATUS },
       },
     },
-    { field: 'productionEfficiency', title: '鐢熶骇鏁堢巼', width: 120 },
+    { field: 'productionEfficiency', title: '鐢熶骇鏁堢巼(/h)', width: 120 },
     { field: 'conveyorBelt', title: '浼犻�佸饱甯�', width: 100 },
-    { field: 'workstationName', title: '宸ヤ綔绔�', minWidth: 140 },
     {
       field: 'lastCheckTime',
       title: '鏈�杩戠偣妫�鏃堕棿',

--
Gitblit v1.9.3