/** * 补开发票信息 */ import ApiModel from '@/utils/core/apiModel' // 表格信息 const tableList = [ { label: '发票代码', prop: 'invoiceCode', attrs: { width: 'auto' } }, { label: '开票金额', prop: 'invoiceAmt', attrs: { width: 'auto' } }, { label: '开票日期', prop: 'inputDate', attrs: { width: 'auto' } }, { label: '发票销售方', prop: 'invoiceSeller', attrs: { width: 'auto' } }, { label: '发票购买方', prop: 'invoiceBuyer', attrs: { width: 'auto' } }, { prop: 'action', label: '操作管理', attrs: { // width: '260px', fixed: 'right' }, type: 'buttons' } ] export default options => { // 接口地址,required const api = 'server/queryFillOpenInvoiceInfo' return new ApiModel({ api, tableList, request(params) { return this.post(params) } }) }