|
|
@ -414,6 +414,13 @@ |
|
|
|
if (res.totalCount > 0) { |
|
|
|
var balancesItem = res.items[0]; |
|
|
|
var item = data[0]; |
|
|
|
if (balancesItem.locationCode == "INSPECT" || |
|
|
|
balancesItem.locationCode == "TRANSFERONTHEWAY" || |
|
|
|
balancesItem.locationCode == "HOLD") { |
|
|
|
this.showMessage("该库存不能是待检、在途、隔离库") |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
if (balancesItem.lot == item.recommendToLot) { |
|
|
|
scanSuccessAudio() |
|
|
|
item.handledToContainerCode = balancesItem.containerCode |
|
|
@ -637,7 +644,10 @@ |
|
|
|
}, |
|
|
|
|
|
|
|
scanPopupGetFocus() { |
|
|
|
this.$refs.scanPopupForm.getfocus(); |
|
|
|
if (this.$refs.scanPopupTo) { |
|
|
|
this.$refs.scanPopupTo.getfocus(); |
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
scrollToTop() { |
|
|
|