From 97b2e606968fbe7a55df1173f52edc7e11ccfd12 Mon Sep 17 00:00:00 2001
From: xiaoyi <908147524@qq.com>
Date: 星期一, 24 八月 2026 10:32:09 +0800
Subject: [PATCH] fix 修改页面
---
src/views/mes/dv/machinery/data.ts | 33 ++++++++++++---------------------
1 files changed, 12 insertions(+), 21 deletions(-)
diff --git a/src/views/mes/dv/machinery/data.ts b/src/views/mes/dv/machinery/data.ts
index 5be398e..ddacc2f 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';
@@ -76,6 +76,15 @@
rules: 'required',
},
{
+ fieldName: 'tbDeviceId',
+ label: '鏁伴噰璁惧ID',
+ component: 'Input',
+ componentProps: {
+ placeholder: '璇疯緭鍏ユ暟閲囪澶嘔D锛堝閮ㄦ暟閲� tbDeviceId锛�',
+ },
+ help: '涓庢暟閲囩郴缁熻澶嘔D瀵瑰簲锛岀敤浜庡叧鑱旇澶囧疄鏃舵暟鎹�',
+ },
+ {
fieldName: 'brand',
label: '鍝佺墝',
component: 'Input',
@@ -120,7 +129,7 @@
class: '!w-full',
min: 0,
precision: 2,
- placeholder: '璇疯緭鍏ョ敓浜ф晥鐜�(姣忓垎閽�)',
+ placeholder: '璇疯緭鍏ョ敓浜ф晥鐜�(姣忓皬鏃�)',
},
},
{
@@ -134,14 +143,6 @@
placeholder: '璇疯緭鍏ヤ紶閫佸饱甯︽暟閲�',
},
help: '2浠h〃鍙屽�嶆晥鐜�',
- },
- {
- fieldName: 'workstationId',
- label: '宸ヤ綔绔�',
- component: markRaw(MdWorkstationSelect),
- componentProps: {
- placeholder: '璇烽�夋嫨宸ヤ綔绔�',
- },
},
{
fieldName: 'specification',
@@ -236,15 +237,6 @@
placeholder: '璇烽�夋嫨璁惧鐘舵��',
},
},
- {
- fieldName: 'workstationId',
- label: '宸ヤ綔绔�',
- component: markRaw(MdWorkstationSelect),
- componentProps: {
- allowClear: true,
- placeholder: '璇烽�夋嫨宸ヤ綔绔�',
- },
- },
];
}
@@ -273,9 +265,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