profit.js 532 B

1234567891011121314151617181920212223242526
  1. import request from '@/router/axios';
  2. //利润分析
  3. export const getProfitList = (current, size,params) => {
  4. return request({
  5. url: '/api/blade-purchase-sales/order/listOrderStatisticAnalysis',
  6. method: 'get',
  7. params: {
  8. ...params,
  9. current,
  10. size
  11. }
  12. })
  13. }
  14. //提成统计
  15. export const getCommission = (current, size,params) => {
  16. return request({
  17. url: '/api/blade-deliver-goods/deliveryReport/commission',
  18. method: 'post',
  19. data: {
  20. ...params,
  21. current,
  22. size
  23. }
  24. })
  25. }