master
lion 3 months ago
parent 1f5c6aa5f2
commit 0cee4bcfa7

@ -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,

Loading…
Cancel
Save