|
|
|
@ -2686,12 +2686,12 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
activated() { |
|
|
|
if (this.$route.params && this.$route.params.type && this.$route.params.type === 'quote'){ |
|
|
|
this.handleQueryRoutingByQuote(); |
|
|
|
}else if (this.$route.params.partNo) { |
|
|
|
this.searchData.partNo = this.$route.params.partNo |
|
|
|
if (this.$route.params && this.$route.params.type && this.$route.params.type === 'quote') { |
|
|
|
this.handleQueryRoutingByQuote() |
|
|
|
} else if (this.$route.params.partNo) { |
|
|
|
this.searchData.plmPartNo = this.$route.params.partNo |
|
|
|
this.getDataList() |
|
|
|
}else if (this.initPage === false){ |
|
|
|
} else if (this.initPage === false) { |
|
|
|
this.getDataList() |
|
|
|
} |
|
|
|
this.initPage = true |
|
|
|
@ -2702,12 +2702,12 @@ export default { |
|
|
|
// === 报价查询 === |
|
|
|
handleQueryRoutingByQuote(){ |
|
|
|
let params = { |
|
|
|
site:this.$store.state.user.site, |
|
|
|
partNo:this.$route.params.partNo, |
|
|
|
routingType:this.$route.params.routingType, |
|
|
|
engChgLevel:this.$route.params.engChgLevel, |
|
|
|
page:this.pageIndex, |
|
|
|
limit:this.pageSize |
|
|
|
site: this.$store.state.user.site, |
|
|
|
plmPartNo: this.$route.params.partNo, |
|
|
|
routingType: this.$route.params.routingType, |
|
|
|
engChgLevel: this.$route.params.engChgLevel, |
|
|
|
page: this.pageIndex, |
|
|
|
limit: this.pageSize |
|
|
|
} |
|
|
|
this.queryLoading = true |
|
|
|
routingManagementSearch(params).then(({data})=>{ |
|
|
|
|