You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
4.0 KiB

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