index.js 729 B

123456789101112131415161718192021222324252627282930
  1. import https from "@/plugins/luch-request_0.0.7/request";
  2. //供应商的结账单详情
  3. export const getDetail = async id => {
  4. return https.get("/clear/get-full-info", { id });
  5. };
  6. //供应商的结账单
  7. export const getClearList = async data => {
  8. return https.get("/clear/list", data);
  9. };
  10. //客户的结账单
  11. export const getCustomClearList = async data => {
  12. return https.get("/clear/custom-list", data);
  13. };
  14. //客户的结账单详情
  15. export const getCustomDetail = async id => {
  16. return https.get("/clear/get-custom-full-info", { id });
  17. };
  18. //取消
  19. export const cancel = data => {
  20. return https.get('/clear/cancel', data)
  21. }
  22. export const confirmClear = data => {
  23. return https.get('/order-clear/confirm-clear', data)
  24. }