import { createAPI } from "@/utils/httpRequest.js"; // 查询处理单元列表 export const getWorkOrderMaterials = data => createAPI(`/pda/production/issue/getWorkOrderMaterials`,'post',data) // 解析物料标签 export const parseMaterialLabel = data => createAPI(`/pda/production/issue/parseMaterialLabel`,'post',data) // 直接发料 export const directIssue = data => createAPI(`/pda/production/issue/directIssue`,'post',data) // 获取申请单物料列表 export const getRequestMaterials = data => createAPI(`/pda/production/issue/getRequestMaterials`,'post',data) // 基于申请单发料 export const requestIssue = data => createAPI(`/pda/production/issue/requestIssue`,'post',data) // 创建拣选托盘 export const createPickingPallet = data => createAPI(`/pda/production/issue/createPickingPallet`,'post',data) // 绑定处理单元到托盘 export const bindUnitsToPallet = data => createAPI(`/pda/production/issue/bindUnitsToPallet`,'post',data) // 打印托盘标签 export const printPalletLabel = data => createAPI(`/pda/production/issue/printPalletLabel`,'post',data) // 获取托盘信息 export const getPalletInfo = data => createAPI(`/pda/production/issue/getPalletInfo`,'post',data) // 获取发料历史记录 export const getIssueHistory = data => createAPI(`/pda/production/issue/getIssueHistory`,'post',data) // 验证工单状态 export const validateWorkOrder = data => createAPI(`/pda/production/issue/validateWorkOrder`,'post',data) // 验证申请单状态 export const validateNotify = data => createAPI(`/pda/production/issue/validateNotify`,'post',data) // 扫描材料是否存在 export const scanMaterialLabel = data => createAPI(`/pda/production/issue/scanMaterialLabel`,'post',data) export const getOrderInfoByBucketNoForPda = data => createAPI(`/demandOrder/getOrderInfoByBucketNoForPda`, 'post', data) export const sendInkHandle = data => createAPI(`/mixInkOrder/sendInkHandle`, 'post', data) export const getLocationBySite = (data) => createAPI(`/location/getLocationBySite`, 'post', data);