/** * 条件查询还款记录 */ import ApiModel from '@/utils/core/apiModel'; // 表单信息 const formList = [{ type: 'textarea', label: '申请编号', value: '', name: 'applyserialnoarray', multiRow: true }, { type: 'input', label: '交易流水号', value: '', name: 'batno', }, { type: 'select', label: '扣款状态', value: '', name: 'repaystatus', options: [{ label: '成功', value: 'S', }, { label: '失败', value: 'F', }, { label: '处理中', value: 'W', }, ], attrs: ['filterable', 'clearable', 'collapse-tags'] }, { type: 'dateRange', label: '交易日期', value: [], name: 'senddateDate', names: ['senddatestart', 'senddateend'] }, { type: 'select', label: '产品名称', value: '', name: 'productname', options: [], attrs: ['filterable', 'clearable', 'collapse-tags'] }, { type: 'input', label: '放款资金单元', value: '', name: 'loanorgname', }, { type: 'input', label: '客户名称', value: '', name: 'customername', }, // { // type: 'select', // label: '渠道', // value: '', // name: 'channel', // options: [], // attrs: ['filterable', 'clearable', 'collapse-tags'] // }, ]; // 表格信息 const tableList = [{ label: '申请编号', prop: 'applyserialno', attrs: { width: '160px', } }, { label: '客户名称', prop: 'customername', attrs: { width: '100px', } }, { label: '产品名称', prop: 'productname', attrs: { width: '120px', } }, { label: '放款资金单元', prop: 'loanorgname', attrs: { width: '120px', } }, { label: '银行账户号', prop: 'bankcardno', attrs: { width: '180px', } }, { label: '银行账户名', prop: 'bankname', attrs: { width: '120px', } }, { label: '还款方式', prop: 'repaytype', attrs: { width: '100px', } }, { label: '订单申请金额', prop: 'applyamount', attrs: { width: '120px', } }, { label: '订单成功金额', prop: 'actualamount', attrs: { width: '120px', } }, { label: '扣款状态', prop: 'repaystatus', attrs: { width: 'auto', } }, { label: '交易名称', prop: 'tranname', attrs: { width: '140px', } }, { label: '交易流水号', prop: 'batno', attrs: { width: '160px', tooltip: true, } }, { label: '更新时间', prop: 'updatetime', attrs: { width: '160px', } }, { label: '交易时间', prop: 'sendtime', attrs: { width: '160px', } }, { label: '实还时间', prop: 'actualtime', attrs: { width: '160px', } }, { label: '入账状态', prop: 'bookstatus', attrs: { width: '100px', } }, { label: '渠道', prop: 'channel', attrs: { width: '140px', } }, { label: '备注', prop: 'remark', attrs: { width: '100px', } }, { label: '线下还款收款账号', prop: 'payeeacc', attrs: { width: '180px', } }, { label: '线下还款操作用户', prop: 'trxopeuser', attrs: { width: '140px', } }, { label: '线下还款收款日期', prop: 'trxdate', attrs: { width: '140px', } }, { label: '转账备注', prop: 'trxremark', attrs: { width: '160px', } }, ]; export default options => { // 接口地址,required const api = '/paymentLog/queryByCondition'; return new ApiModel({ api, formList, tableList, request(params) { return this.post(params); } }); };