oldPartsReturnFactory.js 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. import request, { postBlob, getBlob, handleImport } from '@/utils/request'
  2. export function websitPartsFactoryRetListPageV2(data) {
  3. return request({
  4. url: `/websitPartsFactoryRet/list/pageV2?moduleId=${data.moduleId}`,
  5. method: 'post',
  6. data
  7. })
  8. }
  9. export function websitPartsFactoryRetPageExport(data, name) {
  10. return postBlob({
  11. url: '/websitPartsFactoryRet/pageExport',
  12. data,
  13. name
  14. })
  15. }
  16. export function websitPartsFactoryRetDetail(params) {
  17. return request({
  18. url: '/websitPartsFactoryRet/detail',
  19. method: 'post',
  20. params: params
  21. })
  22. }
  23. export function websitPartsFactoryRetAdd(data) {
  24. return request({
  25. url: `/websitPartsFactoryRet/add`,
  26. method: 'post',
  27. data
  28. })
  29. }
  30. export function websitPartsFactoryRetUpdate(data) {
  31. return request({
  32. url: `/websitPartsFactoryRet/update`,
  33. method: 'post',
  34. data
  35. })
  36. }
  37. export function websitPartsFactoryRetExamine(data) {
  38. return request({
  39. url: `/websitPartsFactoryRet/examine`,
  40. method: 'post',
  41. data
  42. })
  43. }