From b026b808602875dfa060383ee85ce8ee7e4ae64d Mon Sep 17 00:00:00 2001 From: wangwei <1610949092@qq.com> Date: Fri, 6 Jan 2023 15:27:58 +0800 Subject: [PATCH 1/3] =?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/inventory/InvProducts.vue | 1 + src/views/warehouse/stockOrderNew.vue | 3 ++- src/views/warehouse/stockOrderNewDistribution.vue | 15 +++++++++++++-- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/src/views/inventory/InvProducts.vue b/src/views/inventory/InvProducts.vue index ce2efa9..b038525 100644 --- a/src/views/inventory/InvProducts.vue +++ b/src/views/inventory/InvProducts.vue @@ -238,6 +238,7 @@ export default { page: 1, limit: 20, }; + this.invChange(); this.getList(); }, diff --git a/src/views/warehouse/stockOrderNew.vue b/src/views/warehouse/stockOrderNew.vue index f1d7137..82de907 100644 --- a/src/views/warehouse/stockOrderNew.vue +++ b/src/views/warehouse/stockOrderNew.vue @@ -679,8 +679,9 @@ export default { } if (store.getters.customerId == 110) { this.newSpDistributionVisible = true; - } else + } else{ this.newDistributionVisible = true; + } }, closeDialog(type) { this.newDistributionVisible = false; diff --git a/src/views/warehouse/stockOrderNewDistribution.vue b/src/views/warehouse/stockOrderNewDistribution.vue index ad5d21e..4255387 100644 --- a/src/views/warehouse/stockOrderNewDistribution.vue +++ b/src/views/warehouse/stockOrderNewDistribution.vue @@ -73,7 +73,7 @@ { this.loading = false; }) + }, + actionChange(val) { + + this.formData.billType=val + + }, submit(formName) { if (this.total < 1) { @@ -543,8 +551,9 @@ export default { }, selectProductFunction(event) { - if (event != null) + if (event != null) { event.target.select(); + } if (this.$isBlank(event)) { if (this.$isBlank(this.formData.billType)) { this.$message.error("单据类型不能为空!") @@ -569,6 +578,7 @@ export default { if (this.orderEditor) { this.thisData.orderId = this.formData.id } + this.invQueryData.corpId = this.formData.corpId; this.selectProductVisible = true; return; @@ -995,6 +1005,7 @@ export default { this.formData = { billdate: "", corpName: store.getters.companyName, + corpId:store.getters.customerId, customerId: store.getters.customerId, billType: "", type: "2", From 08146523bab7e8c55ac2cc5c54c7bba553155539 Mon Sep 17 00:00:00 2001 From: wangwei <1610949092@qq.com> Date: Fri, 6 Jan 2023 16:18:49 +0800 Subject: [PATCH 2/3] =?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/inventory/InvPreInProductsDetail.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/inventory/InvPreInProductsDetail.vue b/src/views/inventory/InvPreInProductsDetail.vue index 012c10d..062f176 100644 --- a/src/views/inventory/InvPreInProductsDetail.vue +++ b/src/views/inventory/InvPreInProductsDetail.vue @@ -187,14 +187,14 @@ export default { getCodeList() { this.loading = true; this.query.orderIdFk = this.idQuery.orderIdFk; - let query = { - orderIdFk: this.idQuery.orderIdFk, - code:this.query.code - } + // let query = { + // orderIdFk: this.idQuery.orderIdFk, + // code:this.query.code, + // } /* this.query.batchNo = this.idQuery.batchNo; this.query.supId = this.idQuery.supId; this.query.invStorageCode = this.idQuery.invStorageCode;*/ - filterDetailProducts(query) //查找该单号下的所有条码 + filterDetailProducts(this.query) //查找该单号下的所有条码 .then((response) => { this.loading = false; this.codeArry = response.data.list || []; From 7133a05082e89fca3bba5790da757da99a6b456e Mon Sep 17 00:00:00 2001 From: wangwei <1610949092@qq.com> Date: Fri, 6 Jan 2023 16:41:56 +0800 Subject: [PATCH 3/3] =?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/basic/BusTypeChange.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/basic/BusTypeChange.vue b/src/views/basic/BusTypeChange.vue index 5447e92..1de2737 100644 --- a/src/views/basic/BusTypeChange.vue +++ b/src/views/basic/BusTypeChange.vue @@ -41,7 +41,7 @@ {{ enableMap[scope.row.supplementAll] }} - +