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.

36 lines
1.2 KiB

1 year ago
  1. import { createAPI } from "@/utils/httpRequest.js";
  2. /**
  3. * 获取其它入库单列表
  4. * @param {Object} data - 查询参数
  5. */
  6. export const getOtherInboundList = data => createAPI(`otherInbound/getInboundList`, 'post', data)
  7. /**
  8. * 获取其它入库单详情
  9. * @param {Object} data - 查询参数
  10. */
  11. export const getOtherInboundDetails = data => createAPI(`otherInbound/getInboundDetails`, 'post', data)
  12. /**
  13. * 验证物料与其它入库单是否匹配
  14. * @param {Object} data - 验证参数
  15. */
  16. export const validateMaterialWithInbound = data => createAPI(`otherInbound/validateMaterialWithInbound`, 'post', data)
  17. /**
  18. * 确认其它入库
  19. * @param {Object} data - 入库数据
  20. */
  21. export const confirmOtherInbound = data => createAPI(`otherInbound/confirmOtherInbound`, 'post', data)
  22. /**
  23. * 获取其它入库单物料清单
  24. * @param {Object} data - 查询参数 {site, buNo, inboundNo}
  25. */
  26. export const getMaterialList = data => createAPI(`otherInbound/getMaterialList`, 'post', data)
  27. /**
  28. * 添加物料到入库单
  29. * @param {Object} data - 添加物料参数 {site, buNo, inboundNo, materialCode, actualQty, warehouseId}
  30. */
  31. export const addMaterialToInbound = data => createAPI(`otherInbound/addMaterialToInbound`, 'post', data)