|
|
@ -429,8 +429,17 @@ |
|
|
|
newDetail.fromLocationCode = result.fromLocationCode |
|
|
|
item.subList.push(newDetail); |
|
|
|
} else { |
|
|
|
console.log(999,detail.handleQty) |
|
|
|
detail.handleQty =calc.add(detail.handleQty, result.label.qty) |
|
|
|
// console.log(999,detail.handleQty) |
|
|
|
// detail.handleQty =calc.add(detail.handleQty, result.label.qty) |
|
|
|
if(managementTypeParams == 'BY_QUANTITY'){ |
|
|
|
this.showErrorMessage( |
|
|
|
"批次[]\n" + "库位[" + detail.fromLocationCode + "]\n" + |
|
|
|
"已经存在") |
|
|
|
}else if(managementTypeParams == 'BY_BATCH'){ |
|
|
|
this.showErrorMessage( |
|
|
|
"批次[" + detail.batch + "]\n" + "库位[" + detail.fromLocationCode + "]\n" + |
|
|
|
"已经存在") |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|