/** * 客户还款管理-扣款信息修改 */ import ApiModel from '@/utils/core/apiModel' // 表格信息 const formList = [ { type: 'input', label: '贷款申请编号', name: 'applySerialNo', attrs: ['readonly'] }, { type: 'input', label: '客户名称', name: 'customerName', attrs: ['readonly'] }, { type: 'input', label: '贷款金额', name: 'businessSum', isMoney: true, attrs: ['readonly'] }, { type: 'input', label: '贷款状态', name: 'businessStatusDesc', attrs: ['readonly'] }, { type: 'input', label: '还款开户行', name: 'accountorgDesc', attrs: ['readonly'] }, { type: 'input', label: '还款卡账户名称', name: 'accountName', attrs: ['readonly'] }, { type: 'input', label: '还款卡账户证件号码', name: 'certId', rules: [{ required: true }] }, { type: 'input', label: '银行预留手机号码', name: 'phone', rules: [{ required: true }] } ] export default options => { // 接口地址,required const api = 'server/customerAccountInfoModify' return new ApiModel({ api, formList, request(params) { return this.post(params) } }) }