inventoryInquiry.js 606 B

12345678910111213141516171819202122232425
  1. //商品存货查询
  2. export const inventoryInquiry = (
  3. params,
  4. config = { custom: { auth: true } }
  5. ) => {
  6. return uni.$u.http.post(
  7. `/pda/inventoryInquiry?currentPage=${params.currentPage}&pageSize=${params.pageSize}`,
  8. params,
  9. config
  10. );
  11. };
  12. //库位
  13. export const inventoryPositionTree = (
  14. params,
  15. config = { custom: { auth: true } }
  16. ) => {
  17. return uni.$u.http.get(`/pda/inventoryPositionTree`, { params }, config);
  18. };
  19. //分类
  20. export const materialCategoryTree = (
  21. params,
  22. config = { custom: { auth: true } }
  23. ) => {
  24. return uni.$u.http.get(`/pda/inventoryTypeTree`, config);
  25. };