technology.ts 744 B

123456789101112131415161718192021222324
  1. import { Technology } from "@/api/interface/index";
  2. import { PORT1 } from "@/api/config/servicePort";
  3. import http from "@/api";
  4. /**
  5. * @name 获取 库存:物料类别
  6. */
  7. export const getL1MtrlType = (params: Technology.ReqMtrlType) => {
  8. return http.post<Technology.ResMtrlType>(PORT1 + `/GetL1MtrltypeTree`, params);
  9. };
  10. /**
  11. * @name 获取 物料列表
  12. */
  13. export const getMtrldefList = (params: Technology.ReqMtrldefList) => {
  14. return http.post<Technology.ResMtrldefList>(PORT1 + `/GetERPMtrldefList`, params);
  15. };
  16. /**
  17. * @name 获取 物料列表
  18. */
  19. export const getMtrldefDetailList = (params: Technology.ReqMtrldefDetailList) => {
  20. return http.post<Technology.ResMtrldefDetailList>(PORT1 + `/GetL1MtrldefDetailList`, params);
  21. };