Эх сурвалжийг харах

fix(生产订单): 根据路由参数设置默认标签页

liujt 2 сар өмнө
parent
commit
6dcc570fd9

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

@@ -888,6 +888,10 @@
       }
     },
     created() {
+      const isWt = this.$route.query?.isWt;
+      if (isWt) {
+        this.tabValue = '1';
+      }
       this.getFieldModel();
     },
     mounted() {