import { createAPI } from '@/utils/httpRequest.js' // 海安委外发料主流程:主单/父行/子行全部走海安独立链路,orderType固定poorder - rqrq export const haiAnGetUserNotifyNo = (data) => createAPI('/autoWareHourceHaian/haiAnIssureNotify/getUserNotifyNo', 'post', data) export const haiAnCreateNotify = (data) => createAPI('/autoWareHourceHaian/haiAnIssureNotify/createNotify', 'post', data) export const haiAnGetNotifyNoDetail = (data) => createAPI('/autoWareHourceHaian/haiAnIssureNotify/getNotifyNoDetail', 'post', data) export const haiAnSaveSOIssueNotifyOrderList = (data) => createAPI('/autoWareHourceHaian/haiAnIssureNotify/saveSOIssueNotifyOrderList', 'post', data) export const haiAnSaveMaterialDetail = (data) => createAPI('/autoWareHourceHaian/haiAnIssureNotify/saveMaterialDetail', 'post', data) export const haiAnSaveNewSoIssueNotify = (data) => createAPI('/autoWareHourceHaian/haiAnIssureNotify/saveNewSoIssueNotify', 'post', data) export const haiAnDeleteNotify = (data) => createAPI('/autoWareHourceHaian/haiAnIssureNotify/deleteNotify', 'post', data) export const haiAnDeleteNotifySOS = (data) => createAPI('/autoWareHourceHaian/haiAnIssureNotify/deleteNotifySOS', 'post', data) export const haiAnXiadaNotify = (data) => createAPI('/autoWareHourceHaian/haiAnIssureNotify/xiadaNotify', 'post', data) // 海安委外单据拉取:IFS沿用老接口能力,但通过海安控制器完成subsite透传 - rqrq export const haiAnGetPoOrderAndMaterialByOrderNo = (data) => createAPI('/autoWareHourceHaian/haiAnNewIssure/getPoOrderAndMaterialByOrderNo', 'post', data) export const haiAnGetPoOrderMaterialForIssure = (data) => createAPI('/autoWareHourceHaian/haiAnNewIssure/getPoOrderMaterialForIssure', 'post', data) // 海安查看页公共接口:统一走海安Search控制器,避免读取旧表 - rqrq export const haiAnSearchNotifyHeaderNew = (data) => createAPI('/autoWareHourceHaian/haiAnSearchIssureNotify/searchNotifyHeaderNew', 'post', data) export const haiAnSearchNotifyOrderListNew = (data) => createAPI('/autoWareHourceHaian/haiAnSearchIssureNotify/searchNotifyOrderListNew', 'post', data) export const haiAnSearchNotifyMaterialListNew = (data) => createAPI('/autoWareHourceHaian/haiAnSearchIssureNotify/searchNotifyMaterialListNew', 'post', data) export const haiAnSearchSumNotifyMaterialListNew = (data) => createAPI('/autoWareHourceHaian/haiAnSearchIssureNotify/searchSumNotifyMaterialListNew', 'post', data) export const haiAnSearchMaterialListDetail = (data) => createAPI('/autoWareHourceHaian/haiAnSearchIssureNotify/searchMaterialListDetail', 'post', data) export const haiAnSearchNotifyLogNew = (data) => createAPI('/autoWareHourceHaian/haiAnSearchIssureNotify/searchNotifyLogNew', 'post', data) export const haiAnSearchNotifyLogCloseNew = (data) => createAPI('/autoWareHourceHaian/haiAnSearchIssureNotify/searchNotifyLogCloseNew', 'post', data) export const haiAnUpdateNotifyStatusNew = (data) => createAPI('/autoWareHourceHaian/haiAnSearchIssureNotify/updateNotifyStatusNew', 'post', data) export const haiAnCheckUserHasUnissueShopOrder = (data) => createAPI('/autoWareHourceHaian/haiAnSearchIssureNotify/checkUserHasUnissueShopOrder', 'post', data) export const haiAnCancelIssueNotify = (data) => createAPI('/autoWareHourceHaian/haiAnSearchIssureNotify/cancelIssueNotify', 'post', data) export const haiAnDeleteNotifySOSPlus = (data) => createAPI('/autoWareHourceHaian/haiAnSearchIssureNotify/deleteNotifySOSPlus', 'post', data) export const haiAnUpdateMaterialDetail = (data) => createAPI('/autoWareHourceHaian/haiAnSearchIssureNotify/updateMaterialDetail', 'post', data) export const haiAnCheckIssueNotifyInventory = (data) => createAPI('/autoWareHourceHaian/haiAnSearchIssureNotify/checkIssueNotifyInventory', 'post', data) export const haiAnPushInventoryToWcs = (data) => createAPI('/autoWareHourceHaian/haiAnSearchIssureNotify/pushInventoryToWcs', 'post', data) // 公共枚举接口 - rqrq export const getAllNotifyStatus = (data) => createAPI('/sys/enum/list', 'get', data)