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