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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
| /*
| * @Author: lixiong
| * @Date: 2019-08-21 14:35:07
| * @Last Modified by: lixiong
| * @Last Modified time: 2019-11-05 16:29:35
| */
|
| /**
| * 虚拟认领确认
| */
|
| import ApiModel from '@/utils/core/apiModel'
|
| // 表单信息
| const formList = [
| {
| "type": "input",
| "label": "银行流水",
| "value": "",
| "name": "trxnBr",
| "attrs": [
| "readonly"
| ]
| },
| {
| "type": "input",
| "label": "鹏友收款账户账号",
| "value": "",
| "name": "acctNo",
| "attrs": [
| "readonly"
| ]
| },
| {
| "type": "input",
| "label": "鹏友收款账户户名",
| "value": "",
| "name": "rpyNam",
| "attrs": [
| "readonly"
| ]
| },
| {
| "type": "input",
| "label": "鹏友收款账户开户行",
| "value": "",
| "name": "bankName",
| "attrs": [
| "readonly"
| ]
| },
| {
| "type": "input",
| "label": "转账付方账号",
| "value": "",
| "name": "rpyAcc",
| "attrs": [
| "readonly"
| ]
| },
| {
| "type": "input",
| "label": "转账付方户名",
| "value": "",
| "name": "rpyCustomerNam",
| "attrs": [
| "readonly"
| ]
| },
| {
| "type": "input",
| "label": "转账付方开户银行",
| "value": "",
| "name": "rpyBnk",
| "attrs": [
| "readonly"
| ]
| },
| {
| "type": "input",
| "label": "收付金额",
| "value": "",
| "name": "crtAmt",
| "attrs": [
| "readonly"
| ],
| "isMoney": true
| },
| {
| "type": "input",
| "label": "收款日期",
| "value": "",
| "name": "etyDat",
| "attrs": [
| "readonly"
| ]
| },
| {
| "type": "input",
| "label": "转账备注",
| "value": "",
| "name": "trxTxt",
| "attrs": [
| "readonly"
| ]
| }
| ]
|
| const otherForm = [
| {
| "type": "input",
| "label": "虚拟认领金额",
| "value": "",
| "name": "coreBalance",
| "attrs": [
| "readonly"
| ],
| "isMoney": true
| }
| ]
|
| const cancleForm = [
| {
| "type": "input",
| "label": "撤销虚拟认领金额",
| "value": "",
| "name": "virtualAmount",
| "attrs": [
| "readonly"
| ],
| "isMoney": true
| }
| ]
|
|
| export default options => { // options 是否虚拟认领撤销
| // 接口地址: required
| const api = 'server/virtualClaimConfirm'
| return new ApiModel({
| api,
| formList: options ? [...formList, ...cancleForm] : [...formList, ...otherForm],
| request(body) {
| return this.post(body)
| }
| })
| }
|
|