diff --git a/src/app/routes/financial-management/components/refund-record/refund-record.component.ts b/src/app/routes/financial-management/components/refund-record/refund-record.component.ts index 68c1a15b..ffcec16d 100644 --- a/src/app/routes/financial-management/components/refund-record/refund-record.component.ts +++ b/src/app/routes/financial-management/components/refund-record/refund-record.component.ts @@ -57,6 +57,10 @@ export class RefundRecordComponent implements OnInit { label: '拒绝', type: 'default', onClick: () => { + if (!this.msg) { + this.service.msgSrv.warning('请填写原因') + return false; + } this.service .request(this.service.$api_disagree_refund_record, { applicationId: item.id, @@ -245,10 +249,10 @@ export class RefundRecordComponent implements OnInit { private initST(): STColumn[] { return [ - { title: '退款单号', render: 'orderRefundCode', width: 180 }, - { title: '退款类型', index: 'refundTypeLabel', width: 120 }, + { title: '退款单号', render: 'orderRefundCode', width: 190 }, + { title: '退款类型', index: 'refundTypeLabel', width: 130 }, { title: '退款金额', render: 'refundAmount', className: 'text-right', width: 160 }, - { title: '退款时间', index: 'applyTime', width: 160 }, + { title: '退款时间', index: 'applyTime', width: 170 }, { title: '货主', index: 'shipperId', width: 150 }, { title: '所属项目', index: 'enterpriseProjectName', width: 140 }, { title: '支付单', render: 'billRefundPaymentVOS', width: 150 }, @@ -258,8 +262,8 @@ export class RefundRecordComponent implements OnInit { { title: '收款人', render: 'captain', width: 150 }, { title: '网络货运人', index: 'ltdName', width: 180 }, { title: '银行类型', index: 'bankTypeLabel', width: 120 }, - { title: '退款原因', index: 'rejectionCause', width: 150 }, - { title: '失败原因', index: 'failCause', width: 150 }, + { title: '退款原因', index: 'rejectionCause', width: 170 }, + { title: '失败原因', index: 'failCause', width: 170 }, { title: '操作', fixed: 'right',