purchase.js
2.47 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
/*
* @Author: 'wangzhihui' '1733904062@qq.com'
* @Date: 2025-11-20 10:20:52
* @LastEditors: 'wangzhihui' '1733904062@qq.com'
* @LastEditTime: 2025-11-20 14:02:16
* @FilePath: \wx-notification\src\api\purchase.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
const url = '/rop-dj-smartcarlife/router'
export default {
/**采购发货-详情 */
purchaseOrderDetail(data = {}) {
data.method = 'dj.api.smarcarlife.purchaseOrder.h5.detail'
return window.$HTTP({
url,
data,
returnAll: true
})
},
/**采购发货-驳回 */
shipmentReject(data = {}) {
data.method = 'dj.api.smarcarlife.purchaseOrder.shipmentReject'
return window.$HTTP({
url,
data,
returnAll: true
})
},
/**商务驳回-驳回 */
businessReject(data = {}) {
data.method = 'dj.api.smarcarlife.businessreview.businessReject'
return window.$HTTP({
url,
data,
returnAll: true
})
},
/**运营驳回 */
operatorReject(data = {}) {
data.method = 'dj.api.smarcarlife.operatorreview.operatorReject'
return window.$HTTP({
url,
data,
returnAll: true
})
},
/** 总监驳回 */
directorReject(data = {}) {
data.method = 'dj.api.smarcarlife.directorreview.directorReject'
return window.$HTTP({
url,
data,
returnAll: true
})
},
/**查看审核记录 */
operatorreview(data = {}) {
data.method = 'dj.api.smarcarlife.operatorreview.view'
return window.$HTTP({
url,
data,
returnAll: true
})
},
/**运营审核 */
operatorAudit(data = {}) {
data.method = 'dj.api.smarcarlife.operatorreview.operatorAudit'
return window.$HTTP({
url,
data,
returnAll: true
})
},
/** 总监审核 */
directorAudit(data = {}) {
data.method = 'dj.api.smarcarlife.directorreview.directorAudit'
return window.$HTTP({
url,
data,
returnAll: true
})
},
/**商务审核 */
businessAudit(data = {}) {
data.method = 'dj.api.smarcarlife.businessreview.businessAudit'
return window.$HTTP({
url,
data,
returnAll: true
})
},
/**发货主体 */
selectShippingEntityInfoAll(data = {}) {
data.method = 'dj.smartcarlife.api.yqPartnerMerchant.selectShippingEntityInfoAll'
return window.$HTTP({
url,
data,
returnAll: true
})
}
}