finance.js
1.75 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
import request from "./request";
const path = "dj.api.smartcarlife.";
export function getSummary(data) {
data.method = `${path}goodsOrderProfitAllocation.statistics`;
return request(data);
}
export function getList(data) {
data.method = `${path}goodsOrderProfitAllocation.page.byOrder`;
return request(data);
}
export function getYqList(data) {
data.method = `${path}goodsOrderProfitAllocation.page.bySubOrder`;
return request(data);
}
export function getListTotal(data) {
data.method = `${path}goodsOrderProfitAllocation.page.count`;
return request(data);
}
export function exportFile(data) {
data.method = `${path}goodsOrderProfitAllocation.export`;
return request(data);
}
export function getServicerefApi(data) {
data.method = `${path}get.service.ref`;
return request(data);
}
export function getServiceListApi(data) {
data.method = `${path}goodsOrderProfitAllocation.page.bySubOrder`;
return request(data);
}
export function getServiceSummaryApi(data) {
data.method = `${path}goodsOrderProfitAllocation.count.service.merchant`;
return request(data, "post");
}
export function exportAccountStatement(data) {
data.method = `${path}goodsOrderProfitAllocation.exportAccountStatement`;
return request(data, "post");
}
export function mainOrderDetail(data) {
data.method = `${path}goodsOrderProfitAllocation.mainOrder.detail`;
return request(data);
}
export function subOrderDetail(data) {
data.method = `${path}goodsOrderProfitAllocation.subOrder.detail`;
return request(data);
}
export function queryServiceRefByShop(data) {
data.method = `${path}scenemerchantref.queryServiceRefByShop`;
return request(data, "post");
}
export function uploadFile(data) {
data.method = `${path}orderReconciliationRecord.import`;
return request(data, "post", ["file"]);
}