Parcourir la source

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

liujt il y a 2 mois
Parent
commit
6dcc570fd9
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 4 0
      src/views/produceOrder/index.vue

+ 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() {