Browse Source

库存转移箱码提示问题

syhx
zhang_li 2 months ago
parent
commit
359e3efad7
  1. 7
      src/pages/inventoryMove/job/inventoryMoveDetail.vue

7
src/pages/inventoryMove/job/inventoryMoveDetail.vue

@ -326,14 +326,13 @@
this.showMessage("物料号【" + itemCode + "】不在列表中") this.showMessage("物料号【" + 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.showMessage("箱码【" + packingNumber + "】已经扫描") this.showMessage("批次【" + batch + "】已经扫描")
} else { } else {
let balanceStatus = getInventoryStatusName(result.balance.inventoryStatus); let balanceStatus = getInventoryStatusName(result.balance.inventoryStatus);
let itemStatus = getInventoryStatusName(itemDetail.inventoryStatus); let itemStatus = getInventoryStatusName(itemDetail.inventoryStatus);

Loading…
Cancel
Save