Browse Source

2025/7/2

master
Aoi_Tori 7 months ago
parent
commit
effe94597a
  1. 6
      src/views/modules/part/partInformation.vue
  2. 2
      src/views/modules/part/recipeManagement.vue

6
src/views/modules/part/partInformation.vue

@ -5786,9 +5786,11 @@
let path = '' let path = ''
if (type === 'Routing' ) { if (type === 'Routing' ) {
path = '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' 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' path = 'recipe'
} }
if (this.$router.resolve(`/part-${path}Management`).resolved.name === '404') { if (this.$router.resolve(`/part-${path}Management`).resolved.name === '404') {

2
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') { if (this.$route.params && this.$route.params.type && this.$route.params.type === 'quote') {
this.handleQueryRecipeByQuote() this.handleQueryRecipeByQuote()
} else if (this.$route.params.partNo) { } else if (this.$route.params.partNo) {
this.searchData.partNo = this.$route.params.partNo
this.searchData.plmPartNo = this.$route.params.partNo
this.getDataList() this.getDataList()
} else if (this.initPage === false) { } else if (this.initPage === false) {
this.getDataList() this.getDataList()

Loading…
Cancel
Save