callMateriel.ts 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. import request from "@/utils/request";
  2. // 载具绑定工序物料详情列表查询(齐套叫料箱子列表)
  3. export function boxSuitList(p: object) {
  4. return request({
  5. url: `/api/v1/process/vehicleOperation/list`,
  6. method: "post",
  7. data: p,
  8. });
  9. }
  10. // 载具绑定工序物料详情列表查询(根据绑定在工序中的料箱id 获取详情)
  11. export function boxSuitDetailByBoxId(p: object) {
  12. return request({
  13. url: `/api/v1/process/vehicleMaterial/list`,
  14. method: "post",
  15. data: p,
  16. });
  17. }
  18. export function accessoriesList(data: any) {
  19. return request({
  20. url: `/api/v1/base/accessories/material/accessoriesList`,
  21. method: "post",
  22. data: data,
  23. });
  24. }
  25. // 未齐套叫料
  26. export function callNotFullSuit(p: object) {
  27. return request({
  28. url: `/api/v1/process/vehicleOperation/materialOut`,
  29. method: "post",
  30. data: p,
  31. });
  32. }
  33. // 获取预齐套某个载具
  34. export function outSuitBox(p: object) {
  35. return request({
  36. url: `/api/v1/process/vehicleOperation/vehicleOut`,
  37. method: "post",
  38. data: p,
  39. });
  40. }