index.js 484 B

12345678910111213141516171819202122232425
  1. import https from "@/plugins/luch-request_0.0.7/request";
  2. /**
  3. * 客户欠款列表查询
  4. * @param {*} name
  5. */
  6. export const getDebtListApi = name => {
  7. return https.get("/custom/debt-list", { name });
  8. };
  9. /**
  10. * 客户欠款详情查询
  11. * @param {*} name
  12. */
  13. export const getOrderDebtListApi = id => {
  14. return https.get("/order/debt-list", { id });
  15. };
  16. /**
  17. * 批量收款
  18. * @param {*} id
  19. */
  20. export const clearOrderApi = id => {
  21. return https.post("/order-clear/clear", id);
  22. };