|
|
@ -127,6 +127,12 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => |
|
|
|
// 获取子表数据 getBomDisassemble |
|
|
|
DeliverRecordDetailApi.getDeliverRecordDetailPage({masterId:val[0]['id']}) |
|
|
|
.then(res => { |
|
|
|
res.list.forEach(obj => { |
|
|
|
let value = null |
|
|
|
value = obj.fromLocationCode |
|
|
|
obj.fromLocationCode = obj.toLocationCode |
|
|
|
obj.toLocationCode = value |
|
|
|
}) |
|
|
|
console.log(555,res) |
|
|
|
if (res) tableData.value = res.list |
|
|
|
}).catch(err => { |
|
|
|