From a8fa4c900d65722afed073b75f0ba1061f6c9d71 Mon Sep 17 00:00:00 2001 From: x_z Date: Tue, 3 Jan 2023 20:35:16 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E5=A4=8D=E8=B5=84=E8=B4=A8=E5=AE=A1?= =?UTF-8?q?=E6=A0=B8=E9=A1=B5=E9=9D=A2=E5=88=86=E9=A1=B5=E6=97=A0=E6=95=88?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/purchase/supCertAudit.vue | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/views/purchase/supCertAudit.vue b/src/views/purchase/supCertAudit.vue index c9c012d..b685259 100644 --- a/src/views/purchase/supCertAudit.vue +++ b/src/views/purchase/supCertAudit.vue @@ -86,6 +86,7 @@ { - console.log(response) this.loading = false; this.list = response.data.list || []; this.total = response.data.total || 0; @@ -560,7 +562,7 @@ export default { .catch(() => { this.manufacturerLoading = false; this.manufacturerList = []; - this.total = 0; + this.manufacturerTotal = 0; }); }, addInfoDialog(row) { @@ -577,7 +579,7 @@ export default { this.addInfoVisible = true; }, closeManufacturerDialog(type) { - + if(type==true){ this.addInfoVisible = false; this.enterpriseId = null; @@ -646,12 +648,13 @@ export default { .then((response) => { this.registrationLoading = false; this.registrationList = response.data.list || []; - this.certTotal= response.data.total + this.certTotal = response.data.total }) .catch(() => { this.registrationLoading = false; this.registrationList = []; + this.certTotal = 0; }); }, certHandleCurrentChange(val) {