From a4025834e2304dc57f6e98d58feeb9416bd90609 Mon Sep 17 00:00:00 2001
From: xiaoyi <908147524@qq.com>
Date: 星期四, 20 八月 2026 14:10:49 +0800
Subject: [PATCH] feat 功能变更
---
src/views/mes/dv/machinery/data.ts | 34 ++++++++++++++++++++++++++++++++++
1 files changed, 34 insertions(+), 0 deletions(-)
diff --git a/src/views/mes/dv/machinery/data.ts b/src/views/mes/dv/machinery/data.ts
index ef002c5..ddacc2f 100644
--- a/src/views/mes/dv/machinery/data.ts
+++ b/src/views/mes/dv/machinery/data.ts
@@ -76,6 +76,15 @@
rules: 'required',
},
{
+ fieldName: 'tbDeviceId',
+ label: '鏁伴噰璁惧ID',
+ component: 'Input',
+ componentProps: {
+ placeholder: '璇疯緭鍏ユ暟閲囪澶嘔D锛堝閮ㄦ暟閲� tbDeviceId锛�',
+ },
+ help: '涓庢暟閲囩郴缁熻澶嘔D瀵瑰簲锛岀敤浜庡叧鑱旇澶囧疄鏃舵暟鎹�',
+ },
+ {
fieldName: 'brand',
label: '鍝佺墝',
component: 'Input',
@@ -111,6 +120,29 @@
options: getDictOptions(DICT_TYPE.MES_DV_MACHINERY_STATUS, 'number'),
},
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',
@@ -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