|
|
|
@ -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') { |
|
|
|
|