You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.5 KiB

6 months ago
6 months ago
  1. import { createAPI } from "@/utils/httpRequest.js";
  2. /**
  3. * 获取检验合格待入库列表
  4. * @param {Object} data - 查询参数
  5. */
  6. export const getQualifiedInboundList = data => createAPI(`inbound/getQualifiedInboundList`, 'post', data)
  7. /**
  8. * 获取入库单明细
  9. * @param {Object} data - 查询参数
  10. */
  11. export const getInboundDetails = data => createAPI(`inbound/getInboundDetails`, 'post', data)
  12. /**
  13. * 验证标签与入库单是否匹配
  14. * @param {Object} data - 验证参数
  15. */
  16. export const validateLabelWithInbound = data => createAPI(`inbound/validateLabelWithInbound`, 'post', data)
  17. /**
  18. * 确认入库上架
  19. * @param {Object} data - 入库数据
  20. */
  21. export const confirmInboundStorage = data => createAPI(`inbound/confirmInboundStorage`, 'post', data)
  22. /**
  23. * 删除标签
  24. * @param {Object} data - 删除参数
  25. */
  26. export const deleteLabel = data => createAPI(`inbound/deleteLabel`, 'post', data)
  27. /**
  28. * 获取物料清单
  29. * @param {Object} data - 查询参数 {site, buNo, inboundNo}
  30. */
  31. export const getMaterialList = data => createAPI(`inbound/getMaterialList`, 'post', data)
  32. /**
  33. * 获取已扫描标签列表从缓存表
  34. * @param {Object} data - 查询参数 {site, buNo, inboundNo}
  35. */
  36. export const getScannedLabelList = data => createAPI(`inbound/getScannedLabelList`, 'post', data)
  37. /**
  38. * 获取物料可用库存
  39. * @param {Object} data - 查询参数 {site, notifyNo, notifyType, orderNo, orderLineNo, partNo, warehouseId}
  40. */
  41. export const getInventoryStock = data => createAPI(`inbound/getInventoryStock`, 'post', data)