diff --git a/src/views/modules/part/bomManagement.vue b/src/views/modules/part/bomManagement.vue
index b2cebd6..3884b73 100644
--- a/src/views/modules/part/bomManagement.vue
+++ b/src/views/modules/part/bomManagement.vue
@@ -259,7 +259,18 @@
label="操作">
编辑
+
+
+ 更多
+
+
+ 产品BOM
+ 配方BOM
+ Routing
+
+
+
@@ -2789,6 +2800,14 @@ export default {
this.$nextTick(() => {
this.height = window.innerHeight - 170
})
+ const skipModal = localStorage.getItem('skipModal') === 'true'
+ const bomData = localStorage.getItem('bomData')
+
+ if (bomData && !skipModal) {
+ this.modalFlag = true
+ }
+
+ localStorage.removeItem('skipModal')
},
activated() {
@@ -4519,6 +4538,47 @@ export default {
this.$router.push({name:`part-partInformation`,params:{ifsPartNo: ifsPartNo},})
}
},
+
+ toMenu (type, row) {
+ let path = ''
+ if (type === 'Routing' ) {
+ path = 'routing'
+ } else if (type === 'BOM' && row.partType !== 'Manufactured Recipe') {
+ path = 'bom'
+ } else if (type === 'BOM' && row.partType === 'Manufactured Recipe') {
+ path = 'recipe'
+ }
+ this.modalFlag = false
+ if (this.$router.resolve(`/part-${path}Management`).resolved.name === '404') {
+ this.$alert('权限不足,访问失败', '警告', {confirmButtonText: '确定',})
+ } else {
+ this.$router.push({name:`part-${path}Management`,params:{partNo: row.componentPart},})
+ }
+ },
+
+ jumpBom (row) {
+ if (row.engChgLevel != null || row.engChgLevel !== '') {
+ this.$message.error("bom明细不存在")
+ }
+ let inData = {
+ site: this.searchData.site,
+ partNo: row.componentPart,
+ engChgLevel: row.engChgLevel,
+ }
+ localStorage.setItem('bomData', JSON.stringify(inData))
+ window.open('#/part-bomManagement')
+ },
+
+ jumpPeifang (row) {
+ let inData = {
+ site: row.site,
+ ifsPartNo: row.componentPart,
+ bomType: 'Manufacturing',
+
+ }
+ localStorage.setItem('recipeData', JSON.stringify(inData))
+ window.open('#/part-recipeManagement')
+ },
}
}
diff --git a/src/views/modules/part/partInformation.vue b/src/views/modules/part/partInformation.vue
index 7e54cf8..4d6ba06 100644
--- a/src/views/modules/part/partInformation.vue
+++ b/src/views/modules/part/partInformation.vue
@@ -128,7 +128,8 @@
更多
- BOM
+ 产品BOM
+ 配方BOM
Routing
转正式物料
@@ -5631,6 +5632,30 @@
this.$router.push({name:`part-partCatalogInformation`,params:{ifsPartNo: ifsPartNo},})
}
},
+
+ jumpBom (row) {
+ if (row.engChgLevel != null || row.engChgLevel !== '') {
+ this.$message.error("bom明细不存在")
+ }
+ let inData = {
+ site: this.searchData.site,
+ partNo: row.ifsPartNo,
+ engChgLevel: row.engChgLevel,
+ }
+ localStorage.setItem('bomData', JSON.stringify(inData))
+ window.open('#/part-bomManagement')
+ },
+
+ jumpPeifang (row) {
+ let inData = {
+ site: row.site,
+ ifsPartNo: row.ifsPartNo,
+ bomType: 'Manufacturing',
+
+ }
+ localStorage.setItem('recipeData', JSON.stringify(inData))
+ window.open('#/part-recipeManagement')
+ },
}
}
diff --git a/src/views/modules/part/recipeManagement.vue b/src/views/modules/part/recipeManagement.vue
index 436b387..42f5726 100644
--- a/src/views/modules/part/recipeManagement.vue
+++ b/src/views/modules/part/recipeManagement.vue
@@ -2947,6 +2947,7 @@ export default {
if (localStorage.getItem('recipeData') != undefined) {
let data = JSON.parse(localStorage.getItem('recipeData'))
this.searchData.partNo = data.partNo
+ this.searchData.ifsPartNo = data.ifsPartNo
this.searchData.bomType = data.bomType
this.searchData.engChgLevel = data.engChgLevel
}
diff --git a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_bom.vue b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_bom.vue
index 0df31e4..1e36631 100644
--- a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_bom.vue
+++ b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_bom.vue
@@ -288,6 +288,7 @@
:height="250"
:data="urlFileList"
border
+ @row-dblclick="getRowData"
style="width: 100%;">