accountManage.js
8.84 KB
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
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
import request from "./request";
const path = "dj.api.reconciliation.template.";
// 对账模版列表
export function getTmplList(data) {
data.method = `${path}page`;
return request(data);
}
// 删除模版记录
export function deleteTmpl(data) {
data.method = `${path}deleteById`;
return request(data, "post");
}
// 根据ID查询详细信息
export function getTmplById(data) {
data.method = `${path}getById`;
return request(data, "post");
}
// 新增或编辑对账模板
export function tmplAddOrEdit(data) {
data.method = `${path}addOrUpdate`;
return request(data, "post");
}
// 对账模板元数据(流量方对账单,服务商对账单)
export function getMetaTmpl(data) {
data.method = `${path}metadata.groupByModule`;
return request(data, "post");
}
// 对账单管理列表
export function getBillList(data) {
data.method = "dj.api.smartcarlife.reconciliationBill.page";
return request(data);
}
// 根据对账单ID查询待确认内容
export function getBillDetailList(data) {
data.method = "dj.api.smartcarlife.reconciliationBill.confirmContentPage";
return request(data);
}
// 系统分账-财务直接下载对账单(通过自定义字段,获取对账单字段和数据)
export function getBillTmplAdapter(data) {
data.method = "dj.api.smartcarlife.reconciliationBill.generateUseRequestAdapter";
return request(data, "post");
}
// 对账单测算
export function billCompute(data) {
data.method = "dj.api.smartcarlife.reconciliationBill.computeByJson";
return request(data, "post");
}
// 对账单测算-分页
export function billComputePage(data) {
// data.method = 'dj.api.smartcarlife.reconciliationBill.computeByIncr.json'
data.method
= "dj.api.smartcarlife.reconciliationBill.computeByIncr.filter.json";
return request(data, "post");
}
// 对账单编辑
export function editBill(data) {
data.method = "dj.api.smartcarlife.reconciliationBill.updateByJson";
return request(data, "post");
}
// 对账单编辑-分页
export function editBillPage(data) {
data.method = "dj.api.smartcarlife.reconciliationBill.updateByIncrByJson";
return request(data, "post");
}
export function billDetail(data) {
data.method = "dj.api.smartcarlife.reconciliationBill.detail";
return request(data, "post");
}
// 对账单详情-分页
export function billDetailPage(data) {
data.method = "dj.api.smartcarlife.reconciliationBill.detail.withOrderPage";
return request(data, "post");
}
// 根据服务商商户号分页获取4S店列表
export function getShopList(data) {
data.method = "dj.api.scenemerchantref.queryShopRefByPartnerShopPage";
return request(data);
}
// 对账单确认
export function billConfirm(data) {
data.method = "dj.api.smartcarlife.reconciliationBill.confirm";
return request(data, "post");
}
// 对账单取消
export function billCancel(data) {
data.method = "dj.api.smartcarlife.reconciliationBill.cancel";
return request(data, "post");
}
// 对账单待确认内容确认
export function billConfirmChange(data) {
data.method = "dj.api.smartcarlife.reconciliationBill.confirmChange";
return request(data, "post");
}
// 对账单待取消内容确认
export function billCancelChange(data) {
data.method = "dj.api.smartcarlife.reconciliationBill.cancelChange";
return request(data, "post");
}
// 对账单待取消内容确认
export function tmplCheckField(data) {
data.method = "dj.api.reconciliation.template.checkField";
return request(data, "post");
}
// 生成应付单
export function createPaymentBill(data) {
data.method = "dj.api.smartcarlife.reconciliationBill.jd.payment.bill";
return request(data, "post");
}
// 生成应付单
export function createReceiptBill(data) {
data.method = "dj.api.smartcarlife.reconciliationBill.jd.receipt";
return request(data, "post");
}
// 根据4s店获取服务商列表
export function getServiceByShopList(data) {
data.method = "dj.api.scenemerchantref.queryServiceRefByShop";
return request(data, "post");
}
// 生成服务商对账单
export function createServiceBill(data) {
data.method = "dj.api.smartcarlife.reconciliationBill.partner.generate";
return request(data, "post");
}
// 获取退款订单-4s订单分页
export function getRefundOrderPage(data) {
data.method = "dj.api.smartcarlife.ordermanage.shop.merchant.order";
return request(data, "post");
}
// 合并门店退款订单到对账单
export function mergeRefundOrder(data) {
data.method = "dj.api.smartcarlife.reconciliationBill.merge.refund.order";
return request(data, "post");
}
// 查询应付转账信息
export function getBillTransferInfo(data) {
data.method = "dj.api.smartcarlife.reconciliationBill.transfer.out.info";
return request(data, "post");
}
// 应付转账
export function editBillTransferOut(data) {
data.method = "dj.api.smartcarlife.reconciliationBill.transfer.out";
return request(data, "post");
}
// 应付转账转账记录
export function getTransferRecord(data) {
data.method = "dj.api.smartcarlife.reconciliationBill.get.transfer.out.record";
return request(data, "post");
}
// 市场费转账-平台方选择
export function getMarketTransferPlatformMerchants(data) {
data.method = "dj.api.smartcarlife.reconciliationBill.platform.merchant.select";
return request(data, "post");
}
// 市场费转账-金额展示
export function getMarketTransferFeeShow(data) {
data.method = "dj.api.smartcarlife.reconciliationBill.transfer.market.fee.show";
return request(data, "post");
}
// 市场费转账-提交
export function submitMarketTransferFee(data) {
data.method = "dj.api.smartcarlife.reconciliationBill.transfer.market.fee";
return request(data, "post");
}
// 市场费转账下载明细
export function downloadMarketTransferDetail(data) {
data.method = "dj.api.smartcarlife.reconciliationBill.transfer.market.fee.download";
return request(data, "post");
}
// 市场费转账 - 查询对账单已发起审批或审批通过的费用类型
export function queryMarketTransferFee(data) {
data.method = "dj.api.smartcarlife.reconciliationBill.transfer.market.fee.query";
return request(data, "post");
}
// 市场费转账-收款账户
export function getMarketTransferBankAccounts(data) {
data.method = "dj.api.smartcarlife.merchantBankEnterpriseAccount.listWithPage";
return request(data, "post");
}
// 导入对账单
export function importReconciliationBill(data) {
data.method = "dj.api.smartcarlife.reconciliationBill.import";
// base64 文件内容较大,按现有签名规则排除 file 字段。
return request(data, "post", ["file"]);
}
// 查询导入进度
export function getImportExcelProcess(data) {
data.method = "dj.api.common.importExcel.async.queryProcess";
return request(data, "post");
}
// 应收应付列表
export function getJdBillList(data) {
data.method = "dj.smartcarlife.api.jdbill.page";
return request(data);
}
// 应收应付单-详情分页列表查询
export function getJdDetailPage(data) {
data.method = "dj.smartcarlife.api.jdbill.detail.page";
return request(data);
}
// 金蝶-客户分页查询
export function getJdCustPage(data) {
data.method = "dj.smartcarlife.api.jdbill.kingdee.cust.page";
return request(data);
}
// 金蝶-发票类型分页列表查询
export function getJdInvoiceTypePage(data) {
data.method = "dj.smartcarlife.api.jdbill.kingdee.invoice.type.page";
return request(data);
}
// 金蝶-组织分页查询
export function getJdOrgPage(data) {
data.method = "dj.smartcarlife.api.jdbill.kingdee.org.page";
return request(data);
}
// 金蝶-供应商分页列表查询
export function getJdSupplierPage(data) {
data.method = "dj.smartcarlife.api.jdbill.kingdee.supplier.page";
return request(data);
}
// 金蝶-物料分页查询
export function getJdMaterialPage(data) {
data.method = "dj.smartcarlife.api.jdbill.kingdee.material.page";
return request(data);
}
// 金蝶-业务类型分页列表查询
export function getJdBusinessPage(data) {
data.method = "dj.smartcarlife.api.jdbill.kingdee.business.type.page";
return request(data);
}
// 金蝶-税率分页查询
export function getJdTaxratePage(data) {
data.method = "dj.smartcarlife.api.jdbill.kingdee.taxrate.page";
return request(data);
}
// 应收应付单-明细更新
export function updateJdDetail(data) {
data.method = "dj.smartcarlife.api.jdbill.detail.update";
return request(data, "post");
}
// 应收应付单 - 用户手动新增明细
export function addJdDetail(data) {
data.method = "dj.smartcarlife.api.jdbill.detail.add";
return request(data, "post");
}
// 应收应付单-删除明细-仅手动新增的明细可删
export function deleteJdDetail(data) {
data.method = "dj.smartcarlife.api.jdbill.detail.delete";
return request(data, "post");
}
// 应收应付单-删除明细-仅手动新增的明细可删
export function push2Jd(data) {
data.method = "dj.smartcarlife.api.jdbill.push2kingdee";
return request(data, "post");
}
// 日志列表查询
export function getJdBillLog(data) {
data.method = "dj.smartcarlife.api.jdbill.log";
return request(data, "post");
}