From 3c99f29d47c7ec452398f1fdf6f8a6f9fb739085 Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Tue, 17 Mar 2026 15:34:04 +0800 Subject: [PATCH] =?UTF-8?q?2026-03-17=20=E4=BA=A7=E5=93=81BOM=E3=80=81?= =?UTF-8?q?=E9=85=8D=E6=96=B9BOM=E3=80=81Routing=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E3=80=90=E5=BC=82=E5=B8=B8=E8=BD=AC=E6=AD=A3=E5=BC=8F=E3=80=82?= =?UTF-8?q?=E3=80=82=E3=80=82=E3=80=91=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/part/bomManagement.js | 7 +++++ src/api/part/recipeManagement.js | 7 +++++ src/api/part/routingManagement.js | 5 +++ src/views/modules/part/bomManagement.vue | 33 ++++++++++++++++++++ src/views/modules/part/recipeManagement.vue | 32 +++++++++++++++++++ src/views/modules/part/routingManagement.vue | 33 ++++++++++++++++++++ 6 files changed, 117 insertions(+) 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