/** * 息费退款-借据信息详情 */ import ApiModel from '@/utils/core/apiModel' // 表格信息 const formList = [ { type: 'input', attrs: ['readonly'], label: '贷款申请编号', name: 'applySerialno' }, { type: 'input', attrs: ['readonly'], label: '借据编号', name: 'loanSerialno' }, { type: 'input', attrs: ['readonly'], label: '客户名称', name: 'customerName' }, { type: 'input', attrs: ['readonly'], label: '业务状态', name: 'businessStatusDesc' }, { type: 'input', attrs: ['readonly'], label: '贷款状态', name: 'loanStatusDesc' }, { type: 'input', attrs: ['readonly'], label: '产品名称', name: 'productName' }, { type: 'input', attrs: ['readonly'], label: '产品维度名称', name: 'dimensionsName' }, { type: 'input', attrs: ['readonly'], label: '贷款发放日期', name: 'putoutDate' }, { type: 'input', attrs: ['readonly'], label: '贷款金额', name: 'businessSum', isMoney: true }, { type: 'input', attrs: ['readonly'], label: '逾期天数', name: 'overDueDays' }, { type: 'input', attrs: ['readonly'], label: '还款方式', name: 'termIdDesc' }, { type: 'input', attrs: ['readonly'], label: '贷款期限', name: 'loanTerm' }, { type: 'input', attrs: ['readonly'], label: '剩余期限', name: 'residueTerm' }, { type: 'input', attrs: ['readonly'], label: '本金余额', name: 'residueTerm', isMoney: true }, { type: 'input', attrs: ['readonly'], label: '已还利息金额', name: 'umPayInterestAmtSum', isMoney: true }, { type: 'input', attrs: ['readonly'], label: '已还手续费金额', name: 'umPayInterestAmtA1Sum', isMoney: true }, { type: 'input', attrs: ['readonly'], label: '已还担保费金额', name: 'umPayInterestAmtA3Sum', isMoney: true }, { type: 'input', attrs: ['readonly'], label: '已还平台服务费金额', name: 'umPayInterestAmtA2Sum', isMoney: true }, { type: 'input', attrs: ['readonly'], label: '已还提前还款违约金金额', name: 'umPayInterestAmtA5Sum', isMoney: true }, { type: 'input', attrs: ['readonly'], label: '已还展期费金额', name: 'umPayInterestAmtA6Sum', isMoney: true }, { type: 'input', attrs: ['readonly'], label: '已还还款计划变更费金额', name: 'umPayInterestAmtA8Sum', isMoney: true }, { type: 'input', attrs: ['readonly'], label: '已还逾期罚息金额', name: 'umPayInterestAmtA4Sum', isMoney: true }, { type: 'input', attrs: ['readonly'], label: '已还息费总金额', name: 'balance', isMoney: true }, { type: 'input', attrs: ['readonly'], label: '收款账户户名', name: 'accountname' // isMoney: true }, { type: 'input', attrs: ['readonly'], label: '收款账户账号', name: 'accountno' // isMoney: true }, { type: 'input', attrs: ['readonly'], label: '收款账户开户行', name: 'accountingorgName' // isMoney: true } ] // const firstForm = [ // { // "label": "正常/逾期本金余额", // "name": "umPayPrinciPalAmtSum", // isMoney: true // }, // { // "label": "正常/逾期利息余额", // "name": "umPayInterestAmtSum", // isMoney: true // }, // { // "label": "正常/逾期手续费余额", // "name": "umPayInterestAmtA1Sum", // isMoney: true // }, // { // "label": "正常/逾期担保费余额", // "name": "umPayInterestAmtA3Sum", // isMoney: true // }, // { // "label": "正常/逾期平台服务费余额", // "name": "umPayInterestAmtA2Sum", // isMoney: true // }, // { // "label": "正常/逾期提前还款违约金余额", // "name": "umPayInterestAmtA5Sum", // isMoney: true // }, // { // "label": "正常/逾期展期费余额", // "name": "umPayInterestAmtA6Sum", // isMoney: true // }, // { // "label": "正常/逾期还款计划变更费余额", // "name": "umPayInterestAmtA8Sum", // isMoney: true // }, // { // "label": "逾期罚息余额", // "name": "umPayInterestAmtA4Sum", // isMoney: true // }, // { // "label": "正常/逾期总余额", // "name": "balance", // isMoney: true // } // ] // const otherForm = [ // { // "label": "本金余额", // "name": "umPayPrinciPalAmtSum", // isMoney: true // }, // { // "label": "利息余额", // "name": "umPayInterestAmtSum", // isMoney: true // }, // { // "label": "手续费余额", // "name": "umPayInterestAmtA1Sum", // isMoney: true // }, // { // "label": "担保费余额", // "name": "umPayInterestAmtA3Sum", // isMoney: true // }, // { // "label": "平台服务费余额", // "name": "umPayInterestAmtA2Sum", // isMoney: true // }, // { // "label": "提前还款违约金余额", // "name": "umPayInterestAmtA5Sum", // isMoney: true // }, // { // "label": "展期费余额", // "name": "umPayInterestAmtA6Sum", // isMoney: true // }, // { // "label": "还款计划变更费余额", // "name": "umPayInterestAmtA8Sum", // isMoney: true // }, // { // "label": "逾期罚息余额", // "name": "umPayInterestAmtA4Sum", // isMoney: true // }, // { // "label": "剩余应还总金额", // "name": "balance", // isMoney: true // } // ] export default (options = {}) => { // 接口地址: required const api = 'server/queryRefundAcctLoanInfo' return new ApiModel({ api, formList, request(params) { return this.post(params) } }) }