|
|
@@ -886,6 +886,7 @@
|
|
|
this.$refs.cBomRef.open(this.form.datasource, index);
|
|
|
},
|
|
|
getSelectionCbom(obj, idx = -1) {
|
|
|
+ console.log(obj, 'obj~~~');
|
|
|
obj.forEach((item, index) => {
|
|
|
let i = idx == -1 ? index : idx;
|
|
|
let row = JSON.parse(JSON.stringify(this.defaultForm));
|
|
|
@@ -894,7 +895,7 @@
|
|
|
this.$set(parasm, 'productId', item.categoryId);
|
|
|
// this.$set(parasm, 'id', item.id);
|
|
|
this.$set(parasm, 'categoryName', item.name);
|
|
|
- this.$set(parasm, 'productCategoryId', item.categoryLevelId);
|
|
|
+ this.$set(parasm, 'productCategoryId', item.category.categoryLevelId);
|
|
|
this.$set(parasm, 'productBrand', item.brandNum);
|
|
|
this.$set(
|
|
|
parasm,
|