From 93de40748429234c44ee3b9fc57a0f2231c29f1d Mon Sep 17 00:00:00 2001 From: ruanqi Date: Mon, 6 Jan 2025 17:39:19 +0800 Subject: [PATCH] plm BMM --- .../com_bm_bom.vue | 20 ++++++++++++++ .../com_bm_demoSlot.vue | 26 ++++++++++++++++++- 2 files changed, 45 insertions(+), 1 deletion(-) diff --git a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_bom.vue b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_bom.vue index 3b5af16..8d70ec3 100644 --- a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_bom.vue +++ b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_bom.vue @@ -58,6 +58,16 @@ + + + @@ -534,6 +544,16 @@ localStorage.setItem('bomData', JSON.stringify(inData)) window.open('#/part-bomManagement'); }, + jumpPeifang(row){ + let inData={ + site:row.site, + partNo:row.componentPart, + bomType:'Manufacturing', + + } + localStorage.setItem('recipeData', JSON.stringify(inData)) + window.open('#/part-recipeManagement'); + }, // 获取流程的配置权限 getNodeAuthority (row) { getBMStatusDesc(this.searchData).then(({data})=>{ diff --git a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_demoSlot.vue b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_demoSlot.vue index e733ef8..c500e3d 100644 --- a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_demoSlot.vue +++ b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_demoSlot.vue @@ -185,7 +185,31 @@ //this.searchData.type= JSON.parse(JSON.stringify(this.type)); //刷新表格 this.$nextTick(()=>{ - this.searchTable(); + // this.searchTable(); + getOADetailForBM(this.searchData).then(({data}) => { + this.spForm.nodeName = data.row.nodeName + this.spForm.sp = data.row.sp + }) + searchBMPropertiesValue(this.searchData).then(({data}) => { + + this.tableData = data.rows; + // this.$message({ + // message: '操作成功', + // type: 'success', + // duration: 1500, + // onClose: () => { + // } + // }) + }); + searchBMPropertiesHeaderForBM(this.searchData).then(({data}) => { + // this.searchData.propertiesCodeNo = data.row.propertiesCodeNo; + this.$set(this.searchData, 'propertiesCodeNo', data.row.propertiesCodeNo); + }); + tsdBasicInformationSearch(this.searchData).then(({data}) => { + this.baseForm=data.row; + this.getNodeAuthority(data.row) + }) + this.$clearHighLight() } )