@@ -430,6 +430,11 @@
methods: {
open(row) {
this.searchObj = row;
+
+ if (Object.prototype.hasOwnProperty.call(row, 'bomType')) {
+ this.currentNodeData.bomType = row.bomType;
+ }
this.drawer = true;
this.getTreeData();
this.getVersion();
@@ -290,7 +290,8 @@
versions: row.versions,
rootPathIdParent: row.categoryLevelPathIdParent,
isProduct:true,
- isTemp: 1
+ bomType: Number(this.activeName),
+ isTemp: row.isTemp
};
this.$refs.bomDrawer.open(rowData);