diff --git a/src/views/modules/changeManagement/changeRecord.vue b/src/views/modules/changeManagement/changeRecord.vue index b8e1688..c56f6c7 100644 --- a/src/views/modules/changeManagement/changeRecord.vue +++ b/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},}) } }, diff --git a/src/views/modules/sampleManagement/technicalSpecificationList.vue b/src/views/modules/sampleManagement/technicalSpecificationList.vue index 9d54ad4..6ca9310 100644 --- a/src/views/modules/sampleManagement/technicalSpecificationList.vue +++ b/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) } },