From a212ac1285f48670442c0afc5bc6535f15846d2f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=83=91=E6=98=8E=E6=A2=81?= <2429105222@qq.com>
Date: Mon, 13 Mar 2023 16:23:45 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BE=9B=E5=BA=94=E5=95=86bu?=
=?UTF-8?q?g?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../purchase/company/companyProducts.vue | 2 +-
.../purchase/product/supProductEditDialog.vue | 43 +++++++++----------
src/views/supplier/company/basicCompany.vue | 1 -
3 files changed, 22 insertions(+), 24 deletions(-)
diff --git a/src/views/purchase/company/companyProducts.vue b/src/views/purchase/company/companyProducts.vue
index c4a8fc6..6ee8f76 100644
--- a/src/views/purchase/company/companyProducts.vue
+++ b/src/views/purchase/company/companyProducts.vue
@@ -48,7 +48,7 @@
-
+
diff --git a/src/views/purchase/product/supProductEditDialog.vue b/src/views/purchase/product/supProductEditDialog.vue
index f10d86c..bac4c7c 100644
--- a/src/views/purchase/product/supProductEditDialog.vue
+++ b/src/views/purchase/product/supProductEditDialog.vue
@@ -635,29 +635,28 @@ export default {
},
- closeSelDialog(val) {
- if (val != null) {
- let query = {
- productId: this.inputQuery.productId,
- relIdFk: val,
- manufacturerId: this.inputQuery.manufacturerIdFk,
- customerId: this.inputQuery.customerId,
- auditStatus: this.inputQuery.auditStatus
-
- };
- localStorage.setItem('key',this.inputQuery.companyName)
- bindProduct(query).then(response => {
- this.loading = false;
- if (response.code === 20000) {
- let cname= localStorage.getItem('key')
- this.inputQuery.companyName=cname;
- this.selectSingleProductVisible = false;
- } else {
- this.$message.error(response.message);
- }
- });
+ closeSelDialog(val) {
+ if (val != null) {
+ let query = {
+ productId: this.inputQuery.productId,
+ relIdFk: val,
+ manufacturerId: this.inputQuery.manufacturerIdFk,
+ customerId: this.inputQuery.customerId,
+ companyName:this.inputQuery.companyName,
+ auditStatus: this.inputQuery.auditStatus
+
+ };
+ bindProduct(query).then(response => {
+ this.loading = false;
+ if (response.code === 20000) {
+ this.inputQuery = response.data;
+ this.selectSingleProductVisible = false;
+ } else {
+ this.$message.error(response.message);
}
- },
+ });
+ }
+ },
addCert(row) {
if (this.$isNotBlank(row)) {
diff --git a/src/views/supplier/company/basicCompany.vue b/src/views/supplier/company/basicCompany.vue
index 087d25b..1cd39b5 100644
--- a/src/views/supplier/company/basicCompany.vue
+++ b/src/views/supplier/company/basicCompany.vue
@@ -575,7 +575,6 @@ export default {
getCompanyCertList() {
this.certLoading = true;
this.certQuery.customerId = this.inputQuery.customerId;
- debugger
filterCompanyCert(this.certQuery)
.then((response) => {