From a9cabedd5b3cd67a4ee5da0c8276e6906de64fc6 Mon Sep 17 00:00:00 2001 From: x_z Date: Tue, 3 Jan 2023 20:28:57 +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=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inventory/assetManage.vue | 2 +- src/views/purchase/supCertSearch.vue | 14 ++++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/views/inventory/assetManage.vue b/src/views/inventory/assetManage.vue index 19f70a9..259d5f3 100644 --- a/src/views/inventory/assetManage.vue +++ b/src/views/inventory/assetManage.vue @@ -33,7 +33,7 @@ - + diff --git a/src/views/purchase/supCertSearch.vue b/src/views/purchase/supCertSearch.vue index 122e5e1..b715320 100644 --- a/src/views/purchase/supCertSearch.vue +++ b/src/views/purchase/supCertSearch.vue @@ -87,6 +87,7 @@ { - console.log(response) this.loading = false; this.list = response.data.list || []; this.total = response.data.total || 0; @@ -554,12 +554,12 @@ export default { .then((response) => { this.manufacturerLoading = false; this.manufacturerList = response.data.list || []; - this.total = response.data.total || 0; + this.manufacturerTotal = response.data.total || 0; }) .catch(() => { this.manufacturerLoading = false; this.manufacturerList = []; - this.total = 0; + this.manufacturerTotal = 0; }); }, addInfoDialog(row) { @@ -640,15 +640,17 @@ export default { .then((response) => { this.registrationLoading = false; this.registrationList = response.data.list || []; + this.certTotal = response.data.total || 0; }) .catch(() => { this.registrationLoading = false; this.registrationList = []; + this.certTotal = 0; }); }, certHandleCurrentChange(val) { this.registrationQuery.page = val; - this.registrationList(); + this.getRegistrationList(); } },