order.js 975 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. import request from '@/utils/request'
  2. //* ******************** 待处理订单 *********************
  3. // 订单管理查询
  4. export function orderGetAll(data) {
  5. return request({
  6. url: '/order/getAll',
  7. method: 'post',
  8. data
  9. })
  10. }
  11. // 订单详情
  12. export function orderGetById(data) {
  13. return request({
  14. url: '/order/getById',
  15. method: 'post',
  16. data
  17. })
  18. }
  19. // 选择快递公司查询
  20. export function orderGetSelect(data) {
  21. return request({
  22. url: '/express/getExpressSelect',
  23. method: 'post',
  24. data
  25. })
  26. }
  27. // 发货
  28. export function orderDilevery(data) {
  29. return request({
  30. url: '/order/dilevery',
  31. method: 'post',
  32. data
  33. })
  34. }
  35. // 导出订单
  36. export function orderExport(data) {
  37. return request({
  38. url: '/order/export',
  39. method: 'post',
  40. data,
  41. responseType: 'blob'
  42. })
  43. }
  44. // 下面是半子订单
  45. export function halfOrder(data){
  46. return request({
  47. url:"/order/getBanziLog",
  48. method: 'post',
  49. data,
  50. })
  51. }