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) {