/** * 通道清算款列表 */ import ApiModel from '@/utils/core/apiModel'; // 表单信息 const formList = [ { type: 'dateRange', label: '交易日期', value: [], name: 'putoutDate', names: ['beginDate', 'endDate'] }, { type: 'select', label: '核对结果', value: '', name: 'checkStatus', options: [] }, { type: 'input', label: '状态', value: '', name: 'status' }, { type: 'input', label: '支付公司', value: '', name: 'payCompany' }, { type: 'input', label: '商户号', value: '', name: 'merId' } ]; // 表格信息 const tableList = [ { label: '交易开始日期', prop: 'beginDate' }, { label: '交易结束日期', prop: 'endDate' }, { label: '银行到账日期', prop: 'arriveDate' }, { label: '支付公司', prop: 'payCompany' }, { label: '商户号', prop: 'merId' }, { label: '银行到账金额', prop: 'bankMoney', isMoney: true }, { label: '支付收款金额', prop: 'payMoney', isMoney: true }, { label: '核心应收款金额', prop: 'coreMoney', isMoney: true }, { label: '核对结果', prop: 'checkStatusName' }, { label: '状态', prop: 'statusName' }, { label: '创建用户', prop: 'inputUserName' }, { label: '创建时间', prop: 'inputData', }, { label: '完成时间', prop: 'updateDate', }, { prop: 'action', label: '操作管理', attrs: { // width: '260px', fixed: 'right' }, type: 'buttons' } ]; export default options => { // 接口地址,required const api = 'voucherLiquidation/query'; return new ApiModel({ api, formList, tableList, request(params) { return this.post(params); } }); };