@@ -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();
@@ -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 }
});
},
/* 刷新表格 */