From 75599d2de2924072579c2610cd1baf8e64363a0d Mon Sep 17 00:00:00 2001 From: niexiting <85552560@qq.com> Date: Wed, 14 Aug 2024 17:54:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=9B=B4=E6=8E=A5=E8=A1=A5?= =?UTF-8?q?=E6=96=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/issue/record/directIssue.vue | 28 +++++++++++++------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/pages/issue/record/directIssue.vue b/src/pages/issue/record/directIssue.vue index 2a784cbe..e746af75 100644 --- a/src/pages/issue/record/directIssue.vue +++ b/src/pages/issue/record/directIssue.vue @@ -5,10 +5,11 @@ - - 来源库位 : {{fromLocationCode}} + + + 来源库位 : {{fromLocationCode}} + - @@ -16,9 +17,8 @@ + :isShowToLocation="false" :isShowParentToLocation="false" @updateData="updateData" + @removePack="removePack"> @@ -45,7 +45,7 @@ - + @@ -132,7 +132,7 @@ show: false, positionInfo: "请选择生产线", resultData: {}, - itemCode:"" + itemCode: "" }; }, onLoad(option) { @@ -170,7 +170,7 @@ mounted() {}, methods: { - + getBusinessType() { getBusinessType(this.businessTypeCode, res => { if (res.success) { @@ -183,7 +183,7 @@ } }); }, - + getScanResult(result) { this.setData(result); }, @@ -191,14 +191,14 @@ let balance = result.balance; let label = result.label; let pack = result.package; - - + + if (this.fromLocationCode && this.fromLocationCode != balance.locationCode) { this.showErrorMessage("箱码[" + balance.packingNumber + "批次[" + balance.batch + "]在库位[" + this .fromLocationCode + "]没有库存余额") return; } - + var item = this.detailSource.find(res => { if (res.itemCode == balance.itemCode) { return res @@ -514,7 +514,7 @@ this.toWarehouseCode = ''; this.detailSource = []; this.positionInfo = "请选择生产线"; - this.itemCode="" + this.itemCode = "" } } }