|
|
|
@ -598,6 +598,9 @@ export default {
|
|
|
|
return Number(value).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, '$1,')
|
|
|
|
return Number(value).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, '$1,')
|
|
|
|
},
|
|
|
|
},
|
|
|
|
summaryMethod({ columns, data }) {
|
|
|
|
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,')
|
|
|
|
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) => {
|
|
|
|
return columns.map((column, index) => {
|
|
|
|
if (index === 0) {
|
|
|
|
if (index === 0) {
|
|
|
|
@ -755,6 +758,8 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
async getFundLogs(is_export) {
|
|
|
|
async getFundLogs(is_export) {
|
|
|
|
|
|
|
|
this.$refs.xyTable.clearSelection()
|
|
|
|
|
|
|
|
this.selections = []
|
|
|
|
await getFundLog({
|
|
|
|
await getFundLog({
|
|
|
|
is_auth: this.is_auth,
|
|
|
|
is_auth: this.is_auth,
|
|
|
|
page_size: this.pageSize,
|
|
|
|
page_size: this.pageSize,
|
|
|
|
|