From b9b476d4b4f1bf9e08b58249fb42f7b07aa3a0fa Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期三, 26 八月 2026 15:08:07 +0800
Subject: [PATCH] feat(mes): 添加工艺参数模板功能支持

---
 src/views/mes/process-design/route/data.ts |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/src/views/mes/process-design/route/data.ts b/src/views/mes/process-design/route/data.ts
index 39d5405..7990b1e 100644
--- a/src/views/mes/process-design/route/data.ts
+++ b/src/views/mes/process-design/route/data.ts
@@ -205,6 +205,15 @@
       fieldName: "linkType",
       label: "涓庝笅閬撳伐搴忓叧绯�",
       component: "Select",
+      help: () =>
+        h(
+          "div",
+          {
+            style:
+              "white-space: pre-line; max-width: 320px; line-height: 1.6;",
+          },
+          "0=寮�濮�-寮�濮�(SS)锛氭湰宸ュ簭寮�濮嬪悗锛屼笅閬撳伐搴忔墠鑳藉紑濮嬶紙鍙噸鍙犲苟琛屽紑宸ワ級\n1=缁撴潫-缁撴潫(FF)锛氫笅閬撳伐搴忓繀椤荤瓑鍒版湰宸ュ簭缁撴潫鎵嶈兘缁撴潫锛堝苟琛屼絾鍚屾瀹屽伐锛塡n2=寮�濮�-缁撴潫(SF)锛氭湰宸ュ簭寮�濮嬪悗锛屼笅閬撳伐搴忔墠鑳界粨鏉焅n3=缁撴潫-寮�濮�(FS)锛氭湰宸ュ簭缁撴潫鍚庯紝涓嬮亾宸ュ簭鎵嶈兘寮�濮嬶紙榛樿鍊硷級",
+        ),
       componentProps: {
         allowClear: true,
         options: getDictOptions(DICT_TYPE.MES_PRO_LINK_TYPE, "number"),
@@ -246,6 +255,16 @@
         unCheckedChildren: "鍚�",
       },
       rules: z.boolean().default(true),
+    },
+    {
+      fieldName: "outputItemIds",
+      label: "浜у嚭浜у搧",
+      component: markRaw(MdItemSelect),
+      componentProps: {
+        multiple: true,
+        placeholder: "鐣欑┖鍒欓粯璁や负宸ュ崟鎴愬搧",
+      },
+      formItemClass: "col-span-2",
     },
     {
       fieldName: "prepareTime",
@@ -326,6 +345,11 @@
         props: { type: DICT_TYPE.INFRA_BOOLEAN_STRING },
       },
     },
+    {
+      field: "outputItemNames",
+      title: "浜у嚭浜у搧",
+      width: 160,
+    },
     { field: "prepareTime", title: "鍑嗗鏃堕棿(鍒�)", width: 110 },
     { field: "waitTime", title: "绛夊緟鏃堕棿(鍒�)", width: 110 },
     {

--
Gitblit v1.9.3