Browse Source

Merge branch 'dev' of http://110.41.163.243:9980/kd-aiot/kd-aiot-frontend-mes into dengfei

695593266@qq.com 2 months ago
parent
commit
320c046490
1 changed files with 11 additions and 0 deletions
  1. 11 0
      src/views/produceOrder/index.vue

+ 11 - 0
src/views/produceOrder/index.vue

@@ -937,8 +937,19 @@
     },
     created() {
       const isWt = this.$route.query?.isWt;
+      
       if (isWt) {
         this.tabValue = '1';
+        this.$nextTick(() => {
+          const item = JSON.parse(this.$route.query?.item);
+          const way = this.$route.query?.way;
+          console.log(item);
+          if (way == 'todo') {
+            this.handleOrderPublish(item)
+          } else {
+            this.goDetail(item)
+          }
+        })
       }
       this.getFieldModel();
       this.getPlanDotLine();