From 445c94fff7314979767a0890511a3aa978f7b744 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 24 八月 2026 14:18:14 +0800
Subject: [PATCH] fix: MOM 1.工艺路线工序设置弹框字段提示

---
 src/views/mes/pro/route/data.ts                             |    9 +++++++++
 src/views/mes/pro/workorder/modules/process-form.vue        |   11 ++++++++++-
 src/views/mes/pro/route/modules/process-form.vue            |    2 +-
 src/views/mes/process-design/route/data.ts                  |    9 +++++++++
 src/views/mes/process-design/route/modules/process-form.vue |    2 +-
 5 files changed, 30 insertions(+), 3 deletions(-)

diff --git a/src/views/mes/pro/route/data.ts b/src/views/mes/pro/route/data.ts
index d59d436..0ad7caa 100644
--- a/src/views/mes/pro/route/data.ts
+++ b/src/views/mes/pro/route/data.ts
@@ -219,6 +219,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'),
diff --git a/src/views/mes/pro/route/modules/process-form.vue b/src/views/mes/pro/route/modules/process-form.vue
index b742c63..6dcab06 100644
--- a/src/views/mes/pro/route/modules/process-form.vue
+++ b/src/views/mes/pro/route/modules/process-form.vue
@@ -31,7 +31,7 @@
   commonConfig: {
     componentProps: { class: 'w-full' },
     formItemClass: 'col-span-1',
-    labelWidth: 130,
+    labelWidth: 150,
   },
   layout: 'horizontal',
   schema: [],
diff --git a/src/views/mes/pro/workorder/modules/process-form.vue b/src/views/mes/pro/workorder/modules/process-form.vue
index bdbdcaa..bbe10c0 100644
--- a/src/views/mes/pro/workorder/modules/process-form.vue
+++ b/src/views/mes/pro/workorder/modules/process-form.vue
@@ -2,7 +2,7 @@
 import type { VbenFormSchema } from '#/adapter/form';
 import type { MesProWorkOrderProcessApi } from '#/api/mes/pro/workorder/process';
 
-import { computed, ref } from 'vue';
+import { computed, h, ref } from 'vue';
 
 import { useVbenModal } from '@vben/common-ui';
 
@@ -91,6 +91,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: [
diff --git a/src/views/mes/process-design/route/data.ts b/src/views/mes/process-design/route/data.ts
index 941a2be..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"),
diff --git a/src/views/mes/process-design/route/modules/process-form.vue b/src/views/mes/process-design/route/modules/process-form.vue
index b742c63..6dcab06 100644
--- a/src/views/mes/process-design/route/modules/process-form.vue
+++ b/src/views/mes/process-design/route/modules/process-form.vue
@@ -31,7 +31,7 @@
   commonConfig: {
     componentProps: { class: 'w-full' },
     formItemClass: 'col-span-1',
-    labelWidth: 130,
+    labelWidth: 150,
   },
   layout: 'horizontal',
   schema: [],

--
Gitblit v1.9.3