Browse Source

更改工位任务状态

qinhb 8 months ago
parent
commit
f1b4deefc1
2 changed files with 3 additions and 2 deletions
  1. 1 0
      src/store/modules/dictionary.ts
  2. 2 2
      src/views/process/components/transferNum.vue

+ 1 - 0
src/store/modules/dictionary.ts

@@ -9,6 +9,7 @@ export const useDictionaryStore = defineStore("dictionaryStore", () => {
     "process_state",
     "outsource_state",
     "work_order_seq_state",
+    "station_task_state",
     "accessories_type",
     "danwei_type",
     "system_message_type",

+ 2 - 2
src/views/process/components/transferNum.vue

@@ -41,7 +41,7 @@
             <div
               :class="
                 dictS.getLableByValue(
-                  'work_order_seq_state',
+                  'station_task_state',
                   String(item.state)
                 ) == '完成'
                   ? 'status success'
@@ -50,7 +50,7 @@
             >
               {{
                 dictS.getLableByValue(
-                  "work_order_seq_state",
+                  "station_task_state",
                   String(item.state)
                 )
               }}