From a5fc324d6f7df3d07ca6e6447c1c4206988bda76 Mon Sep 17 00:00:00 2001 From: qiezi <15576055375@163.com> Date: Wed, 21 May 2025 11:44:01 +0800 Subject: [PATCH] 2025-05-21 --- .../sampleManagement/technicalSpecificationList.vue | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/views/modules/sampleManagement/technicalSpecificationList.vue b/src/views/modules/sampleManagement/technicalSpecificationList.vue index bf5308a..1516417 100644 --- a/src/views/modules/sampleManagement/technicalSpecificationList.vue +++ b/src/views/modules/sampleManagement/technicalSpecificationList.vue @@ -944,15 +944,12 @@ if (this.$route.params.type === 'tokenLogin') { if (this.$route.params.docNo) { // this.searchData.applyNo = this.$route.params.docNo - let inData={ page: 1, - limit: 100, + limit: this.pageSize, site: this.$store.state.user.site, userName: this.$store.state.user.name, - codeNo:this.$route.params.docNo, - } technicalSpecificationListSearch(inData).then(({data}) => { if (data.code == 0) { @@ -977,15 +974,13 @@ this.searchData.buNo = ''; this.searchData.testPartNo = ''; }, 200) - } - 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) - } - if (this.$route.params.nowCodeNo){ + }else if (this.$route.params.nowCodeNo){ this.searchData.codeNo = this.$route.params.nowCodeNo; this.search(); setTimeout(() => {