From c16e5e984f10aa9cf93d401ec02ee29da9fde711 Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Thu, 26 Sep 2024 10:33:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=9B=98=E7=82=B9=E6=89=AB?= =?UTF-8?q?=E6=8F=8F=E4=B8=8D=E6=98=AF=E4=BB=BB=E5=8A=A1=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=EF=BC=8C=E6=95=B0=E9=87=8F=E8=B5=8B=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + readmi.js | 3 +++ src/pages/count/job/countLightDetail.vue | 5 +++-- 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 readmi.js 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,