ysy 1 yıl önce
ebeveyn
işleme
c2919acca6

+ 2 - 1
src/views/material/BOMmanage/details.vue

@@ -218,8 +218,9 @@
         this.versions = this.$route.query.versions;
         this.categoryId = this.$route.query.categoryId;
         this.noBack = this.$route.query.noBack;
+
         (this.currentNodeData = {
-          bomType: 1,
+          bomType:  this.$route.query.bType || 1,
           children: []
         }),
           this.getTreeData();

+ 1 - 1
src/views/material/BOMmanage/index.vue

@@ -177,7 +177,7 @@
       handelDetail(row, noBack) {
         this.$router.push({
           path: '/material/BOMmanage/details',
-          query: { versions: row.versions, categoryId: row.categoryId, noBack }
+          query: { versions: row.versions, categoryId: row.categoryId, noBack, bType:this.activeName }
         });
       },
       /* 刷新表格 */