From 452e5c5e9a340367c8fdb14b0bdecc96dcb29491 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期三, 19 八月 2026 11:01:28 +0800
Subject: [PATCH] fix(router): 更新一袋一码首页路由标题
---
src/views/mes/dv/machinery/data.ts | 33 +++++++++++++++++++++++++++++----
1 files changed, 29 insertions(+), 4 deletions(-)
diff --git a/src/views/mes/dv/machinery/data.ts b/src/views/mes/dv/machinery/data.ts
index 47f66c5..8b39782 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';
@@ -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