zhaoxiaoqiang1
2026-01-04 f1d30d03186c79ca2cbcfe60d6d2ce7d73fba97b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/**
 * 贴息开票受理-审核提交
 */
 
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)
    }
  })
}