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

Loading…
Cancel
Save