From 852e0f0918dc58b616cc81702efbfde3940866bb Mon Sep 17 00:00:00 2001
From: bsw215583320 <baoshiwei121@163.com>
Date: 星期二, 16 四月 2024 14:50:43 +0800
Subject: [PATCH] 增加生产分支

---
 src/views/dry/dataDefine/DryEqpType.data.ts |   54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 54 insertions(+), 0 deletions(-)

diff --git a/src/views/dry/dataDefine/DryEqpType.data.ts b/src/views/dry/dataDefine/DryEqpType.data.ts
index bfdd10e..c7bbc49 100644
--- a/src/views/dry/dataDefine/DryEqpType.data.ts
+++ b/src/views/dry/dataDefine/DryEqpType.data.ts
@@ -12,6 +12,21 @@
 		align: 'center',
 		dataIndex: 'name',
 	},
+	{
+		title: '骞茬嚗鏁堢巼',
+		align: 'center',
+		dataIndex: 'dryEfficiency',
+	},
+	{
+		title: '钂告苯鍧囪��',
+		align: 'center',
+		dataIndex: 'steamConsumption',
+	},
+	{
+		title: '鐢佃兘鍧囪��',
+		align: 'center',
+		dataIndex: 'powerConsumption',
+	},
 ]
 //鏌ヨ鏁版嵁
 export const searchFormSchema: FormSchema[] = [
@@ -46,6 +61,45 @@
 			return [{ required: true, message: '璇疯緭鍏ュ悕绉�!' }, { ...rules.duplicateCheckRule('dry_eqp_type', 'name', model, schema)[0] }]
 		},
 	},
+	{
+		label: '骞茬嚗鏁堢巼',
+		field: 'dryEfficiency',
+		component: 'Input',
+		dynamicRules: ({ model, schema }) => {
+			return [{ required: false }, { pattern: /^-?\d+\.?\d*$/, message: '璇疯緭鍏ユ暟瀛�!' }]
+		},
+		renderComponentContent: () => {
+			return {
+				suffix: () => 'kg/h',
+			}
+		},
+	},
+	{
+		label: '钂告苯鍧囪��',
+		field: 'steamConsumption',
+		component: 'Input',
+		dynamicRules: ({ model, schema }) => {
+			return [{ required: false }, { pattern: /^-?\d+\.?\d*$/, message: '璇疯緭鍏ユ暟瀛�!' }]
+		},
+		renderComponentContent: () => {
+			return {
+				suffix: () => 'm鲁/kg',
+			}
+		},
+	},
+	{
+		label: '鐢佃兘鍧囪��',
+		field: 'powerConsumption',
+		component: 'Input',
+		dynamicRules: ({ model, schema }) => {
+			return [{ required: false }, { pattern: /^-?\d+\.?\d*$/, message: '璇疯緭鍏ユ暟瀛�!' }]
+		},
+		renderComponentContent: () => {
+			return {
+				suffix: () => 'KWh/kg',
+			}
+		},
+	},
 	// TODO 涓婚敭闅愯棌瀛楁锛岀洰鍓嶅啓姝讳负ID
 	{
 		label: '',

--
Gitblit v1.9.3