diff --git a/jshERP-web/src/views/report/CustomerAccount.vue b/jshERP-web/src/views/report/CustomerAccount.vue index eda7136c..4d12543d 100644 --- a/jshERP-web/src/views/report/CustomerAccount.vue +++ b/jshERP-web/src/views/report/CustomerAccount.vue @@ -184,10 +184,6 @@ this.pleaseSelect = '' } }, - searchQuery() { - this.loadData(1); - this.initStatistics(); - }, myHandleDetail(record) { findBillDetailByNumber({ number: record.number }).then((res) => { if (res && res.code === 200) { @@ -200,6 +196,7 @@ this.$message.warning('请选择单据日期!') } else { this.loadData(1); + this.initStatistics(); } } } diff --git a/jshERP-web/src/views/report/VendorAccount.vue b/jshERP-web/src/views/report/VendorAccount.vue index 25973d76..aa8f1c25 100644 --- a/jshERP-web/src/views/report/VendorAccount.vue +++ b/jshERP-web/src/views/report/VendorAccount.vue @@ -185,10 +185,6 @@ this.pleaseSelect = '' } }, - searchQuery() { - this.loadData(1); - this.initStatistics(); - }, myHandleDetail(record) { findBillDetailByNumber({ number: record.number }).then((res) => { if (res && res.code === 200) { @@ -201,6 +197,7 @@ this.$message.warning('请选择单据日期!') } else { this.loadData(1); + this.initStatistics(); } } }