|
|
@@ -233,7 +233,7 @@ export default {
|
|
|
/*配置工艺参数 */
|
|
|
openSetting(row) {
|
|
|
this.current = row;
|
|
|
- this.$refs.paramRefs.open(this.tableData, this.current)
|
|
|
+ this.$refs.paramRefs.open(row.produceList, this.current)
|
|
|
},
|
|
|
|
|
|
/* 表格数据源 */
|
|
|
@@ -253,6 +253,7 @@ export default {
|
|
|
},
|
|
|
|
|
|
chooseModal(data, current) {
|
|
|
+
|
|
|
data.map((m => {
|
|
|
m.parentId = current.id
|
|
|
return {
|
|
|
@@ -262,10 +263,13 @@ export default {
|
|
|
|
|
|
let tableList = []
|
|
|
tableList = this.$refs.table.getData()
|
|
|
+ console.log(tableList)
|
|
|
|
|
|
tableList.forEach(e => {
|
|
|
if (e.id == current.id) {
|
|
|
+ console.log(e)
|
|
|
e.produceList = data
|
|
|
+
|
|
|
}
|
|
|
})
|
|
|
|