This commit is contained in:
Taric Xin
2022-02-24 20:28:25 +08:00
parent c1c36543e7
commit 5687f333aa

View File

@ -80,6 +80,10 @@ export class WithdrawalsRecordComponent implements OnInit {
label: '拒绝', label: '拒绝',
type: 'default', type: 'default',
onClick: () => { onClick: () => {
if (!this.msg) {
this.service.msgSrv.warning('请填写拒绝原因 ');
return false;
}
this.service this.service
.request(this.service.$api_disagree_refund, { .request(this.service.$api_disagree_refund, {
refundApplicationId: params, refundApplicationId: params,
@ -92,6 +96,7 @@ export class WithdrawalsRecordComponent implements OnInit {
this.st.load(1); this.st.load(1);
} }
}); });
return false;
} }
}, },
{ {
@ -110,6 +115,7 @@ export class WithdrawalsRecordComponent implements OnInit {
this.st.load(1); this.st.load(1);
} }
}); });
return false;
} }
} }
] ]
@ -258,7 +264,7 @@ export class WithdrawalsRecordComponent implements OnInit {
{ title: '提现银行账户', render: 'bankCardNumber', width: 180 }, { title: '提现银行账户', render: 'bankCardNumber', width: 180 },
{ title: '提现状态', index: 'refundStatusLabel', width: 100 }, { title: '提现状态', index: 'refundStatusLabel', width: 100 },
{ title: '银行流水号', index: 'bankSerialNumber', width: 120 }, { title: '银行流水号', index: 'bankSerialNumber', width: 120 },
{ title: '核心交易流水', index: 'coreSerNo', width: 120 }, { title: '核心交易流水', index: 'coreSerNo', width: 130 },
{ title: '失败原因', index: 'rejectionCause', width: 150, format: item => item.failCause || item.rejectionCause }, { title: '失败原因', index: 'rejectionCause', width: 150, format: item => item.failCause || item.rejectionCause },
{ {
title: '操作', title: '操作',