|
@ -285,13 +285,12 @@ |
|
|
} else { |
|
|
} else { |
|
|
detail.scaned = true |
|
|
detail.scaned = true |
|
|
var itemDetail = detail.subList.find(r => |
|
|
var itemDetail = detail.subList.find(r => |
|
|
r.packingNumber == packingNumber && |
|
|
|
|
|
r.batch == batch); |
|
|
r.batch == batch); |
|
|
if (itemDetail == undefined) { |
|
|
if (itemDetail == undefined) { |
|
|
this.showErrorMessage("箱码[" + packingNumber + "]" + "批次[" + batch + "]不在任务列表中") |
|
|
this.showErrorMessage("批次[" + batch + "]不在任务列表中") |
|
|
} else { |
|
|
} else { |
|
|
if (itemDetail.scaned) { |
|
|
if (itemDetail.scaned) { |
|
|
this.showErrorMessage("箱码[" + packingNumber + "]" + "批次[" + batch + "]已经扫描") |
|
|
this.showErrorMessage("批次[" + batch + "]已经扫描") |
|
|
} else { |
|
|
} else { |
|
|
itemDetail.scaned = true; |
|
|
itemDetail.scaned = true; |
|
|
itemDetail.handleQty = Number(result.label.qty); |
|
|
itemDetail.handleQty = Number(result.label.qty); |
|
|