index.js 585 B

1234567891011121314151617181920212223242526
  1. import https from "@/plugins/luch-request_0.0.7/request";
  2. /** *
  3. * 采购订单详情
  4. */
  5. export const getPurchaseDetailApi = async orderSn => {
  6. return https.get("/purchase-order/detail", { orderSn });
  7. };
  8. /** *
  9. * 采购列表
  10. */
  11. export const getPurchaseListApi = async data => {
  12. return https.get("/purchase-order/list", data);
  13. };
  14. /** *
  15. * 采购确认
  16. */
  17. export const createPurchaseOrderApi = async data => {
  18. return https.post("/purchase-order/create-order", data);
  19. };
  20. export const updateRemark = async data => {
  21. return https.post("/purchase-order/update-remark", data);
  22. };