From 5c931738c3c410a91cc2ff2671ad48f49d1cf617 Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Wed, 28 May 2025 14:01:21 +0800 Subject: [PATCH] =?UTF-8?q?2025-05-28=20=E8=B7=B3=E8=BD=AC=E6=8A=80?= =?UTF-8?q?=E6=9C=AF=E5=8F=82=E6=95=B0=E5=8D=A1=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/changeManagement/changeRecord.vue | 2 +- .../sampleManagement/technicalSpecificationList.vue | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) 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) } },