From effe94597a8911e92484c30cadd80be01dbeb015 Mon Sep 17 00:00:00 2001 From: Aoi_Tori <2547614904@qq.com> Date: Wed, 2 Jul 2025 16:01:52 +0800 Subject: [PATCH] 2025/7/2 --- src/views/modules/part/partInformation.vue | 6 ++++-- src/views/modules/part/recipeManagement.vue | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/views/modules/part/partInformation.vue b/src/views/modules/part/partInformation.vue index b959b3c..33dd9b0 100644 --- a/src/views/modules/part/partInformation.vue +++ b/src/views/modules/part/partInformation.vue @@ -5786,9 +5786,11 @@ let path = '' if (type === 'Routing' ) { path = 'routing' - } else if (type === 'BOM' && row.partType !== 'Manufactured Recipe') { + // } else if (type === 'BOM' && row.partType !== 'Manufactured Recipe') { + } else if (row.ifHasPeifang === 'N') { path = 'bom' - } else if (type === 'BOM' && row.partType === 'Manufactured Recipe') { + // } else if (type === 'BOM' && row.partType === 'Manufactured Recipe') { + } else if (row.ifHasPeifang === 'Y') { path = 'recipe' } if (this.$router.resolve(`/part-${path}Management`).resolved.name === '404') { diff --git a/src/views/modules/part/recipeManagement.vue b/src/views/modules/part/recipeManagement.vue index d73b76c..e3b840e 100644 --- a/src/views/modules/part/recipeManagement.vue +++ b/src/views/modules/part/recipeManagement.vue @@ -2796,7 +2796,7 @@ export default { if (this.$route.params && this.$route.params.type && this.$route.params.type === 'quote') { this.handleQueryRecipeByQuote() } else if (this.$route.params.partNo) { - this.searchData.partNo = this.$route.params.partNo + this.searchData.plmPartNo = this.$route.params.partNo this.getDataList() } else if (this.initPage === false) { this.getDataList()