Browse Source

plm BMM

master
ruanqi 1 year ago
parent
commit
6a554d7a2c
  1. 29
      src/views/modules/sampleManagement/technicalSpecificationList.vue

29
src/views/modules/sampleManagement/technicalSpecificationList.vue

@ -779,6 +779,35 @@
})
},
activated() {
if (this.$route.params.type === 'tokenLogin') {
console.log("进来啦")
if (this.$route.params.docNo) {
// this.searchData.applyNo = this.$route.params.docNo
let inData={
page: 1,
limit: 100,
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) {
this.dataList1 = data.page.list
this.pageIndex = data.page.currPage
this.pageSize = data.page.pageSize
this.totalPage = data.page.totalCount
if(this.dataList1.length>0){
this.$refs.mainTable.setCurrentRow(this.dataList1[0]);
this.changeData(this.dataList1[0])
}
}
this.dataListLoading = false
})
}
}
if (this.$route.params.codeNo){
this.searchData.oriCodeNo = this.$route.params.codeNo;
this.search();

Loading…
Cancel
Save