import { createAPI } from '@/utils/httpRequest.js' // 海安无单申请主流程接口:统一改走haiAnIssureNotify,确保保存/查询落haian_表 - rqrq export const getUserNoOrderNotifyNo = (data) => createAPI('/autoWareHourceHaian/haiAnIssureNotify/getUserNoOrderNotifyNo', 'post', data) export const createNoOrderNotify = (data) => createAPI('/autoWareHourceHaian/haiAnIssureNotify/createNoOrderNotify', 'post', data) export const saveNoOrderNotify = (data) => createAPI('/autoWareHourceHaian/haiAnIssureNotify/saveNoOrderNotify', 'post', data) export const getNotifyNoOrderDetail = (data) => createAPI('/autoWareHourceHaian/haiAnIssureNotify/getNotifyNoOrderDetail', 'post', data) export const getNoOrderMaterialList = (data) => createAPI('/autoWareHourceHaian/haiAnIssureNotify/getNoOrderMaterialList', 'post', data) export const saveNoOrderMaterialDetail = (data) => createAPI('/autoWareHourceHaian/haiAnIssureNotify/saveNoOrderMaterialDetail', 'post', data) export const searchNoOrderNotifyHeader = (data) => createAPI('/autoWareHourceHaian/haiAnIssureNotify/searchNoOrderNotifyHeader', 'post', data) export const getNotifyNoOrderDetailByType = (data) => createAPI('/autoWareHourceHaian/haiAnIssureNotify/getNotifyNoOrderDetailByType', 'post', data) export const checkUserHasUnissueNoOrder = (data) => createAPI('/autoWareHourceHaian/haiAnIssureNotify/checkUserHasUnissueNoOrder', 'post', data) export const cancelNoOrderIssueNotify = (data) => createAPI('/autoWareHourceHaian/haiAnIssureNotify/cancelNoOrderIssueNotify', 'post', data) // 海安无单页复用的头行操作:删除/下达/删除子行延续海安主接口 - rqrq export const deleteNotify = (data) => createAPI('/autoWareHourceHaian/haiAnIssureNotify/deleteNotify', 'post', data) export const deleteNotifySOS = (data) => createAPI('/autoWareHourceHaian/haiAnIssureNotify/deleteNotifySOS', 'post', data) export const xiadaNotify = (data) => createAPI('/autoWareHourceHaian/haiAnIssureNotify/xiadaNotify', 'post', data) export const saveSOIssueNotifyOrderList = (data) => createAPI('/autoWareHourceHaian/haiAnIssureNotify/saveSOIssueNotifyOrderList', 'post', data) export const updateProductionArea = (data) => createAPI('/autoWareHourceHaian/haiAnIssureNotify/updateProductionArea', 'post', data) export const getFirstOrderListDetail = (data) => createAPI('/autoWareHourceHaian/haiAnIssureNotify/getFirstOrderListDetail', 'post', data) // 海安查看页与推送占位接口:保持“推送留空”语义,不触发真实WCS主流程 - rqrq export const searchNotifyMaterialListNew = (data) => createAPI('/autoWareHourceHaian/haiAnNewIssure/searchNotifyMaterialListNew', 'post', data) export const searchMaterialListDetail = (data) => createAPI('/autoWareHourceHaian/haiAnSearchIssureNotify/searchMaterialListDetail', 'post', data) export const updateNotifyStatusNew = (data) => createAPI('/autoWareHourceHaian/haiAnSearchIssureNotify/updateNotifyStatusNew', 'post', data) export const checkIssueNotifyInventory = (data) => createAPI('/autoWareHourceHaian/haiAnSearchIssureNotify/checkIssueNotifyInventory', 'post', data) export const pushInventoryToWcs = (data) => createAPI('/autoWareHourceHaian/haiAnSearchIssureNotify/pushInventoryToWcs', 'post', data) // 公共主数据/枚举接口:仅用于查询,不涉及haian业务写表 - rqrq export const noOrderList = (data) => createAPI('/factory/partAttribute/noOrderList', 'post', data) export const queryPartAttributeData = (data) => createAPI('/factory/partAttribute/queryPartAttributeData', 'post', data) export const getAreaOptionsForChange = (data) => createAPI('/wcsIntegration/getAreaOptionsForChange', 'post', data) export const getAllNotifyStatus = (data) => createAPI('/sys/enum/list', 'get', data) // 海安无单指定策略接口:维护单行物料的批次/标签指定分配层 - rqrq export const getNoOrderMaterialAllocList = (data) => createAPI('/autoWareHourceHaian/haiAnIssureNotify/getNoOrderMaterialAllocList', 'post', data) export const saveNoOrderMaterialAllocList = (data) => createAPI('/autoWareHourceHaian/haiAnIssureNotify/saveNoOrderMaterialAllocList', 'post', data)