|
|
@ -944,15 +944,12 @@ |
|
|
if (this.$route.params.type === 'tokenLogin') { |
|
|
if (this.$route.params.type === 'tokenLogin') { |
|
|
if (this.$route.params.docNo) { |
|
|
if (this.$route.params.docNo) { |
|
|
// this.searchData.applyNo = this.$route.params.docNo |
|
|
// this.searchData.applyNo = this.$route.params.docNo |
|
|
|
|
|
|
|
|
let inData={ |
|
|
let inData={ |
|
|
page: 1, |
|
|
page: 1, |
|
|
limit: 100, |
|
|
|
|
|
|
|
|
limit: this.pageSize, |
|
|
site: this.$store.state.user.site, |
|
|
site: this.$store.state.user.site, |
|
|
userName: this.$store.state.user.name, |
|
|
userName: this.$store.state.user.name, |
|
|
|
|
|
|
|
|
codeNo:this.$route.params.docNo, |
|
|
codeNo:this.$route.params.docNo, |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
technicalSpecificationListSearch(inData).then(({data}) => { |
|
|
technicalSpecificationListSearch(inData).then(({data}) => { |
|
|
if (data.code == 0) { |
|
|
if (data.code == 0) { |
|
|
@ -977,15 +974,13 @@ |
|
|
this.searchData.buNo = ''; |
|
|
this.searchData.buNo = ''; |
|
|
this.searchData.testPartNo = ''; |
|
|
this.searchData.testPartNo = ''; |
|
|
}, 200) |
|
|
}, 200) |
|
|
} |
|
|
|
|
|
if (this.$route.params.codeNo){ |
|
|
|
|
|
|
|
|
}else if (this.$route.params.codeNo){ |
|
|
this.searchData.oriCodeNo = this.$route.params.codeNo; |
|
|
this.searchData.oriCodeNo = this.$route.params.codeNo; |
|
|
this.search(); |
|
|
this.search(); |
|
|
setTimeout(() => { |
|
|
setTimeout(() => { |
|
|
this.searchData.oriCodeNo = ''; |
|
|
this.searchData.oriCodeNo = ''; |
|
|
}, 200) |
|
|
}, 200) |
|
|
} |
|
|
|
|
|
if (this.$route.params.nowCodeNo){ |
|
|
|
|
|
|
|
|
}else if (this.$route.params.nowCodeNo){ |
|
|
this.searchData.codeNo = this.$route.params.nowCodeNo; |
|
|
this.searchData.codeNo = this.$route.params.nowCodeNo; |
|
|
this.search(); |
|
|
this.search(); |
|
|
setTimeout(() => { |
|
|
setTimeout(() => { |
|
|
|