Authored by 王水玲

红人

... ... @@ -233,12 +233,14 @@ export default {
this.candidateListService.favoriteBalanceList(this.filterValues()).then(ret => {
if (ret && ret.code === 200) {
this.tableData = _.get(ret, 'data.records', []);
this.tableData.push({
confirmTime: 'default',
outInTypeName: '总计',
num: ret.data.totalNum,
clearingAmount: ret.data.totalClearingAmount
});
if (this.tableData.length > 0) {
this.tableData.push({
confirmTime: 'default',
outInTypeName: '总计',
num: ret.data.totalNum,
clearingAmount: ret.data.totalClearingAmount
});
}
this.pageData.total = _.get(ret, 'data.totalPage', 0);
} else {
this.$Message.error(ret.message);
... ... @@ -247,6 +249,7 @@ export default {
},
reset() {
this.$refs.filter.reset();
this.search();
},
pageChange(val) {
this.pageData.current = val;
... ...
... ... @@ -96,9 +96,7 @@ export default {
}, {
title: '佣金',
align: 'center',
render: (h, params) => {
return (params.row.lastOrderAmount * (params.row.clearingPercent / 100) * params.row.num).toFixed(2);
}
key: 'commission'
}, {
title: '状态',
key: 'status',
... ... @@ -153,6 +151,7 @@ export default {
},
reset() {
this.$refs.filter.reset();
this.search();
},
pageChange(val) {
this.pageData.current = val;
... ...
... ... @@ -181,6 +181,7 @@ export default {
},
reset() {
this.$refs.filter.reset();
this.search();
},
pageChange(val) {
this.pageData.current = val;
... ...