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(() => {