order.js 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. import request from '@/common/util/request'
  2. export const _API_OrderChart = data => request.get('/app/chart?type=0', data) // 获取 订单管理 图表数据接口
  3. export const _API_OrderPay = data => request.get('/pay_order', data) // 支付订单
  4. export const _API_OrderCancel = data => request.get('/destory', data) // 取消订单
  5. export const _API_OrderLog = data => request.get('/get_log', data) // 订单日志
  6. export const _API_OrderMyExamine = data => request.get('/order/my_order?status=0', data) // 我的订单-待审核
  7. export const _API_OrderMySended = data => request.get('/order/my_order?status=1', data) // 我的订单-已发货
  8. export const _API_OrderMyCompleted = data => request.get('/order/my_order?status=2', data) // 我的订单-已完成
  9. export const _API_OrderMy1 = data => request.get('/order_list?status=0', data) // 我的订单-全部
  10. export const _API_OrderMy2 = data => request.get('/order_list?status=1', data) // 我的订单-待付款
  11. export const _API_OrderMy3 = data => request.get('/order_list?status=2', data) // 我的订单-待审核
  12. export const _API_OrderMy4 = data => request.get('/order_list?status=3', data) // 我的订单-待收货
  13. export const _API_OrderMy5 = data => request.get('/order_list?status=4', data) // 我的订单-已完成
  14. export const _API_OrderDownWillpay = data => request.get('/order/order_lower?status=0', data) // 下级订单-待付款
  15. export const _API_OrderDownWillsend = data => request.get('/order/order_lower?status=1', data) // 下级订单-待发货
  16. export const _API_OrderDownSended = data => request.get('/order/order_lower?status=2', data) // 下级订单-已发货
  17. export const _API_OrderDownForward = data => request.get('/order/order_turn', data) // 下级订单-已转发
  18. export const _API_OrderDownCompleted = data => request.get('/order/order_lower?status=3', data) // 下级订单-已完成
  19. // export const _API_PlaceOrder = data => request.post('/order/submit_order', data) // 订货下单
  20. export const _API_PlaceOrder = data => request.post('/submit_order', data) // 订货下单
  21. export const _API_OrderReceiveGoods = data => request.get('/order/order_complete', data) // 确认收货
  22. export const _API_OrderReceiveGoods1 = data => request.get('/order/sure_order', data) // 确认收货
  23. export const _API_OrderReceiveMoney = data => request.get('/order/order_sure_pay', data) // 确认收款
  24. export const _API_OrderDel = data => request.get('/order/del', data) // 删除订单
  25. export const _API_OrderDetail = data => request.get('/order/detail', data) // 获取订单详情
  26. export const _API_OrderDetail1 = data => request.get('/order_detail', data) // 获取订单详情
  27. export const _API_OrderSend = data => request.post('/order/forward', data) // 发货/转单
  28. export const _API_OrderStorage = data => request.get('/order/my_storage', data) // 我的库存
  29. export const _API_OrderAgain = data => request.get('/order/again', data) // 再次下单