getDetail (){
if(this.id>0){
var uri='/mobile/morder/detail?id='+this.id
}else if(this.cost_code>0){
var uri='/mobile/morder/detail?cost_code='+this.cost_code
}else{
return
}
this.$http.get(uri).then((res)=>{
this.order=res.data.order
})
},
if(this.id>0){
var uri='/mobile/morder/detail?id='+this.id
}else if(this.cost_code>0){
var uri='/mobile/morder/detail?cost_code='+this.cost_code
}else{
return
}
this.$http.get(uri).then((res)=>{
this.order=res.data.order
})
},