/** * 贴息开票受理-审核提交 */ import ApiModel from '@/utils/core/apiModel' // 表格信息 const formList = [ { type: 'select', label: '审批结果', value: '', name: 'approveCode', options: [], rules: [{ required: true }] }, { type: 'textarea', label: '审批意见', name: 'approveOpinion', style: { height: '360px' }, rules: [{ required: true }, { maxLength: 3000 }] }, { type: 'input', label: '审批人', name: 'approveUserName', attrs: ['readonly'] }, { type: 'input', label: '审批机构', name: 'approveOrgName', attrs: ['readonly'] }, { type: 'input', label: '审批时间', name: 'approveTime', attrs: ['readonly'] } ] export default options => { // 接口地址,required const api = 'server/approveSubmitDiscountInvoice' return new ApiModel({ api, formList, request(params) { return this.post(params) } }) }