From f7be2225cd36e18956c8856e96dd09410930df46 Mon Sep 17 00:00:00 2001 From: wangwei <1610949092@qq.com> Date: Tue, 3 Jan 2023 16:38:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/business/stockOrderNewDistribution.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/views/business/stockOrderNewDistribution.vue b/src/views/business/stockOrderNewDistribution.vue index 3f8d3d5..9f4d52b 100644 --- a/src/views/business/stockOrderNewDistribution.vue +++ b/src/views/business/stockOrderNewDistribution.vue @@ -185,10 +185,11 @@ :remote-method="findDeptMethod" :loading="loading" @focus="findDeptMethod('')" + @change="ksChange" > @@ -1216,6 +1217,9 @@ export default { this.invChange(); this.findStorageMethod(); }, + ksChange(code){ + this.formData.deptCode=code; + }, subStorageChange() { this.formData.locStorageCode= this.subInvList.find(item => item.code == this.formData.invWarehouseCode).parentId @@ -1273,10 +1277,10 @@ export default { this.query.limit = 100; this.query.orderIdFk = this.idQuery.id; this.formData = this.idQuery.formData; + this.formData.deptCode=this.idQuery.formData.dept this.orderEditor = true; this.sValue = this.formData.corpName; this.getStockOrderDetailList(); - } else { this.formData = { billNo: null,