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',