From 4a7e8bf9f1b1ba8398f17515bcc23af0ce468007 Mon Sep 17 00:00:00 2001 From: wangwei <1610949092@qq.com> Date: Wed, 11 Jan 2023 10:32:03 +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/thrsys/thrOrderNew.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/thrsys/thrOrderNew.vue b/src/views/thrsys/thrOrderNew.vue index f26415a..611ea54 100644 --- a/src/views/thrsys/thrOrderNew.vue +++ b/src/views/thrsys/thrOrderNew.vue @@ -479,13 +479,12 @@ export default { this.findSubStorageMethod(); }, subStorageChange(item) { - // this.formData.fromSubInvCode = null; - this.formData.fromSubInvCode=item; this.formData.locStorageCode= this.subInvList.find(item => item.code == this.formData.invWarehouseCode).parentId this.formData.corpId=this.subInvList.find(item => item.code == this.formData.invWarehouseCode).code this.formData.corpName=this.subInvList.find(item => item.code == this.formData.invWarehouseCode).warehouseName this.findSubStorageMethod(); this.getBusType(); + }, @@ -500,7 +499,9 @@ export default { this.subInvList = response.data || []; if (this.subInvList != null && this.subInvList.length == 1) { this.formData.invWarehouseCode = this.subInvList[0].code; - this.findSubStorageMethod(); + this.formData.locStorageCode = this.subInvList[0].parentId; + this.getBusType(); + this.findSubStorageMethod(); } }) .catch(() => {