/** * 中航信托线下转账还款通知-贷款信息详情查询 */ import ApiModel from '@/utils/core/apiModel' // 表单信息 const formList = [ { type: 'input', label: '贷款申请编号', value: '', name: 'applyserialNo', attrs: ['readonly'] }, { type: 'input', label: '借据编号', value: '', name: 'serialNo', attrs: ['readonly'] }, { type: 'input', label: '客户名称', value: '', name: 'customerName', attrs: ['readonly'] }, { type: 'input', label: '产品名称', value: '', name: 'productName', attrs: ['readonly'] }, { type: 'input', label: '产品维度名称', value: '', name: 'productDimensionName', attrs: ['readonly'] }, { type: 'input', label: '贷款发放日期', value: '', name: 'putoutDate', attrs: ['readonly'] }, { type: 'input', label: '本金余额', value: '', name: 'payprincipalAmt', attrs: ['readonly'], isMoney: true }, { type: 'input', label: '利息余额', value: '', name: 'payinterestAmt', attrs: ['readonly'], isMoney: true }, { type: 'input', label: '费用余额', value: '', name: 'feeAmt', attrs: ['readonly'], isMoney: true }, { type: 'input', label: '罚息余额', value: '', name: 'payprincipalpenaltyAmt', attrs: ['readonly'], isMoney: true }, { type: 'input', label: '剩余应还总金额', value: '', name: 'totalAmt', attrs: ['readonly'], isMoney: true }, { type: 'input', label: '逾期天数', value: '', name: 'overdueDays', attrs: ['readonly'] } ] export default options => { // 接口地址,required const api = 'server/queryLoanZhTrustDetail' return new ApiModel({ api, formList, request(params) { return this.post(params) } }) }