From 2fc928c582961b78e215b145a4edf98d3cdca2f4 Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期一, 06 五月 2024 21:00:46 +0800
Subject: [PATCH] 工艺路线更新

---
 src/views/tigerprojects/mes/eng/route/components/FormItemProps.vue |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/views/tigerprojects/mes/eng/route/components/FormItemProps.vue b/src/views/tigerprojects/mes/eng/route/components/FormItemProps.vue
index 7bc5eb0..7fa2445 100644
--- a/src/views/tigerprojects/mes/eng/route/components/FormItemProps.vue
+++ b/src/views/tigerprojects/mes/eng/route/components/FormItemProps.vue
@@ -22,7 +22,7 @@
           :readonly="true"
         />
       </FormItem>
-      <FormItem label="宸ユ" name="鑺傜偣鍚嶇О">
+      <FormItem label="宸ユ" name="宸ユ">
         <Input
           :style="{ width: '100%' }"
           v-model:value="routeConfig.currentItem.SEGMENT"
@@ -87,6 +87,7 @@
       () => routeConfig.canSkip,
       () => routeConfig.isInput,
       () => routeConfig.isOutput,
+      () => routeConfig.currentItem,
     ],
     (newVal, oldVal) => {
       routeConfig.routeData.nodes.forEach((r) => {
@@ -103,6 +104,8 @@
           if (oldVal[3] != newVal[3] && !isNullOrUnDef(oldVal[3])) {
             r.IS_OUTPUT = newVal[3] ? 'Y' : 'N';
           }
+          r.IS_ACTIVE = newVal[4].IS_ACTIVE;
+          r.SEGMENT = newVal[4].SEGMENT;
         }
       });
     },

--
Gitblit v1.9.3