diff --git a/src/api/part/bomManagement.js b/src/api/part/bomManagement.js index 35d599c..853051f 100644 --- a/src/api/part/bomManagement.js +++ b/src/api/part/bomManagement.js @@ -155,6 +155,13 @@ export const copyAlternative = data => createAPI(`/plm/bomManagement/copyAlterna */ export const toBecomeOfficialBom = data => createAPI(`/plm/bomManagement/toBecomeOfficialBom`,'post',data) +/** + * 异常转正式Bom(IFS已存在时直接更新official_flag) + * @param data + * @returns {*} + */ +export const toOfficialBomByIfs = data => createAPI(`/plm/bomManagement/toOfficialBomByIfs`,'post',data) + /** * 新编辑副产品成本分配 * @param data diff --git a/src/api/part/recipeManagement.js b/src/api/part/recipeManagement.js index 60cbe6b..17ed200 100644 --- a/src/api/part/recipeManagement.js +++ b/src/api/part/recipeManagement.js @@ -155,6 +155,13 @@ export const copyAlternative = data => createAPI(`/plm/recipeManagement/copyAlte */ export const toBecomeOfficialRecipe = data => createAPI(`/plm/recipeManagement/toBecomeOfficialRecipe`,'post',data) +/** + * 异常转正式Recipe(IFS已存在时直接更新official_flag) + * @param data + * @returns {*} + */ +export const toOfficialRecipeByIfs = data => createAPI(`/plm/recipeManagement/toOfficialRecipeByIfs`,'post',data) + /** * 新编辑副产品成本分配 * @param data diff --git a/src/api/part/routingManagement.js b/src/api/part/routingManagement.js index 0cc2f55..de314fe 100644 --- a/src/api/part/routingManagement.js +++ b/src/api/part/routingManagement.js @@ -144,6 +144,11 @@ export const copyAlternative = data => createAPI(`/plm/routingManagement/copyAlt */ export const toBecomeOfficialRouting = data => createAPI(`/plm/routingManagement/toBecomeOfficialRouting`,'post',data) +/** + * 异常转正式Routing(IFS已存在时直接更新official_flag) + */ +export const toOfficialRoutingByIfs = data => createAPI(`/plm/routingManagement/toOfficialRoutingByIfs`,'post',data) + /** * 查询最大工序号 */ diff --git a/src/views/modules/part/bomManagement.vue b/src/views/modules/part/bomManagement.vue index 7ab1fac..ee57a73 100644 --- a/src/views/modules/part/bomManagement.vue +++ b/src/views/modules/part/bomManagement.vue @@ -189,6 +189,8 @@ @click="updateStatusToObsolete" :loading="toBecomeOfficialLoading">Retire 转正式BOM + 异常转正式BOM