From ea100ba94f16472bb9c4b6419a227121e6ba92ab Mon Sep 17 00:00:00 2001 From: ruanqi Date: Thu, 6 Mar 2025 15:14:42 +0800 Subject: [PATCH] plm BMM --- .../technicalSpecificationDetail/com_bm_bom.vue | 2 +- .../com_bm_customerInformation.vue | 4 ++-- .../technicalSpecificationDetail/com_bm_demoSlot.vue | 4 ++-- .../technicalSpecificationDetail/com_bm_routing.vue | 2 +- .../com_tsd_basicInformation.vue | 8 ++++---- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_bom.vue b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_bom.vue index 24fa23f..26c9cc8 100644 --- a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_bom.vue +++ b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_bom.vue @@ -472,7 +472,7 @@ getOADetailForBM(this.searchData).then(({data}) => { this.spForm.nodeName = data.row.nodeName - this.spForm.sp = data.row.sp + this.spForm.sp = data.row.sp==null?'':data.row.sp }) searchBMBom(this.searchData).then(({data}) => { if(data&& data.code===0){ diff --git a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_customerInformation.vue b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_customerInformation.vue index c8577cb..42a8f64 100644 --- a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_customerInformation.vue +++ b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_customerInformation.vue @@ -329,7 +329,7 @@ }) getOADetailForBM(this.searchData).then(({data}) => { this.spForm.nodeName = data.row.nodeName - this.spForm.sp = data.row.sp + this.spForm.sp = data.row.sp==null?'':data.row.sp // console.log('审批人:'+this.spForm.sp) // console.log('用户:'+this.searchData.username) // console.log(this.spForm.sp.includes(this.searchData.username)) @@ -350,7 +350,7 @@ searchTable(){ getOADetailForBM(this.searchData).then(({data}) => { this.spForm.nodeName = data.row.nodeName - this.spForm.sp = data.row.sp + this.spForm.sp = data.row.sp==null?'':data.row.sp }) tsdBasicInformationSearch(this.searchData).then(({data}) => { this.baseForm=data.row; diff --git a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_demoSlot.vue b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_demoSlot.vue index 8fae57e..7ff9861 100644 --- a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_demoSlot.vue +++ b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_demoSlot.vue @@ -189,7 +189,7 @@ // this.searchTable(); getOADetailForBM(this.searchData).then(({data}) => { this.spForm.nodeName = data.row.nodeName - this.spForm.sp = data.row.sp + this.spForm.sp = data.row.sp==null?'':data.row.sp }) searchBMPropertiesValue(this.searchData).then(({data}) => { @@ -218,7 +218,7 @@ searchTable(){ getOADetailForBM(this.searchData).then(({data}) => { this.spForm.nodeName = data.row.nodeName - this.spForm.sp = data.row.sp + this.spForm.sp = data.row.sp==null?'':data.row.sp }) searchBMPropertiesValue(this.searchData).then(({data}) => { diff --git a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_routing.vue b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_routing.vue index 5b15a79..580d81e 100644 --- a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_routing.vue +++ b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_routing.vue @@ -1001,7 +1001,7 @@ }); getOADetailForBM(this.searchData).then(({data}) => { this.spForm.nodeName = data.row.nodeName - this.spForm.sp = data.row.sp + this.spForm.sp = data.row.sp==null?'':data.row.sp }) if(this.searchData.buNo==='RDC'){ searchBMRoutingDetail(this.searchData).then(({data}) => { diff --git a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_tsd_basicInformation.vue b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_tsd_basicInformation.vue index 94d1ac0..64b32fd 100644 --- a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_tsd_basicInformation.vue +++ b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_tsd_basicInformation.vue @@ -543,7 +543,7 @@ } getOADetailForBM(inData).then(({data}) => { this.spForm.nodeName = data.row.nodeName - this.spForm.sp = data.row.sp + this.spForm.sp = data.row.sp==null?'':data.row.sp }) searchTechnicalSpecificationTeamStr(inData).then(({data}) => { this.dataForm.quotationOfficerList = data.rows @@ -605,7 +605,7 @@ }) getOADetailForBM(inData).then(({data}) => { this.spForm.nodeName = data.row.nodeName - this.spForm.sp = data.row.sp + this.spForm.sp = data.row.sp==null?'':data.row.sp }) let inData2 = { site: this.dataForm.site, @@ -870,7 +870,7 @@ } issueChange(tempData).then(({data}) => { if (data && data.code === 0) { - this.refresh() + this.searchTable() this.$message({message: '操作成功', type: 'success'}) } else { this.$alert(data.msg, '错误', { @@ -911,7 +911,7 @@ if (data && data.code === 0) { submitChange(tempData).then(({data}) => { if (data && data.code === 0) { - this.refresh(); + this.searchTable() this.submitModalFlag = false this.$message({message: '操作成功', type: 'success'}) } else {