recallManagement.js 998 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. import { axios } from '@/utils/request'
  2. // 调回单列表
  3. export const shelfRecallList = (params) => {
  4. const url = `/shelfRecall/queryPage/${params.pageNo}/${params.pageSize}`
  5. delete params.pageNo
  6. delete params.pageSize
  7. return axios({
  8. url: url,
  9. data: params,
  10. method: 'post'
  11. })
  12. }
  13. // 调回单详情列表
  14. export const shelfRecallDetailList = (params) => {
  15. const url = 'shelfRecall/detail/queryList'
  16. return axios({
  17. url: url,
  18. data: params,
  19. method: 'post'
  20. })
  21. }
  22. // 确认退库
  23. export const warehouseCascadeList = (params) => {
  24. const url = '/shelfRecall/confirm'
  25. return axios({
  26. url: url,
  27. data: params,
  28. method: 'post'
  29. })
  30. }
  31. // 取消调回单
  32. export const shelfRecallCancel = params => {
  33. return axios({
  34. url: '/shelfRecall/cancel',
  35. data: params,
  36. method: 'post'
  37. })
  38. }
  39. // 删除仓位
  40. export const warehouseLocDel = params => {
  41. return axios({
  42. url: `/warehouseLoc/delete/${params.id}`,
  43. data: {},
  44. method: 'get'
  45. })
  46. }