api.js 996 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. export default {
  2. common: {
  3. // 登录
  4. login: {
  5. url: "/web/lgin/userLgin",
  6. auth: false,
  7. method: "POST",
  8. },
  9. },
  10. home: {
  11. //获取仓库数据
  12. getRoomData: {
  13. url: "/web/stroom/select",
  14. auth: true,
  15. method: "POST",
  16. },
  17. getUserData: {
  18. url: "/web/lgin/getUserRoleInfo",
  19. auth: true,
  20. method: "GET",
  21. },
  22. },
  23. //上架
  24. groundDetails: {
  25. getList: {
  26. url: "/web/inv/getManagerByPage",
  27. auth: false,
  28. method: "POST",
  29. },
  30. //上架明细
  31. detailsCont: {
  32. url: "/SPDapi/IN_STOCK_D",
  33. auth: true,
  34. method: "POST",
  35. }
  36. },
  37. //出库
  38. outbound: {
  39. //获取列表数据
  40. getListData: {
  41. url: "/SPDapi/OUT_STOCK_M",
  42. auth: true,
  43. method: "POST",
  44. },
  45. //获取列表详情数据
  46. getDetailsData: {
  47. url: "/SPDapi/OUT_STOCK_M_MX",
  48. auth: true,
  49. method: "POST",
  50. },
  51. // 获取明细数据
  52. detailsContData: {
  53. url: "/SPDapi/OUT_STOCK_D",
  54. auth: true,
  55. method: "POST",
  56. }
  57. }
  58. }