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.
196 lines
5.8 KiB
196 lines
5.8 KiB
import { createAPI } from "@/utils/httpRequest.js";
|
|
|
|
/**
|
|
* routing列表查询
|
|
*/
|
|
export const routingManagementSearch = data => createAPI(`/plm/routingManagement/routingManagementSearch`,'post',data)
|
|
export const routingManagementSearchAny = data => createAPI(`/plm/routingManagement/routingManagementSearch/any`,'post',data)
|
|
|
|
/**
|
|
* routing新增
|
|
*/
|
|
export const routingManagementSave = data => createAPI(`/plm/routingManagement/routingManagementSave`,'post',data)
|
|
|
|
/**
|
|
* routing编辑
|
|
*/
|
|
export const routingManagementEdit = data => createAPI(`/plm/routingManagement/routingManagementEdit`,'post',data)
|
|
|
|
/**
|
|
* routing删除
|
|
*/
|
|
export const routingManagementDelete = data => createAPI(`/plm/routingManagement/routingManagementDelete`,'post',data)
|
|
|
|
/**
|
|
* 查询物料清单
|
|
*/
|
|
export const queryPartList = data => createAPI(`/plm/routingManagement/queryPartList`,'post',data)
|
|
|
|
/**
|
|
* 查routing明细
|
|
*/
|
|
export const queryRoutingDetail = data => createAPI(`/plm/routingManagement/queryRoutingDetail`,'post',data)
|
|
|
|
/**
|
|
* 查routing明细
|
|
*/
|
|
export const queryRoutingComponent = data => createAPI(`/plm/routingManagement/queryRoutingComponent`,'post',data)
|
|
|
|
/**
|
|
* routing明细新增
|
|
*/
|
|
export const routingDetailSave = data => createAPI(`/plm/routingManagement/routingDetailSave`,'post',data)
|
|
|
|
/**
|
|
* routing明细编辑
|
|
*/
|
|
export const routingDetailUpdate = data => createAPI(`/plm/routingManagement/routingDetailUpdate`,'post',data)
|
|
|
|
/**
|
|
* 修改明细状态
|
|
*/
|
|
export const updateAlternativeStatus = data => createAPI(`/plm/routingManagement/updateAlternativeStatus`,'post',data)
|
|
|
|
/**
|
|
* routing明细删除
|
|
*/
|
|
export const routingDetailDelete = data => createAPI(`/plm/routingManagement/routingDetailDelete`,'post',data)
|
|
|
|
/**
|
|
* 新增routing主信息
|
|
*/
|
|
export const saveRoutingHeader = data => createAPI(`/plm/routingManagement/saveRoutingHeader`,'post',data)
|
|
|
|
/**
|
|
* 查询routing主信息
|
|
*/
|
|
export const queryRoutingHeader = data => createAPI(`/plm/routingManagement/queryRoutingHeader`,'post',data)
|
|
|
|
/**
|
|
* 新增routing子明细
|
|
*/
|
|
export const saveRoutingComponent = data => createAPI(`/plm/routingManagement/saveRoutingComponent`,'post',data)
|
|
|
|
/**
|
|
* 修改routing子明细
|
|
*/
|
|
export const updateRoutingComponent = data => createAPI(`/plm/routingManagement/updateRoutingComponent`,'post',data)
|
|
|
|
/**
|
|
* 删除routing子明细
|
|
*/
|
|
export const deleteRoutingComponent = data => createAPI(`/plm/routingManagement/deleteRoutingComponent`,'post',data)
|
|
|
|
/**
|
|
* 查询工序列表
|
|
*/
|
|
export const queryOperationList = data => createAPI(`/plm/routingManagement/queryOperationList`,'post',data)
|
|
|
|
/**
|
|
* 获取物料的routing版本号
|
|
*/
|
|
export const getRottingRevision = data => createAPI(`/plm/routingManagement/getRottingRevision`,'post',data)
|
|
|
|
/**
|
|
* 获取 routingTools
|
|
*/
|
|
export const searchRoutingTools = data => createAPI(`/plm/routingManagement/searchRoutingTools`,'post',data)
|
|
|
|
/**
|
|
* 新增 routingTools
|
|
*/
|
|
export const routingToolSave = data => createAPI(`/plm/routingManagement/routingToolSave`,'post',data)
|
|
|
|
/**
|
|
* 根据替代查询工序列表
|
|
*/
|
|
export const queryOperationListByAlternative = data => createAPI(`/plm/routingManagement/queryOperationListByAlternative`,'post',data)
|
|
|
|
/**
|
|
* 根据物料查询替代
|
|
*/
|
|
export const queryAlternativeListByPartNo = data => createAPI(`/plm/routingManagement/queryAlternativeListByPartNo`,'post',data)
|
|
|
|
/**
|
|
* 编辑 routingTools
|
|
*/
|
|
export const routingToolEdit = data => createAPI(`/plm/routingManagement/routingToolEdit`,'post',data)
|
|
|
|
/**
|
|
* 删除 routingTools
|
|
*/
|
|
export const deleteRoutingTool = data => createAPI(`/plm/routingManagement/deleteRoutingTool`,'post',data)
|
|
|
|
/**
|
|
* @Author Yzz
|
|
* @Description 工艺路线信息查询
|
|
* @Date 2024/10/21 10:14:35
|
|
**/
|
|
export const routingAllInfoSearch = data => createAPI(`/plm/routingManagement/routingAllInfoSearch`,'post',data)
|
|
export const routingAllInfoSearchAny = data => createAPI(`/plm/routingManagement/routingAllInfoSearch/any`,'post',data)
|
|
|
|
/**
|
|
* 复制Routing
|
|
*/
|
|
export const copyRouting = data => createAPI(`/plm/routingManagement/copyRouting`,'post',data)
|
|
|
|
/**
|
|
* 复制alternative
|
|
*/
|
|
export const copyAlternative = data => createAPI(`/plm/routingManagement/copyAlternative`,'post',data)
|
|
|
|
/**
|
|
* 转正式Routing
|
|
*/
|
|
export const toBecomeOfficialRouting = data => createAPI(`/plm/routingManagement/toBecomeOfficialRouting`,'post',data)
|
|
|
|
/**
|
|
* 异常转正式Routing(IFS已存在时直接更新official_flag)
|
|
*/
|
|
export const toOfficialRoutingByIfs = data => createAPI(`/plm/routingManagement/toOfficialRoutingByIfs`,'post',data)
|
|
|
|
/**
|
|
* 查询最大工序号
|
|
*/
|
|
export const queryMaxOperationNo = data => createAPI(`/plm/routingManagement/queryMaxOperationNo`,'post',data)
|
|
|
|
/**
|
|
* 查出可创建Routing的物料
|
|
*/
|
|
export const queryPartListRouting = data => createAPI(`/plm/routingManagement/queryPartListRouting`,'post',data)
|
|
|
|
/**
|
|
* 获取工具集合
|
|
*/
|
|
export const queryToolList = data => createAPI(`/plm/routingManagement/queryToolList`,'post',data)
|
|
|
|
/**
|
|
* 通过加工中心查人员等级
|
|
*/
|
|
export const queryLaborClassByWorkCenterNo = data => createAPI(`/plm/routingManagement/queryLaborClassByWorkCenterNo`,'post',data)
|
|
|
|
/**
|
|
* 反向同步替代下的数据 IFS-PLM
|
|
*/
|
|
export const syncRoutingInfoIfsToPlm = data => createAPI(`/plm/routingManagement/syncRoutingInfoIfsToPlm`,'post',data)
|
|
|
|
/**
|
|
* 复制子物料
|
|
*/
|
|
export const copyComponentPart = data => createAPI(`/plm/routingManagement/copyComponentPart`,'post',data)
|
|
|
|
/**
|
|
* 获取粘贴栏列表
|
|
*/
|
|
export const getCopyComponentList = data => createAPI(`/plm/routingManagement/getCopyComponentList`,'post',data)
|
|
|
|
/**
|
|
* 粘贴
|
|
*/
|
|
export const copyComponentPartByPasteBar = data => createAPI(`/plm/routingManagement/copyComponentPartByPasteBar`,'post',data)
|
|
|
|
/**
|
|
* 删除粘贴栏
|
|
*/
|
|
export const deletePasteBarList = data => createAPI(`/plm/routingManagement/deletePasteBarList`,'post',data)
|
|
|