From ad6b121a96d52306606516cc3515ee19d7f663fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BF=97=E5=9B=BD?= <854933521@qq.com> Date: Mon, 28 Oct 2024 08:44:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BA=93=E5=AD=98=E8=BD=AC?= =?UTF-8?q?=E7=A7=BB=E6=89=B9=E9=87=8F=E6=8F=90=E4=BA=A4=202024/8/5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/inventoryMove/coms/comMoveRecord.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/pages/inventoryMove/coms/comMoveRecord.vue b/src/pages/inventoryMove/coms/comMoveRecord.vue index 7de7a771..3907b3f5 100644 --- a/src/pages/inventoryMove/coms/comMoveRecord.vue +++ b/src/pages/inventoryMove/coms/comMoveRecord.vue @@ -227,7 +227,11 @@ const getScanResult = (result) => { if (detail == undefined) { const newDetail = createDetailInfo(balance, pack) // newDetail.inventoryStatus = balance.inventoryStatus; - newDetail.toInventoryStatus = toInventoryStatus.value + if (businessTypeCode.value == "Move") { + newDetail.toInventoryStatus = balance.inventoryStatus; + } else { + newDetail.toInventoryStatus = toInventoryStatus.value; + } newDetail.toLocationCode = toLocationCode.value newDetail.fromLocationCode = result.fromLocationCode item.subList.push(newDetail)