|
|
@ -519,6 +519,13 @@ |
|
|
|
if (this.details[0].recommendFromPackingCode == result.data.code) { |
|
|
|
balances(params) |
|
|
|
.then(res => { |
|
|
|
var balancesItem = res.items[0]; |
|
|
|
if (balancesItem.locationCode == "INSPECT" || |
|
|
|
balancesItem.locationCode == "TRANSFERONTHEWAY" || |
|
|
|
balancesItem.locationCode == "HOLD") { |
|
|
|
this.showMessage("该库存不能是待检、在途、隔离库") |
|
|
|
return; |
|
|
|
} |
|
|
|
if (res.totalCount === 0) { |
|
|
|
this.showScanMessage('按箱码【' + result.data.code + '】未查询到库存信息'); |
|
|
|
} else { |
|
|
|