retrieval.js 842 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. import request from '@/utils/request'
  2. export function listRetrieval(query) {
  3. return request({
  4. url: '/warehouse-out/page',
  5. method: 'get',
  6. params: query
  7. })
  8. }
  9. export function executeRetrieval(query) {
  10. return request({
  11. url: '/warehouse-out/execute',
  12. method: 'post',
  13. params:query
  14. })
  15. }
  16. export function createRetrieval(data) {
  17. return request({
  18. url: '/warehouse-out/add',
  19. method: 'post',
  20. data
  21. })
  22. }
  23. export function readRetrieval(query) {
  24. return request({
  25. url: '/warehouse-out/info',
  26. method: 'get',
  27. params:query
  28. })
  29. }
  30. export function updateRetrieval(data) {
  31. return request({
  32. url: '/warehouse-out/edit',
  33. method: 'post',
  34. data
  35. })
  36. }
  37. export function deleteRetrieval(query) {
  38. return request({
  39. url: '/warehouse-out/remove',
  40. method: 'post',
  41. params:query
  42. })
  43. }