|
|
@@ -1253,7 +1253,6 @@
|
|
|
);
|
|
|
},
|
|
|
determineChoose(title, row, idx) {
|
|
|
- console.log('111111111111111');
|
|
|
let type = '';
|
|
|
if (this.activeName === '材料定额') {
|
|
|
type = 'materialQuota';
|
|
|
@@ -1262,6 +1261,7 @@
|
|
|
}
|
|
|
|
|
|
if (title == '选择物料') {
|
|
|
+ console.log(row, 'row');
|
|
|
this.$set(
|
|
|
this.tableData.taskParam[this.currentIndex][type][idx],
|
|
|
'categoryName',
|
|
|
@@ -1302,6 +1302,17 @@
|
|
|
'rootCategoryLevelId',
|
|
|
row.categoryLevelPathIdParent
|
|
|
);
|
|
|
+ this.$set(
|
|
|
+ this.tableData.taskParam[this.currentIndex][type][idx],
|
|
|
+ 'specification',
|
|
|
+ row.specification
|
|
|
+ );
|
|
|
+
|
|
|
+ this.$set(
|
|
|
+ this.tableData.taskParam[this.currentIndex][type][idx],
|
|
|
+ 'id',
|
|
|
+ row.id
|
|
|
+ );
|
|
|
}
|
|
|
},
|
|
|
uploadedSuccess(data, row) {
|
|
|
@@ -1481,8 +1492,8 @@
|
|
|
unit: '',
|
|
|
rootCategoryLevelId: '',
|
|
|
categoryCode: '',
|
|
|
- id: '',
|
|
|
- specification: ''
|
|
|
+ specification: '',
|
|
|
+ id: ''
|
|
|
});
|
|
|
},
|
|
|
/* 表格数据源 */
|