index.ts 546 B

1234567891011121314151617181920212223
  1. import request from "@/utils/request";
  2. //获取物料信息
  3. export function getMaterialInfo(code: string) {
  4. return request({
  5. url: `/api/v1/plan/requisition/queryReceive/${code}`,
  6. method: "get",
  7. });
  8. }
  9. //获取配置后信息
  10. export function getPrintInfo(data: any) {
  11. return request({
  12. url: `/api/v1/plan/requisition/handleExcel`,
  13. method: "post",
  14. data,
  15. });
  16. }
  17. export function queryBomChildrenInfo(params: object) {
  18. return request({
  19. url: "/api/v1/base/materialBom/list",
  20. method: "post",
  21. data: params,
  22. });
  23. }