|
@ -243,7 +243,8 @@ |
|
|
title: '加载中', |
|
|
title: '加载中', |
|
|
mask: true |
|
|
mask: true |
|
|
}) |
|
|
}) |
|
|
getBalanceByManagementPrecision(result.label, that.fromLocationCode, that.fromInventoryStatuses, balanceRes => { |
|
|
getBalanceByManagementPrecision(result.label, that.fromLocationCode, that.fromInventoryStatuses, |
|
|
|
|
|
balanceRes => { |
|
|
if (balanceRes.success) { |
|
|
if (balanceRes.success) { |
|
|
if (balanceRes.data.list.length == 0) { |
|
|
if (balanceRes.data.list.length == 0) { |
|
|
this.showErrorMessage('在来源库位[' + this.fromLocationCode + '],未查找到该包装的库存记录', |
|
|
this.showErrorMessage('在来源库位[' + this.fromLocationCode + '],未查找到该包装的库存记录', |
|
@ -368,7 +369,8 @@ |
|
|
itemCode: label.itemCode, |
|
|
itemCode: label.itemCode, |
|
|
packingNumber: label.packingNumber, |
|
|
packingNumber: label.packingNumber, |
|
|
batch: label.batch, |
|
|
batch: label.batch, |
|
|
qty: Number(label.qty)>Number(balance.qty)?Number(balance.qty):Number(label.qty), |
|
|
qty: Number(balance.qty), |
|
|
|
|
|
// qty: Number(label.qty)>Number(balance.qty)?Number(balance.qty):Number(label.qty), |
|
|
uom: balance.uom, |
|
|
uom: balance.uom, |
|
|
inventoryStatus: balance.inventoryStatus, |
|
|
inventoryStatus: balance.inventoryStatus, |
|
|
balance: balance, |
|
|
balance: balance, |
|
|