Commit 24026294 authored by youjie's avatar youjie

no message

parent 23178d8e
...@@ -444,10 +444,10 @@ ...@@ -444,10 +444,10 @@
</div> </div>
<div class="right-Submit"> <div class="right-Submit">
<button v-if="!isCheck" class="hollowFixedBtn" type="primary"> <button v-if="!isCheck" class="hollowFixedBtn" type="primary">
提交订单 {{msg.Id?'确定编辑':'提交订单'}}
</button> </button>
<button v-else class="normalBtn" type="primary" @click="submit"> <button v-else class="normalBtn" type="primary" @click="submit">
提交订单 {{msg.Id?'确定编辑':'提交订单'}}
</button> </button>
</div> </div>
</div> </div>
...@@ -686,12 +686,6 @@ ...@@ -686,12 +686,6 @@
}); });
}, },
setFormMsg(){ setFormMsg(){
// if(this.msg.details.length==0) return
// for(let i=0;i<this.msg.details.length;i++){
// if(this.msg.details[i].UseType){
// }
// }
this.apipost("tripbus_SetTripBus", this.msg, this.apipost("tripbus_SetTripBus", this.msg,
res => { res => {
this.loading = false; this.loading = false;
...@@ -732,15 +726,12 @@ ...@@ -732,15 +726,12 @@
TeamName: res.data.data.TeamName,//团队信息 TeamName: res.data.data.TeamName,//团队信息
details: res.data.data.details details: res.data.data.details
} }
this.isCheck = true
} }
}) })
}, },
showCardHandler() {
this.detailsRow = JSON.parse(JSON.stringify(this.detailsObj))
this.showDetails = true
},
}, },
mounted() { mounted() {
......
...@@ -330,7 +330,7 @@ ...@@ -330,7 +330,7 @@
name: 'CharterAddEditVehicle', name: 'CharterAddEditVehicle',
query: { query: {
blank: "y", blank: "y",
tab: "新增/编辑团订" tab: "新增团订"
} }
}); });
}, },
......
...@@ -405,12 +405,18 @@ ...@@ -405,12 +405,18 @@
}, },
methods: { methods: {
goUrl(Id){ goUrl(Id){
let text
if(Id){
text = '编辑团订'
}else{
text = '新增团订'
}
this.$router.push({ this.$router.push({
name: 'CharterAddEditVehicle', name: 'CharterAddEditVehicle',
query: { query: {
Id: Id, Id: Id,
blank: "y", blank: "y",
tab: "新增/编辑团订" tab: text
} }
}); });
}, },
......
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