|
|
@ -152,6 +152,9 @@ |
|
|
|
let balance = result.balance; |
|
|
|
let label = result.label; |
|
|
|
let pack = result.package; |
|
|
|
let poLine =label.poLine; |
|
|
|
let poNumber =label.poNumber; |
|
|
|
let supplierCode=label.supplierCode; |
|
|
|
var item = this.detailSource.find(res => { |
|
|
|
if (res.itemCode == balance.itemCode) { |
|
|
|
return res |
|
|
@ -167,6 +170,10 @@ |
|
|
|
let newDetail = createDetailInfo(balance, pack); // |
|
|
|
newDetail.toLocationCode = toLocation.locationCode; |
|
|
|
newDetail.toWarehouseCode = toLocation.toWarehouseCode; |
|
|
|
newDetail.poLine=poLine; |
|
|
|
newDetail.poNumber=poNumber; |
|
|
|
newDetail.supplierCode=supplierCode; |
|
|
|
|
|
|
|
itemp.subList.push(newDetail); |
|
|
|
this.detailSource.push(itemp) |
|
|
|
calcHandleQty(this.detailSource); |
|
|
@ -186,6 +193,9 @@ |
|
|
|
let newDetail = createDetailInfo(balance, pack); |
|
|
|
newDetail.toLocationCode = toLocation.locationCode; |
|
|
|
newDetail.toWarehouseCode = toLocation.toWarehouseCode; |
|
|
|
newDetail.poLine=poLine; |
|
|
|
newDetail.poNumber=poNumber; |
|
|
|
newDetail.supplierCode=supplierCode; |
|
|
|
item.subList.push(newDetail); |
|
|
|
calcHandleQty(this.detailSource); |
|
|
|
}); |
|
|
|