Commit 3442558b authored by 黄奎's avatar 黄奎

报名清单出团通知书修改

parent 458b43fe
...@@ -1448,8 +1448,8 @@ ...@@ -1448,8 +1448,8 @@
<div class="RL_rightBtn" v-if="isShow===true"> <div class="RL_rightBtn" v-if="isShow===true">
<!--item.TCID,item.OutBranchId--> <!--item.TCID,item.OutBranchId-->
<input type="button" class="normalBtn" @click="goTeamBalance(ConfigData.Config.TCID,ConfigData.Config.OutBranchId)" value="团报" /> <input type="button" class="normalBtn" @click="goTeamBalance(ConfigData.Config.TCID,ConfigData.Config.OutBranchId)" value="团报" />
<input type="button" class="normalBtn" @click="getOrderInfo()" :value="'出团通知书('+(SetNoticeMsg.OutNotice==1?'OK':'暂定')+')'" /> <input type="button" class="normalBtn" @click="getOrderInfo()" :value="'出团通知书('+(SetNoticeMsg.OutNotice==1?'OK':'暂定')+')'" />
<input type="button" class="normalBtn" @click="SetOutNotice()" :value="'出团通知书('+(SetNoticeMsg.OutNotice==1?'OK':'暂定')+')'" style="display:none;" />
<input type="button" @click="CancelLeader" v-if="ConfigData.Leader!=null&&ConfigData.Leader.LeaderId>0" class="normalBtn" <input type="button" @click="CancelLeader" v-if="ConfigData.Leader!=null&&ConfigData.Leader.LeaderId>0" class="normalBtn"
value="重选领队" /> value="重选领队" />
<input type="button" class="normalBtn" v-else @click="showSetLeader=true,isShowLayerRemarks = false,isShowLayer = false" <input type="button" class="normalBtn" v-else @click="showSetLeader=true,isShowLayerRemarks = false,isShowLayer = false"
...@@ -3903,7 +3903,6 @@ submitYSZEForm(){ ...@@ -3903,7 +3903,6 @@ submitYSZEForm(){
msg, msg,
res => { res => {
this.loading = false; this.loading = false;
console.log("数据列表",res)
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.OrderDataList = res.data.data; this.OrderDataList = res.data.data;
this.IsUpdateOrderMoney = res.data.data.IsUpdateOrderMoney this.IsUpdateOrderMoney = res.data.data.IsUpdateOrderMoney
...@@ -3945,7 +3944,6 @@ submitYSZEForm(){ ...@@ -3945,7 +3944,6 @@ submitYSZEForm(){
this.ConfigData.Config = res.data.data.config; this.ConfigData.Config = res.data.data.config;
this.SetNoticeMsg.OutNotice = res.data.data.config.OutNotice; this.SetNoticeMsg.OutNotice = res.data.data.config.OutNotice;
this.ConfigData.Leader = res.data.data.leader; this.ConfigData.Leader = res.data.data.leader;
console.log(this.ConfigData,'ConfigData');
} }
} }
); );
...@@ -4205,39 +4203,31 @@ submitYSZEForm(){ ...@@ -4205,39 +4203,31 @@ submitYSZEForm(){
} }
}, },
//出团通知书 //出团通知书
getOrderInfo() { getOrderInfo() {
this.$confirm("是否确认出团通知书?", "提示", { this.getFlightInfo();
confirmButtonText: "确定", this.getCombinTeam();
cancelButtonText: "取消",
type: "warning"
})
.then(() => {
this.getFlightInfo();
this.getCombinTeam();
})
.catch(() => {
this.$message.info("已取消!");
});
}, },
SetOutNotice(){ SetOutNotice(){
if (this.SetNoticeMsg.OutNotice == 0) { var that=this;
this.SetNoticeMsg.OutNotice = 1; this.Confirm("是否确认出团通知书?",function(){
} else if (this.SetNoticeMsg.OutNotice == 1) { if (that.SetNoticeMsg.OutNotice == 0) {
this.SetNoticeMsg.OutNotice = 0; that.SetNoticeMsg.OutNotice = 1;
} } else if (that.SetNoticeMsg.OutNotice == 1) {
this.apipost('travel_post_SetOutNotice', this.SetNoticeMsg, res => { that.SetNoticeMsg.OutNotice = 0;
if (res.data.resultCode === 1) { }
this.getList(); that.apipost('travel_post_SetOutNotice', that.SetNoticeMsg, res => {
this.getConfig(); if (res.data.resultCode === 1) {
this.Success(res.data.message); that.getList();
this.outerVisible=false; that.getConfig();
} else { that.Success(res.data.message);
this.Error(res.data.message); that.outerVisible=false;
} } else {
}, err => { that.Error(res.data.message);
}
}) }, err => {
}, })
});
},
//关闭修改业务员 //关闭修改业务员
closeSalseDiv(){ closeSalseDiv(){
this.showChangeSales=false; this.showChangeSales=false;
......
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