|
@ -371,8 +371,9 @@ |
|
|
var qty = result.label.qty; |
|
|
var qty = result.label.qty; |
|
|
var itemCode = result.label.itemCode; |
|
|
var itemCode = result.label.itemCode; |
|
|
var detail = this.detailSource.find(r => r.itemCode == itemCode); |
|
|
var detail = this.detailSource.find(r => r.itemCode == itemCode); |
|
|
|
|
|
let itemcodes = this.detailSource.map(item=>item.itemCode).join(',') |
|
|
if (detail == undefined) { |
|
|
if (detail == undefined) { |
|
|
this.showErrorMessage("物料号【" + itemCode + "】不在列表中") |
|
|
this.showErrorMessage(`扫描的物料【 ${ result.label.itemCode} 】与任务明细中的物料【 ${itemcodes} 】不一致`) |
|
|
} else { |
|
|
} else { |
|
|
var itemDetail = detail.subList.find(r => { |
|
|
var itemDetail = detail.subList.find(r => { |
|
|
return r.batch == batch |
|
|
return r.batch == batch |
|
|