Browse Source

YT-1441pda直接移库,所有精度管理,第二次扫描同一箱码时,提示已存在

intex_online20241205
张立 2 months ago
parent
commit
b6d13f9f09
  1. 23
      src/pages/inventoryMove/coms/comMoveRecord.vue

23
src/pages/inventoryMove/coms/comMoveRecord.vue

@ -559,16 +559,21 @@
} else {
// console.log(999,detail.handleQty)
// detail.handleQty =calc.add(detail.handleQty, result.label.qty)
if (managementTypeParams == 'BY_QUANTITY') {
this.showErrorMessage(
"物料号[" + item.itemCode + "]\n" + "批次[]\n" + "库位[" + detail.fromLocationCode + "]\n" +
"已经存在")
} else if (managementTypeParams == 'BY_BATCH') {
this.showErrorMessage(
"物料号[" + item.itemCode + "]\n" + "批次[" + detail.batch + "]\n" + "库位[" + detail
.fromLocationCode + "]\n" +
"已经存在")
if(this.showOnePop){
if (managementTypeParams == 'BY_QUANTITY') {
this.showErrorMessage(
"物料号[" + item.itemCode + "]\n" + "批次[]\n" + "库位[" + detail.fromLocationCode + "]\n" +
"已经存在")
} else if (managementTypeParams == 'BY_BATCH') {
this.showErrorMessage(
"物料号[" + item.itemCode + "]\n" + "批次[" + detail.batch + "]\n" + "库位[" + detail
.fromLocationCode + "]\n" +
"已经存在")
}
}else{
detail.handleQty =calc.add(detail.handleQty, result.label.qty)
}
}
}
calcHandleQty(this.detailSource);

Loading…
Cancel
Save