|
@ -248,7 +248,7 @@ |
|
|
this.scanPopupGetFocus() |
|
|
this.scanPopupGetFocus() |
|
|
} else { |
|
|
} else { |
|
|
var detail = item.subList.find(r => { |
|
|
var detail = item.subList.find(r => { |
|
|
if (r.packingNumber == balance.packingNumber && |
|
|
if (r.packingNumber == pack.number && |
|
|
r.batch == balance.batch && |
|
|
r.batch == balance.batch && |
|
|
r.locationCode == balance.locationCode && |
|
|
r.locationCode == balance.locationCode && |
|
|
r.inventoryStatus == balance.inventoryStatus) { |
|
|
r.inventoryStatus == balance.inventoryStatus) { |
|
@ -268,7 +268,7 @@ |
|
|
this.scanPopupGetFocus() |
|
|
this.scanPopupGetFocus() |
|
|
} else { |
|
|
} else { |
|
|
if (detail.scaned == true) { |
|
|
if (detail.scaned == true) { |
|
|
this.showErrorMessage("箱码[" + balance.packingNumber + "批次[" + balance.batch + "]已经在列表中") |
|
|
this.showErrorMessage("箱码[" + detail.packingNumber + "批次[" + balance.batch + "]已经在列表中") |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
@ -279,7 +279,9 @@ |
|
|
|
|
|
|
|
|
showErrorMessage(message) { |
|
|
showErrorMessage(message) { |
|
|
this.$refs.comMessage.showErrorMessage(message, res => { |
|
|
this.$refs.comMessage.showErrorMessage(message, res => { |
|
|
if (res) {} |
|
|
if (res) { |
|
|
|
|
|
this.scanPopupGetFocus() |
|
|
|
|
|
} |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|