From 7f323f40dc4f181dd712c7e7d34717ee9e0e0964 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Wed, 25 Dec 2024 15:19:38 +0800 Subject: [PATCH] =?UTF-8?q?YT-1786pda=20=E5=BA=93=E5=AD=98=E8=BD=AC?= =?UTF-8?q?=E7=A7=BB=E4=BB=BB=E5=8A=A1=EF=BC=8C=E6=95=B0=E9=87=8F=E7=AE=A1?= =?UTF-8?q?=E7=90=86-=E6=89=B9=E6=AC=A1=E7=AE=A1=E7=90=86=EF=BC=8C?= =?UTF-8?q?=E5=88=87=E6=8D=A2=E6=9D=A5=E6=BA=90=E5=BA=93=E4=BD=8D=EF=BC=8C?= =?UTF-8?q?=E6=89=AB=E6=8F=8F=E5=88=B0=E9=A1=B5=E9=9D=A2=E7=9A=84=E8=BF=98?= =?UTF-8?q?=E6=98=AF=E4=B8=8A=E4=B8=80=E4=B8=AA=E6=9D=A5=E6=BA=90=E5=BA=93?= =?UTF-8?q?=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- src/pages/inventoryMove/job/inventoryMoveDetail.vue | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.env.development b/.env.development index 8e208ac4..ad12ecf2 100644 --- a/.env.development +++ b/.env.development @@ -1,4 +1,4 @@ -#VITE_BASE_URL=http://192.168.1.196:12080/admin-api +#VITE_BASE_URL=http://192.168.1.49:12080/admin-api VITE_BASE_URL=http://localhost:12080/admin-api #VITE_BASE_URL=http://dev.ccwin-in.com:28051/api/admin-api # VITE_BASE_URL_IMAGE=http://172.22.32.9:81/admin-api diff --git a/src/pages/inventoryMove/job/inventoryMoveDetail.vue b/src/pages/inventoryMove/job/inventoryMoveDetail.vue index 26599dec..b03cc8bd 100644 --- a/src/pages/inventoryMove/job/inventoryMoveDetail.vue +++ b/src/pages/inventoryMove/job/inventoryMoveDetail.vue @@ -330,7 +330,7 @@ }, setDataBatch(result, managementPrecision) { - console.log(877, result.balance.qty) + console.log(877, result) try { var packingNumber = result.label.packingNumber; var batch = result.label.batch; @@ -343,11 +343,11 @@ var itemDetail = '' if (managementPrecision == 'BY_QUANTITY') { itemDetail = detail.subList.find(r => { - return r.itemCode == result.label.itemCode + return result.fromLocationCode == r.fromLocationCode }) } else { itemDetail = detail.subList.find(r => { - return r.batch == batch + return r.batch == batch && result.fromLocationCode == r.fromLocationCode }) }