|
@ -220,7 +220,7 @@ const searchTableSuccess = async (formField, searchField, val, formRef, type, ro |
|
|
row['bomVersion'] = res.list[0].version |
|
|
row['bomVersion'] = res.list[0].version |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
}else{ |
|
|
}else if(formField == 'productionLineCode'){ |
|
|
//添加明细 |
|
|
//添加明细 |
|
|
val.forEach(item=>{ |
|
|
val.forEach(item=>{ |
|
|
const newRow = JSON.parse(JSON.stringify({...tableFormKeys,...item})) |
|
|
const newRow = JSON.parse(JSON.stringify({...tableFormKeys,...item})) |
|
@ -228,6 +228,9 @@ const searchTableSuccess = async (formField, searchField, val, formRef, type, ro |
|
|
newRow[formField] = item[searchField] |
|
|
newRow[formField] = item[searchField] |
|
|
tableData.value.push(newRow) |
|
|
tableData.value.push(newRow) |
|
|
}) |
|
|
}) |
|
|
|
|
|
}else{ |
|
|
|
|
|
row[formField] = val[0][searchField] |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
} else { |
|
|
} else { |
|
|
const setV = {} |
|
|
const setV = {} |
|
|