edit
This commit is contained in:
		| @ -57,6 +57,10 @@ export class RefundRecordComponent 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_record, { |               .request(this.service.$api_disagree_refund_record, { | ||||||
|                 applicationId: item.id, |                 applicationId: item.id, | ||||||
| @ -245,10 +249,10 @@ export class RefundRecordComponent implements OnInit { | |||||||
|  |  | ||||||
|   private initST(): STColumn[] { |   private initST(): STColumn[] { | ||||||
|     return [ |     return [ | ||||||
|       { title: '退款单号', render: 'orderRefundCode', width: 180 }, |       { title: '退款单号', render: 'orderRefundCode', width: 190 }, | ||||||
|       { title: '退款类型', index: 'refundTypeLabel', width: 120 }, |       { title: '退款类型', index: 'refundTypeLabel', width: 130 }, | ||||||
|       { title: '退款金额', render: 'refundAmount', className: 'text-right', width: 160 }, |       { 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: 'shipperId', width: 150 }, | ||||||
|       { title: '所属项目', index: 'enterpriseProjectName', width: 140 }, |       { title: '所属项目', index: 'enterpriseProjectName', width: 140 }, | ||||||
|       { title: '支付单', render: 'billRefundPaymentVOS', width: 150 }, |       { title: '支付单', render: 'billRefundPaymentVOS', width: 150 }, | ||||||
| @ -258,8 +262,8 @@ export class RefundRecordComponent implements OnInit { | |||||||
|       { title: '收款人', render: 'captain', width: 150 }, |       { title: '收款人', render: 'captain', width: 150 }, | ||||||
|       { title: '网络货运人', index: 'ltdName', width: 180 }, |       { title: '网络货运人', index: 'ltdName', width: 180 }, | ||||||
|       { title: '银行类型', index: 'bankTypeLabel', width: 120 }, |       { title: '银行类型', index: 'bankTypeLabel', width: 120 }, | ||||||
|       { title: '退款原因', index: 'rejectionCause', width: 150 }, |       { title: '退款原因', index: 'rejectionCause', width: 170 }, | ||||||
|       { title: '失败原因', index: 'failCause', width: 150 }, |       { title: '失败原因', index: 'failCause', width: 170 }, | ||||||
|       { |       { | ||||||
|         title: '操作', |         title: '操作', | ||||||
|         fixed: 'right', |         fixed: 'right', | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user