Browse Source

YT-956扫描相同物料不同批次,第二次扫描数量输入2,带出的是库存数

intex
zhang_li 2 weeks ago
parent
commit
1353708a83
  1. 2
      src/pages/inventoryMove/coms/comMoveRecord.vue

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

@ -422,7 +422,6 @@
this.$refs.okToHoldRecordPackRef.showOne = false this.$refs.okToHoldRecordPackRef.showOne = false
} else { } else {
var detail = '' var detail = ''
console.log(9988,managementTypeParams)
if(managementTypeParams == 'BY_QUANTITY'){ if(managementTypeParams == 'BY_QUANTITY'){
detail = item.subList.find(r => { detail = item.subList.find(r => {
if (r.fromLocationCode == balance.locationCode && if (r.fromLocationCode == balance.locationCode &&
@ -455,6 +454,7 @@
newDetail.toLocationCode = this.toLocationCode; newDetail.toLocationCode = this.toLocationCode;
newDetail.managementTypeParams = managementTypeParams; newDetail.managementTypeParams = managementTypeParams;
newDetail.fromLocationCode = result.fromLocationCode newDetail.fromLocationCode = result.fromLocationCode
newDetail.handleQty = result.label.qty
newDetail.packQty = balance.packQty; newDetail.packQty = balance.packQty;
newDetail.packUnit = balance.packUnit; newDetail.packUnit = balance.packUnit;
item.subList.push(newDetail); item.subList.push(newDetail);

Loading…
Cancel
Save