Commit b13de661 authored by jingnan's avatar jingnan 👀

退库入库编辑明细字段修改

parent 3d1ef966
...@@ -109,6 +109,16 @@ export default { ...@@ -109,6 +109,16 @@ export default {
if (val && val.id) { if (val && val.id) {
if (this.basicData.inStorageRequestItems) { if (this.basicData.inStorageRequestItems) {
this.tableData = this.basicData.inStorageRequestItems.map(item => { this.tableData = this.basicData.inStorageRequestItems.map(item => {
if (item.backItem) {
item.backAmount = item.backItem.backAmount
item.backedAmount = item.backItem.backedAmount
item.outsideAmount = item.backItem.outsideAmount
item.scrapCount = item.backItem.scrapCount
if (item.backItem.inventory) {
item.testNo = item.backItem.inventory.testNo
item.suppname = item.backItem.inventory.suppname
}
}
return item return item
}) })
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment