Ben Lin
2024-05-06 2fc928c582961b78e215b145a4edf98d3cdca2f4
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;
        }
      });
    },