Commit d236c3d2 authored by dragondean@qq.com's avatar dragondean@qq.com

新建订单偶发运输方式NaN的bug

parent 55b2c7d6
......@@ -940,19 +940,19 @@ export default {
this.$set(this, 'showWorkFlow', true)
}
},
'$route.query.transportType'(transportType){
this.$set(this.form, 'transportId', +transportType)
}
/*'$route.query.transportType'(transportType){
this.$set(this.form, 'transportId', transportType ? +transportType : undefined)
}*/
},
activated(){
if(this.$route.query.id != this.form.id){
this.getOrder()
}
if(this.$route.query.transportType != this.transportId){
let transportType = undefined
if(this.$route.query.transportType){
transportType = +this.$route.query.transportType
}
let transportType = undefined
if(this.$route.query.transportType){
transportType = +this.$route.query.transportType
}
if(transportType != this.transportId){
this.$set(this.form, 'transportId', transportType)
}
......@@ -990,7 +990,6 @@ export default {
})
}
},
methods: {
onTableMounted(e){
......
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