index.js 549 B

123456789101112131415161718192021
  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. };