|
@ -488,7 +488,7 @@ |
|
|
} |
|
|
} |
|
|
if (this.toLocation && result.package.packUnit) { |
|
|
if (this.toLocation && result.package.packUnit) { |
|
|
let item = this.toLocation.Items.find(r => r.itemCode == result.package.itemCode); |
|
|
let item = this.toLocation.Items.find(r => r.itemCode == result.package.itemCode); |
|
|
if(!item){ |
|
|
if (!item) { |
|
|
this.showErrorMessage('扫描物料代码不属于该任务'); |
|
|
this.showErrorMessage('扫描物料代码不属于该任务'); |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
@ -673,7 +673,7 @@ |
|
|
batch: label.batch, |
|
|
batch: label.batch, |
|
|
// qty: Number(balance.qty), |
|
|
// qty: Number(balance.qty), |
|
|
// qty: Number(label.qty) > Number(balance.qty) ? Number(balance.qty) : Number(label.qty), |
|
|
// qty: Number(label.qty) > Number(balance.qty) ? Number(balance.qty) : Number(label.qty), |
|
|
qty: balance.lableQty ?? Number(label.qty), |
|
|
qty: balance.qty ?? Number(label.qty), |
|
|
uom: balance.uom, |
|
|
uom: balance.uom, |
|
|
inventoryStatus: balance.inventoryStatus, |
|
|
inventoryStatus: balance.inventoryStatus, |
|
|
balance: balance, |
|
|
balance: balance, |
|
|