rebate_form.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. import request from "@/utils/request";
  2. // 经销商列表
  3. export function getCustomerList(params) {
  4. return request({
  5. url: "/customer/list",
  6. method: "get",
  7. params,
  8. });
  9. }
  10. // 经销商钱包列表
  11. export function getWalletCustomerList(params) {
  12. return request({
  13. url: "/wallet/customer/list",
  14. method: "get",
  15. params,
  16. });
  17. }
  18. // 新增
  19. export function getRebateOrderAdd(data) {
  20. return request({
  21. url: "/rebate/order/add",
  22. method: "post",
  23. data,
  24. });
  25. }
  26. // 提审
  27. export function getRebateOrderApply(params) {
  28. return request({
  29. url: "/rebate/order/apply",
  30. method: "post",
  31. params,
  32. });
  33. }
  34. // 列表
  35. export function getRebateOrderList(params) {
  36. return request({
  37. url: "/rebate/order/list",
  38. method: "get",
  39. params,
  40. });
  41. }
  42. // 下载销售返利单模板
  43. export function getRebateOrderDownLoad() {
  44. return request({
  45. url: "/rebate/order/download",
  46. method: "get",
  47. });
  48. }
  49. // 导入销售返利单数据
  50. export function getRebateOrderImport() {
  51. return request({
  52. url: "/rebate/order/import",
  53. method: "post",
  54. });
  55. }