import { createAPI } from "@/utils/httpRequest.js"; /** * 获取其它入库单列表 * @param {Object} data - 查询参数 */ export const getOtherInboundList = data => createAPI(`otherInbound/getInboundList`, 'post', data) /** * 获取其它入库单详情 * @param {Object} data - 查询参数 */ export const getOtherInboundDetails = data => createAPI(`otherInbound/getInboundDetails`, 'post', data) /** * 验证物料与其它入库单是否匹配 * @param {Object} data - 验证参数 */ export const validateMaterialWithInbound = data => createAPI(`otherInbound/validateMaterialWithInbound`, 'post', data) /** * 确认其它入库 * @param {Object} data - 入库数据 */ export const confirmOtherInbound = data => createAPI(`otherInbound/confirmOtherInbound`, 'post', data) /** * 获取其它入库单物料清单 * @param {Object} data - 查询参数 {site, buNo, inboundNo} */ export const getMaterialList = data => createAPI(`otherInbound/getMaterialList`, 'post', data) /** * 添加物料到入库单 * @param {Object} data - 添加物料参数 {site, buNo, inboundNo, materialCode, actualQty, warehouseId} */ export const addMaterialToInbound = data => createAPI(`otherInbound/addMaterialToInbound`, 'post', data)