From ef798b16b5d3668db131a1e72d8dbf4e15b7b2c9 Mon Sep 17 00:00:00 2001 From: Taric Xin Date: Wed, 23 Feb 2022 11:22:39 +0800 Subject: [PATCH] edit --- .../withdrawals-record/withdrawals-record.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/routes/financial-management/components/withdrawals-record/withdrawals-record.component.ts b/src/app/routes/financial-management/components/withdrawals-record/withdrawals-record.component.ts index 01efba5b..aef18902 100644 --- a/src/app/routes/financial-management/components/withdrawals-record/withdrawals-record.component.ts +++ b/src/app/routes/financial-management/components/withdrawals-record/withdrawals-record.component.ts @@ -54,7 +54,7 @@ export class WithdrawalsRecordComponent implements OnInit { switch (e.type) { case 'checkbox': this.selectedRows = e.checkbox!; - this.totalCallNo = (this.selectedRows.reduce((total, cv) => total + cv.amount, 0)).toFixed(2);; + this.totalCallNo = this.selectedRows.reduce((total, cv) => total + cv.amount, 0).toFixed(2); break; } } @@ -259,7 +259,7 @@ export class WithdrawalsRecordComponent implements OnInit { { title: '提现状态', index: 'refundStatusLabel', width: 100 }, { title: '银行流水号', index: 'bankSerialNumber', width: 120 }, { title: '核心交易流水', index: 'coreSerNo', width: 120 }, - { title: '失败原因', index: 'failCause', width: 150 }, + { title: '失败原因', index: 'rejectionCause', width: 150, format: item => item.failCause || item.rejectionCause }, { title: '操作', fixed: 'right',