Showing
5 changed files
with
36 additions
and
10 deletions
1 | import orderGoodsInfo from './order-goods-info'; | 1 | import orderGoodsInfo from './order-goods-info'; |
2 | -import orderUserInfo from './order-user-info.vue'; | 2 | +import orderUserInfo from './order-user-info'; |
3 | +import orderListTable from './order-list-table'; | ||
4 | +import orderBaseInfo from './order-base-info'; | ||
3 | 5 | ||
4 | -export { orderGoodsInfo, orderUserInfo }; | 6 | +export { orderGoodsInfo, orderUserInfo, orderListTable, orderBaseInfo }; |
@@ -35,4 +35,23 @@ export default { | @@ -35,4 +35,23 @@ export default { | ||
35 | 4: '分摊-我司承担比例', | 35 | 4: '分摊-我司承担比例', |
36 | 5: '会员营销券-阶梯折扣', | 36 | 5: '会员营销券-阶梯折扣', |
37 | }, | 37 | }, |
38 | + | ||
39 | + /** | ||
40 | + * 退换货原因 | ||
41 | + * @var unknown | ||
42 | + */ | ||
43 | + returnedReasonArr: { | ||
44 | + 1: '尺寸不合适', | ||
45 | + 2: '性价比不高', | ||
46 | + 3: '不喜欢', | ||
47 | + 4: '质量瑕疵', | ||
48 | + 5: '快递延迟', | ||
49 | + 6: '发错货', | ||
50 | + 7: '商品有色差', | ||
51 | + 8: '图片与实物不符', | ||
52 | + 11: '价格变化', | ||
53 | + 12: '撤销', | ||
54 | + 13: '拒收', | ||
55 | + 14: '赠品', | ||
56 | + }, | ||
38 | }; | 57 | }; |
1 | import list from './list'; | 1 | import list from './list'; |
2 | import detail from './detail'; | 2 | import detail from './detail'; |
3 | import deliver from './deliver'; | 3 | import deliver from './deliver'; |
4 | - | ||
5 | -export default { | ||
6 | - list, | ||
7 | - detail, | ||
8 | - deliver, | ||
9 | -}; | 4 | +import returned from './returened'; |
5 | +export default { list, detail, deliver, returned }; |
@@ -2,7 +2,8 @@ import Service from '../service'; | @@ -2,7 +2,8 @@ import Service from '../service'; | ||
2 | 2 | ||
3 | const apiUrl = { | 3 | const apiUrl = { |
4 | queryLogisticsList: '/erp/queryLogisticsList', | 4 | queryLogisticsList: '/erp/queryLogisticsList', |
5 | - proxyOutStorage: 'erp/proxyOutStorage', | 5 | + proxyOutStorage: '/erp/proxyOutStorage', |
6 | + proxyReturnedGoodsInstorage: '/erp/proxyReturnedGoodsInstorage', | ||
6 | }; | 7 | }; |
7 | 8 | ||
8 | class LogisticsService extends Service { | 9 | class LogisticsService extends Service { |
@@ -21,6 +22,13 @@ class LogisticsService extends Service { | @@ -21,6 +22,13 @@ class LogisticsService extends Service { | ||
21 | proxyOutStorage(params) { | 22 | proxyOutStorage(params) { |
22 | return this.post(apiUrl.proxyOutStorage, params); | 23 | return this.post(apiUrl.proxyOutStorage, params); |
23 | } | 24 | } |
25 | + | ||
26 | + /** | ||
27 | + * 一件代发退货入库(同意退款) | ||
28 | + */ | ||
29 | + proxyReturnedGoodsInstorage(params) { | ||
30 | + return this.post(apiUrl.proxyReturnedGoodsInstorage, params); | ||
31 | + } | ||
24 | } | 32 | } |
25 | 33 | ||
26 | export default LogisticsService; | 34 | export default LogisticsService; |
-
Please register or login to post a comment