|
@ -344,7 +344,7 @@ |
|
|
var pack = result.package |
|
|
var pack = result.package |
|
|
var batch = result.label.batch |
|
|
var batch = result.label.batch |
|
|
var inventoryStatus = result.balance ? result.balance.inventoryStatus : "OK" |
|
|
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 => |
|
|
let items = this.allDetails.filter(r => |
|
@ -392,6 +392,7 @@ |
|
|
selectItem.handleQty = Number(qty) |
|
|
selectItem.handleQty = Number(qty) |
|
|
selectItem.packQty = pack.packQty |
|
|
selectItem.packQty = pack.packQty |
|
|
selectItem.packUnit = pack.packUnit |
|
|
selectItem.packUnit = pack.packUnit |
|
|
|
|
|
selectItem.parentPackingNumber =pack.parentPackingNumber |
|
|
selectItem.locationCode =this.fromLocationCode |
|
|
selectItem.locationCode =this.fromLocationCode |
|
|
selectItem.fromLocationCode =this.fromLocationCode |
|
|
selectItem.fromLocationCode =this.fromLocationCode |
|
|
|
|
|
|
|
@ -463,7 +464,7 @@ |
|
|
uom: pack.uom, |
|
|
uom: pack.uom, |
|
|
number: pack.number, |
|
|
number: pack.number, |
|
|
remark: "", |
|
|
remark: "", |
|
|
countQty: 0, |
|
|
countQty: Number(qty), |
|
|
balanceQty: Number(qty), |
|
|
balanceQty: Number(qty), |
|
|
fromLocationCode: this.fromLocationCode, |
|
|
fromLocationCode: this.fromLocationCode, |
|
|
locationCode:this.fromLocationCode, |
|
|
locationCode:this.fromLocationCode, |
|
|