/** * 息费退款申请信息详情 */ import ApiModel from '@/utils/core/apiModel'; // 表单信息 const formList = [ { type: 'select', label: '退款方式', value: '', name: 'refundway', options:[], rules: [{ required: true }] // attrs: [], // rules: [{ required: true }] }, { type: 'input', label: '利息退款金额', value: '', name: 'waiveinterestamt', isMoney: true // attrs: ['readonly'] }, // { // type: 'input', // label: '罚息退款后金额', // value: '', // name: 'applyTime', // attrs: ['readonly'] // }, { type: 'input', label: '罚息退款金额', value: '', name: 'waiveprincipalpenaltyamt', isMoney: true // attrs: ['readonly'] }, { type: 'input', label: '手续费退款金额', value: '', name: 'waivepoundage', isMoney: true // attrs: ['readonly'] }, { type: 'input', label: '平台服务费退款金额', value: '', name: 'waiveservicefee', isMoney: true // attrs: ['readonly'] }, { type: 'input', label: '担保费退款金额', value: '', name: 'waiveguarantee', isMoney: true // attrs: ['readonly'] }, { type: 'input', label: '提前还款违约金退款金额', value: '', name: 'waiveprepaypenaltyamt', isMoney: true // attrs: ['readonly'] }, { type: 'input', label: '展期费退款金额', value: '', name: 'waiverenewalfee', isMoney: true // attrs: ['readonly'] }, { type: 'input', label: '还款计划变更费退款金额', value: '', name: 'waiverepaymentplanchangefee', isMoney: true // attrs: ['readonly'] }, { type: 'input', label: '息费退款总金额', value: '', name: 'actualwaiveamt', isMoney: true, attrs: ['readonly'] }, { type: 'input', label: '退款比例', value: '', name: 'rate', attrs: ['readonly'] }, { type: 'input', label: '申请原因', value: '', name: 'remark', attrs: [], rules: [{ required: true }] }, { type: 'input', label: '申请时间', value: '', name: 'inputTime', attrs: ['readonly'] }, { type: 'input', label: '申请人', value: '', name: 'inputUserName', attrs: ['readonly'] }, { type: 'input', label: '申请人直属机构', value: '', name: 'inputOrgName', attrs: ['readonly'] }, ]; export default options => { // 接口地址,required const api = 'server/queryReductionApplyInfo'; return new ApiModel({ api, formList, request(params) { return this.post(params); }, computedItem(item) { let { taskKey, taskName } = item return { label: taskName, value: taskKey } } }); };