|
@ -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); |
|
|