Browse Source

YT-372WMS PDA执行生产退料任务不成功,扫描标签后提示不在列表中

syhx
zhang_li 4 months ago
parent
commit
9c77e0cbf1
  1. 7
      src/pages/productionReturn/job/okToReturnDetail.vue

7
src/pages/productionReturn/job/okToReturnDetail.vue

@ -292,14 +292,13 @@
this.showErrorMessage("物料号【" + itemCode + "】不在列表中") this.showErrorMessage("物料号【" + itemCode + "】不在列表中")
} else { } else {
var itemDetail = detail.subList.find(r => { var itemDetail = detail.subList.find(r => {
return r.packingNumber == packingNumber && return 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.package.qty) itemDetail.handleQty = Number(result.package.qty)

Loading…
Cancel
Save