/** * 对资还款记录表 */ import ApiModel from '@/utils/core/apiModel' const formList = [ { type: 'dateRange', label: '应还日期', value: [], name: 'repayData', names: ['repayStartDay', 'repayEndDay'] }, { type: 'dateRange', label: '客户实还日期', value: [], name: 'actRepay', names: ['actRepayStartDay', 'actRepayEndDay'] }, { type: 'input', label: '申请编号', value: '', name: 'busiNo' }, { type: 'select', label: '产品名称', value: '', name: 'productCode', options: [], attrs: ['filterable', 'clearable', 'collapse-tags'] }, { type: 'select', label: '放款资金单元', value: '', name: 'fundUnitNo', options: [], attrs: ['filterable', 'collapse-tags'] }, { type: 'select', label: '资产包版本', value: '', name: 'bizPlatform', options: [ {value: 'hb_XT_WM', label: '外贸一期'}, {value: 'hb_XT_WM_2', label: '外贸二期'}, ], attrs: ['filterable', 'multiple', 'clearable', 'collapse-tags'] }, { type: 'select', label: '还款类型', value: '', name: 'repayType', options: [ {value: '0', label: '正常还款'}, {value: '06', label: '提前结清'}, {value: '2', label: '回购'}, {value: '1', label: '代偿'}, ], attrs: ['filterable', 'clearable', 'collapse-tags'] }, ] // 表格信息 const tableList = [ { label: '申请编号', prop: 'applySerialNo', attrs: { width: '120' } }, { label: '产品名称', prop: 'productCode', attrs: { width: '120' } }, { label: '放款资金单元', prop: 'fundUnitNo', attrs: { width: '120' } }, { label: '资产包版本', prop: 'bizPlatform', attrs: { width: '120' } }, { label: '贷款发放日期', prop: 'releaseDate', attrs: { width: '120' } }, { label: '应还日期', prop: 'dueDate', attrs: { width: '120' } }, { label: '客户名称', prop: 'userName', attrs: { width: '100' } }, { label: '借据状态', prop: 'loanStatus', attrs: { width: '100' } }, { label: '还款期次', prop: 'periodNo', attrs: { width: '100' } }, { label: '年利率', prop: 'yearRate', attrs: { width: '100' } }, { label: '还款类型', prop: 'payType', attrs: { width: '100' } }, { label: '应还本金', prop: 'needPrincipal', attrs: { width: '100' } }, { label: '应还利息', prop: 'needInterest', attrs: { width: '100' } }, { label: '资方应还本金', prop: 'loanNeedPrincipal', attrs: { width: '110' } }, { label: '资方应还利息', prop: 'loanNeedInterest', attrs: { width: '110' } }, { label: '累计已还本金', prop: 'hasPrincipal', attrs: { width: '110' } }, { label: '累计已还利息', prop: 'hasInterest', attrs: { width: '110' } }, { label: '剩余本金', prop: 'lastPrincipal', attrs: { width: '100' } }, { label: '剩余利息', prop: 'remainInterest', attrs: { width: '100' } }, { label: '应还总金额', prop: 'dueTotal', attrs: { width: '100' } }, { label: '贷款金额', prop: 'creditAmount', attrs: { width: '100' } }, { label: '贷款期限', prop: 'totalPeriodNo', attrs: { width: '100' } }, { label: '省份', prop: 'storeProvince', attrs: { width: '100' } }, { label: '还款方式', prop: 'payWay', attrs: { width: '100' } }, { label: '实还日期', prop: 'customerFinishDate', attrs: { width: '100' } }, { label: '实还总金额', prop: 'actualTotal', attrs: { width: '100' } }, { label: '实还本金', prop: 'recePrincipal', attrs: { width: '100' } }, { label: '实还利息', prop: 'receInterest', attrs: { width: '100' } }, { label: '实还手续费', prop: 'recePoundAge', attrs: { width: '100' } }, { label: '实还其他费项', prop: 'actualOther', attrs: { width: '110' } }, { label: '对资实还日期', prop: 'finishDate', attrs: { width: '110' } }, { label: '大众融资租赁利率', prop: 'dzRate', attrs: { width: '140' } }, { label: 'ABS入池版本', prop: 'partnerAbs', attrs: { width: '110' } }, { label: '线下还款金额', prop: 'offLineTotal', attrs: { width: '110' } }, // { // prop: 'action', // label: '操作管理', // attrs: { // fixed: 'right' // }, // type: 'buttons' // } ] export default options => { // 接口地址,required const api = 'server/selFinanceLoanReapyReport' return new ApiModel({ api, formList, tableList, request(params) { return this.post(params) } }) }