Browse Source

2025-04-24

plmPartNo
ifsPartNo
master
fengyuan_yang 9 months ago
parent
commit
808a559d29
  1. 20
      src/views/modules/part/bomManagement.vue
  2. 2
      src/views/modules/part/partInformation.vue
  3. 22
      src/views/modules/part/routingManagement.vue

20
src/views/modules/part/bomManagement.vue

@ -2656,10 +2656,10 @@ export default {
activated() {
if (this.$route.params && this.$route.params.type && this.$route.params.type === 'quote'){
this.handleQueryBomByQuote();
}else if (this.$route.params.partNo) {
this.searchData.partNo = this.$route.params.partNo
} 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
@ -2669,14 +2669,14 @@ export default {
methods: {
// === ===
handleQueryBomByQuote(){
handleQueryBomByQuote () {
let params = {
site:this.$store.state.user.site,
partNo:this.$route.params.partNo,
bomType:this.$route.params.bomType,
engChgLevel:this.$route.params.engChgLevel,
page:this.pageIndex,
limit:this.pageSize
site: this.$store.state.user.site,
plmPartNo: this.$route.params.partNo,
bomType: this.$route.params.bomType,
engChgLevel: this.$route.params.engChgLevel,
page: this.pageIndex,
limit: this.pageSize
}
this.queryLoading = true
bomManagementSearch(params).then(({data})=>{

2
src/views/modules/part/partInformation.vue

@ -5782,7 +5782,7 @@
if (this.$router.resolve(`/part-${path}Management`).resolved.name === '404') {
this.$alert('权限不足,访问失败', '警告', {confirmButtonText: '确定',})
} else {
this.$router.push({name:`part-${path}Management`,params:{partNo:row.partNo},})
this.$router.push({name:`part-${path}Management`,params:{partNo: row.partNo},})
}
},

22
src/views/modules/part/routingManagement.vue

@ -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})=>{

Loading…
Cancel
Save