import { createAPI } from "@/utils/httpRequest.js"; /** * 获取检验合格待入库列表 * @param {Object} data - 查询参数 */ export const getQualifiedInboundList = data => createAPI(`inbound/getQualifiedInboundList`, 'post', data) /** * 获取入库单明细 * @param {Object} data - 查询参数 */ export const getInboundDetails = data => createAPI(`inbound/getInboundDetails`, 'post', data) /** * 验证标签与入库单是否匹配 * @param {Object} data - 验证参数 */ export const validateLabelWithInbound = data => createAPI(`inbound/validateLabelWithInbound`, 'post', data) /** * 确认入库上架 * @param {Object} data - 入库数据 */ export const confirmInboundStorage = data => createAPI(`inbound/confirmInboundStorage`, 'post', data) /** * 删除标签 * @param {Object} data - 删除参数 */ export const deleteLabel = data => createAPI(`inbound/deleteLabel`, 'post', data) /** * 获取物料清单 * @param {Object} data - 查询参数 {site, buNo, inboundNo} */ export const getMaterialList = data => createAPI(`inbound/getMaterialList`, 'post', data) /** * 获取已扫描标签列表(从缓存表) * @param {Object} data - 查询参数 {site, buNo, inboundNo} */ export const getScannedLabelList = data => createAPI(`inbound/getScannedLabelList`, 'post', data) /** * 获取物料可用库存 * @param {Object} data - 查询参数 {site, notifyNo, notifyType, orderNo, orderLineNo, partNo, warehouseId} */ export const getInventoryStock = data => createAPI(`inbound/getInventoryStock`, 'post', data)