bugfix: Transaction Record页面total amount显示

This commit is contained in:
2026-01-05 16:03:55 +08:00
parent ebd5ceac41
commit fa3063b3b5

View File

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