diff --git a/.gitignore b/.gitignore index b40aa1ba..486425df 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ dist *.sln *.sw? /.env.development +readmi.js diff --git a/readmi.js b/readmi.js new file mode 100644 index 00000000..e479787c --- /dev/null +++ b/readmi.js @@ -0,0 +1,3 @@ +客户退货 +扫描不查询库存 +退到隔离库 \ No newline at end of file diff --git a/src/pages/count/job/countLightDetail.vue b/src/pages/count/job/countLightDetail.vue index 32db4660..ff0d71b1 100644 --- a/src/pages/count/job/countLightDetail.vue +++ b/src/pages/count/job/countLightDetail.vue @@ -344,7 +344,7 @@ var pack = result.package var batch = result.label.batch var inventoryStatus = result.balance ? result.balance.inventoryStatus : "OK" - var qty = result.balance ? result.balance.qty : 0; + var qty = result.balance ? result.balance.qty : result.label.qty; //按物料、箱码、批次、状态匹配 let items = this.allDetails.filter(r => @@ -392,6 +392,7 @@ selectItem.handleQty = Number(qty) selectItem.packQty = pack.packQty selectItem.packUnit = pack.packUnit + selectItem.parentPackingNumber =pack.parentPackingNumber selectItem.locationCode =this.fromLocationCode selectItem.fromLocationCode =this.fromLocationCode @@ -463,7 +464,7 @@ uom: pack.uom, number: pack.number, remark: "", - countQty: 0, + countQty: Number(qty), balanceQty: Number(qty), fromLocationCode: this.fromLocationCode, locationCode:this.fromLocationCode,