From f1fdeee0b1b913dd78961f1a3d4016057e4b7167 Mon Sep 17 00:00:00 2001 From: 1178634255 <1178634255@qq.com> Date: Thu, 29 Jun 2023 14:34:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=81=E4=B8=9A=E8=B5=84=E8=B4=A8=E5=AE=A1?= =?UTF-8?q?=E6=A0=B8=E4=BB=A3=E7=A0=81=E6=9B=B4=E6=96=B0=E5=A4=87=E4=BB=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/purchase/supManufacturer.js | 1 + src/views/purchase/cert/supCertAudit.vue | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/api/purchase/supManufacturer.js b/src/api/purchase/supManufacturer.js index e60a247..2603285 100644 --- a/src/api/purchase/supManufacturer.js +++ b/src/api/purchase/supManufacturer.js @@ -2,6 +2,7 @@ import axios from "@/utils/request"; export function getCompanyList(query) { return axios({ + // url: "/sup/manufacturer/getCompanyList", url: "/sup/manufacturer/getCompanyList", method: "get", params: query diff --git a/src/views/purchase/cert/supCertAudit.vue b/src/views/purchase/cert/supCertAudit.vue index 41b9ff6..9139a3d 100644 --- a/src/views/purchase/cert/supCertAudit.vue +++ b/src/views/purchase/cert/supCertAudit.vue @@ -573,7 +573,7 @@ export default { }, supCompanyClick(row) { - this.filterManufacturerQuery.customerId = row.customerId; + this.filterManufacturerQuery.customerId = row.id; this.registrationList = []; this.onManufacturerReset(); }, @@ -588,7 +588,7 @@ export default { creditCode: "", placeArea: "", page: 1, - auditStatus: "21", + // auditStatus: "21", limit: 10, }; this.manufacturerList = []; @@ -612,7 +612,8 @@ export default { }, getManufacturerList() { this.manufacturerLoading = true; - this.filterManufacturerQuery.productStatus = 1; + // this.filterManufacturerQuery.productStatus = 1; + this.filterManufacturerQuery.companyId=this.list.id getCompanyList(this.filterManufacturerQuery) .then((response) => { this.manufacturerLoading = false;