bugfix: Transaction Record页面total amount显示
This commit is contained in:
@@ -471,9 +471,9 @@ export default defineComponent({
|
||||
filter.dataList = rv.content;
|
||||
filterData.total = rv.total;
|
||||
filter.tableLoading = false;
|
||||
rv.content.forEach((item: any) => {
|
||||
filterData.totalPayer += Number(item.payerTotal)
|
||||
})
|
||||
filterData.totalPayer = rv.content.reduce((sum: number, item: any) => {
|
||||
return sum + Number(item.payerTotal);
|
||||
}, 0);
|
||||
|
||||
// this.workspaceItem.position = this.singleTypeList[0].label
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user