Browse Source

2025-05-28

跳转技术参数卡优化
master
fengyuan_yang 8 months ago
parent
commit
5c931738c3
  1. 2
      src/views/modules/changeManagement/changeRecord.vue
  2. 10
      src/views/modules/sampleManagement/technicalSpecificationList.vue

2
src/views/modules/changeManagement/changeRecord.vue

@ -4861,7 +4861,7 @@
if (this.$router.resolve(`/sampleManagement-technicalSpecificationList`).resolved.name === '404') {
this.$alert('权限不足,访问失败', '警告', {confirmButtonText: '确定',})
} else {
this.$router.push({name:`sampleManagement-technicalSpecificationList`,params:{nowCodeNo:row.codeNo},})
this.$router.push({name:`sampleManagement-technicalSpecificationList`,params:{nowCodeNo: row.oriCodeNo},})
}
},

10
src/views/modules/sampleManagement/technicalSpecificationList.vue

@ -1001,7 +1001,7 @@
this.dataListLoading = false
})
}
}else if (this.$route.params.type === 'test'){
} else if (this.$route.params.type === 'test') {
this.searchData.buNo = this.$route.params.buNo
this.searchData.testPartNo = this.$route.params.testPartNo
this.search();
@ -1009,17 +1009,17 @@
this.searchData.buNo = '';
this.searchData.testPartNo = '';
}, 200)
}else if (this.$route.params.codeNo){
} else if (this.$route.params.codeNo) {
this.searchData.oriCodeNo = this.$route.params.codeNo;
this.search();
setTimeout(() => {
this.searchData.oriCodeNo = '';
}, 200)
}else if (this.$route.params.nowCodeNo){
this.searchData.codeNo = this.$route.params.nowCodeNo;
} else if (this.$route.params.nowCodeNo) {
this.searchData.oriCodeNo = this.$route.params.nowCodeNo;
this.search();
setTimeout(() => {
this.searchData.codeNo = '';
this.searchData.oriCodeNo = '';
}, 200)
}
},

Loading…
Cancel
Save