Commit ecc651db authored by youjie's avatar youjie

no message

parent efdc0283
...@@ -60,14 +60,19 @@ ...@@ -60,14 +60,19 @@
mounted() { mounted() {
if(this.$route.query.OrderType){ if(this.$route.query.OrderType){
this.OrderId = this.$route.query.OrderId this.OrderId = this.$route.query.OrderId
this.tab = this.$route.query.OrderType
this.dataObj.OrderId = this.$route.query.OrderId this.dataObj.OrderId = this.$route.query.OrderId
this.dataObj.tab = this.$route.query.OrderType if(this.$route.query.Type<4){
this.tab = this.$route.query.Type
this.dataObj.tab = this.$route.query.Type
}else{
this.tab = '0'
this.dataObj.tab = '0'
}
}else{ }else{
this.tab = '0' this.tab = '0'
this.OrderId = 0 this.OrderId = 0
this.dataObj.OrderId = 0 this.dataObj.OrderId = 0
this.dataObj.tab = '1' this.dataObj.tab = '0'
} }
}, },
}; };
......
...@@ -60,14 +60,19 @@ ...@@ -60,14 +60,19 @@
mounted() { mounted() {
if(this.$route.query.OrderType){ if(this.$route.query.OrderType){
this.OrderId = this.$route.query.OrderId this.OrderId = this.$route.query.OrderId
this.tab = this.$route.query.OrderType
this.dataObj.OrderId = this.$route.query.OrderId this.dataObj.OrderId = this.$route.query.OrderId
this.dataObj.tab = this.$route.query.OrderType if(this.$route.query.Type<4){
this.tab = this.$route.query.Type
this.dataObj.tab = this.$route.query.Type
}else{
this.tab = '0'
this.dataObj.tab = '0'
}
}else{ }else{
this.tab = '0' this.tab = '0'
this.OrderId = 0 this.OrderId = 0
this.dataObj.OrderId = 0 this.dataObj.OrderId = 0
this.dataObj.tab = '1' this.dataObj.tab = '0'
} }
}, },
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment