diff --git a/src/views/contract/paymentRegistrationList.vue b/src/views/contract/paymentRegistrationList.vue index 55d953b..d0f8b42 100644 --- a/src/views/contract/paymentRegistrationList.vue +++ b/src/views/contract/paymentRegistrationList.vue @@ -598,6 +598,9 @@ export default { return Number(value).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, '$1,') }, summaryMethod({ columns, data }) { + // if(this.selections.length === 0){ + // return '' + // } const fn = (prop) => this.selections.reduce((pre, cur) => pre + Number(cur[prop]), 0).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, '$1,') return columns.map((column, index) => { if (index === 0) { @@ -755,6 +758,8 @@ export default { async getFundLogs(is_export) { + this.$refs.xyTable.clearSelection() + this.selections = [] await getFundLog({ is_auth: this.is_auth, page_size: this.pageSize,