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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
import request from '@/utils/request'
// 可开发票列表
export function invoiceListStatics(params) {
return request({
url: '/receipt/openOrderList',
method: 'get',
params
})
}
// 可开发票-订单详情
export function orderListInvo(params) {
return request({
url: '/receipt/orderList',
method: 'get',
params
})
}
// 可开发票-订单详情-导出列表
export function getOrderListExport(params) {
return request({
url: '/receipt/orderListExport',
method: 'get',
params
})
}
// 可开发票-申请开票-发票抬头
export function receipt(params) {
return request({
url: '/operate/receipt/getReceipt',
method: 'get',
params
})
}
// 可开发票-申请开票-保存发票抬头
export function updateReceipt(data) {
return request({
url: '/operate/receipt/updateReceipt',
method: 'post',
data
})
}
// 可开发票-申请开票-领取方式
export function addressList(params) {
return request({
url: '/operate/receipt/getAddressList',
method: 'get',
params
})
}
// 可开发票-申请开票-领取方式-设为默认
export function setAddress(data) {
return request({
url: '/operate/receipt/setAddress',
method: 'post',
data
})
}
// 可开发票-申请开票-领取方式-编辑
export function updateAddress(data) {
return request({
url: '/operate/receipt/updateAddress',
method: 'post',
data
})
}
// 可开发票-申请开票-领取方式-删除
export function delAddress(data) {
return request({
url: '/operate/receipt/delAddress',
method: 'post',
data
})
}
// 可开发票-申请开票-领取方式-添加
export function addAddress(data) {
return request({
url: '/operate/receipt/addAddress',
method: 'post',
data
})
}
// 可开发票-申请开票-提交开票
export function saveReceipt(data) {
return request({
url: '/receipt/invoice',
method: 'post',
data
})
}
// 可开发票-申请开票-去支付
export function createReceipt(data) {
return request({
url: '/receipt/createReceipt',
method: 'post',
data
})
}
// 可开发票-申请开票-验证是否设置密码
export function accountSafePwd(params) {
return request({
url: '/accountSafePwd',
method: 'get',
params
})
}
// 可开发票-申请开票-余额支付
export function notifyReceipt(data) {
return request({
url: '/receipt/balanceNotify',
method: 'post',
data
})
}
// 可开发票-申请开票-支付宝支付
export function pay(data) {
return request({
url: '/receipt/pay',
method: 'post',
data
})
}
// 支付验证
export function checkNotify(params) {
return request({
url: '/checkNotify',
method: 'get',
params
})
}
// 开票记录列表
export function invoiceList(params) {
return request({
url: '/invoicesmanagement/invoiceList',
method: 'get',
params
})
}
// 开票记录-发票详情
export function invoiceInfo(params) {
return request({
url: '/invoicesmanagement/getInvoiceInfo',
method: 'get',
params
})
}
// 【new】发票用户信息详情
export function receiptUserInfo(params) {
return request({
url: '/receipt/receiptUserInfo',
method: 'get',
params
})
}
// 【new】发票用户信息编辑
export function addUserReceiptInfo(data) {
return request({
url: '/receipt/receiptUserInfoEdit',
method: 'post',
data
})
}