|
|
@ -344,7 +344,7 @@ |
|
|
|
var pack = result.package |
|
|
|
var batch = result.label.batch |
|
|
|
var inventoryStatus = result.balance ? result.balance.inventoryStatus : "OK" |
|
|
|
var qty = result.balance ? result.balance.qty : 0; |
|
|
|
var qty = result.balance ? result.balance.qty : result.label.qty; |
|
|
|
|
|
|
|
//按物料、箱码、批次、状态匹配 |
|
|
|
let items = this.allDetails.filter(r => |
|
|
@ -392,6 +392,7 @@ |
|
|
|
selectItem.handleQty = Number(qty) |
|
|
|
selectItem.packQty = pack.packQty |
|
|
|
selectItem.packUnit = pack.packUnit |
|
|
|
selectItem.parentPackingNumber =pack.parentPackingNumber |
|
|
|
selectItem.locationCode =this.fromLocationCode |
|
|
|
selectItem.fromLocationCode =this.fromLocationCode |
|
|
|
|
|
|
@ -463,7 +464,7 @@ |
|
|
|
uom: pack.uom, |
|
|
|
number: pack.number, |
|
|
|
remark: "", |
|
|
|
countQty: 0, |
|
|
|
countQty: Number(qty), |
|
|
|
balanceQty: Number(qty), |
|
|
|
fromLocationCode: this.fromLocationCode, |
|
|
|
locationCode:this.fromLocationCode, |
|
|
|