Commit 2932cd09 authored by 华国豪's avatar 华国豪 🙄
parents f56dfcf3 31fa437b
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
<p>投诉情况</p> <p>投诉情况</p>
<div class="AC_complaintList"> <div class="AC_complaintList">
<div class="t">主题内容:</div> <div class="t">主题内容:</div>
<ul> <ul style="width:90%;">
<li v-for="subItem in themeList" @click="getTheme(subItem)" :class="{'checked':subItem.isCheck}"> <li v-for="subItem in themeList" @click="getTheme(subItem)" :class="{'checked':subItem.isCheck}">
{{subItem.Name}} {{subItem.Name}}
</li> </li>
...@@ -134,7 +134,7 @@ ...@@ -134,7 +134,7 @@
</div> </div>
<div class="AC_complaintList"> <div class="AC_complaintList">
<div class="t">严重程度:</div> <div class="t">严重程度:</div>
<ul> <ul style="width:90%;">
<li v-for="subItem in severityList" @click="getServerity(subItem)" :class="{'checked':subItem.isCheck}"> <li v-for="subItem in severityList" @click="getServerity(subItem)" :class="{'checked':subItem.isCheck}">
{{subItem.Name}} {{subItem.Name}}
</li> </li>
...@@ -234,10 +234,10 @@ ...@@ -234,10 +234,10 @@
this.EditMsg.LineID = this.PriceInfo.LineID; this.EditMsg.LineID = this.PriceInfo.LineID;
this.EditMsg.LineteamId = this.PriceInfo.LineteamId; this.EditMsg.LineteamId = this.PriceInfo.LineteamId;
} }
this.ExitCount = res.data.data.ExitCount; // this.ExitCount = res.data.data.ExitCount;
if(this.ExitCount>0){ // if(this.ExitCount>0){
this.Error("该订单已存在投诉"); // this.Error("该订单已存在投诉");
} // }
} else { } else {
this.Error(res.data.message) this.Error(res.data.message)
} }
......
...@@ -203,6 +203,7 @@ ...@@ -203,6 +203,7 @@
<td>{{getTimeConsuming(item,2)}}</td> <td>{{getTimeConsuming(item,2)}}</td>
<td> <td>
<span class="CM_detail" @click="goUrl('ComplaintsDetail',item.ID,item.OrderID,'投诉详情')">详情</span> <span class="CM_detail" @click="goUrl('ComplaintsDetail',item.ID,item.OrderID,'投诉详情')">详情</span>
<span class="CM_detail" @click="delComplaints(item.ID,item.CreateBy)">删除</span>
</td> </td>
</tr> </tr>
</table> </table>
...@@ -438,6 +439,31 @@ ...@@ -438,6 +439,31 @@
var fileName = "投诉报表.xls"; var fileName = "投诉报表.xls";
this.GetLocalFile("get_complain_GetExport", msg, fileName); this.GetLocalFile("get_complain_GetExport", msg, fileName);
}, },
//删除
delComplaints(ID,UserID){
let userInfo = this.getLocalStorage();
if(userInfo.EmployeeId==UserID){
var that = this;
that.Confirm("是否删除?", function () {
var msg = {
ID : ID
};
that.apipost(
"conplain_post_Remove",msg,res => {
if (res.data.resultCode == 1) {
that.Success(res.data.message);
that.getList();
}else{
that.Error(res.data.message);
}
},
null
);
});
}else{
this.Error('只能删除自己创建的单据');
}
}
}, },
mounted () { mounted () {
this.getLineList() this.getLineList()
......
...@@ -263,7 +263,8 @@ ...@@ -263,7 +263,8 @@
<p class="_tit">{{GetDetail.FinanceName}}</p> <p class="_tit">{{GetDetail.FinanceName}}</p>
<div class="_conten"> <div class="_conten">
<template v-if="GetDetail.Type!==1 && GetDetail.Type!==7"> <template v-if="GetDetail.Type!==1 && GetDetail.Type!==7">
<my-Bill :ID="GetDetail.FrID" v-on:headCallBack="headCall" :width="widthSon" :color="colorSon"></my-Bill> <!-- <my-Bill :ID="GetDetail.FrID" v-on:headCallBack="headCall" :width="widthSon" :color="colorSon"></my-Bill> -->
<new-Bill :ID="GetDetail.FrID"></new-Bill>
</template> </template>
<template v-else-if="GetDetail.Type===1 && GetDetail.Type!==7"> <template v-else-if="GetDetail.Type===1 && GetDetail.Type!==7">
<my-RVB-Bill :ID="GetDetail.FrID" :width="widthSon" :color="colorSon"></my-RVB-Bill> <my-RVB-Bill :ID="GetDetail.FrID" :width="widthSon" :color="colorSon"></my-RVB-Bill>
...@@ -1105,6 +1106,8 @@ import teamProductModule from "../commonPage/teamProductModule.vue"; ...@@ -1105,6 +1106,8 @@ import teamProductModule from "../commonPage/teamProductModule.vue";
import TicketFinace from "../commonPage/TicketFinace.vue"; import TicketFinace from "../commonPage/TicketFinace.vue";
import SaleOrderModule from "../commonPage/SaleOrderModule.vue"; import SaleOrderModule from "../commonPage/SaleOrderModule.vue";
import TicketingModule from "../commonPage/TicketingModule.vue"; import TicketingModule from "../commonPage/TicketingModule.vue";
import newBill from "./FinancialSubmodule/NewBillModule.vue";
// import MsgBus from '../../assets/utils/msgBus.js'; // import MsgBus from '../../assets/utils/msgBus.js';
export default { export default {
data(){ data(){
...@@ -1237,6 +1240,7 @@ export default { ...@@ -1237,6 +1240,7 @@ export default {
'SaleOrderModule':SaleOrderModule, 'SaleOrderModule':SaleOrderModule,
'TicketFinace':TicketFinace, 'TicketFinace':TicketFinace,
'my-HB-Bill':myhrBill, 'my-HB-Bill':myhrBill,
'new-Bill':newBill
},methods:{ },methods:{
payMsgListShow: function (type, index) { payMsgListShow: function (type, index) {
if(this.choiceMsg.Status==1){ if(this.choiceMsg.Status==1){
...@@ -1784,7 +1788,6 @@ export default { ...@@ -1784,7 +1788,6 @@ export default {
this.apipost('Financial_post_GetDetail',{ID:id,Type:2}, res => { this.apipost('Financial_post_GetDetail',{ID:id,Type:2}, res => {
if(res.data.resultCode == 1) { if(res.data.resultCode == 1) {
let data= res.data.data; let data= res.data.data;
console.log(data,'datas');
data.DetailList.forEach(x=>{ data.DetailList.forEach(x=>{
x.UnitPrice = this.$commonUtils.addCommas(x.UnitPrice.toFixed(2)) x.UnitPrice = this.$commonUtils.addCommas(x.UnitPrice.toFixed(2))
x.Money = x.Money.toFixed(2) x.Money = x.Money.toFixed(2)
...@@ -1814,10 +1817,11 @@ export default { ...@@ -1814,10 +1817,11 @@ export default {
this.isShowChoice = true; this.isShowChoice = true;
} }
//遍历默认不勾选 //遍历默认不勾选
this.GetDetail.TradeDetailList.forEach(x=>{ if(this.GetDetail.TradeDetailList&&this.GetDetail.TradeDetailList.length>0){
x.isChecked = false; this.GetDetail.TradeDetailList.forEach(x=>{
}) x.isChecked = false;
console.log(this.GetDetail,'getdetails'); })
}
// 拼接团号显示团信息 // 拼接团号显示团信息
let str = ''; let str = '';
if(data.TCIDList.length>0){ if(data.TCIDList.length>0){
......
...@@ -668,7 +668,6 @@ export default { ...@@ -668,7 +668,6 @@ export default {
x.comText = this.$t('fnc.xsfujian'); x.comText = this.$t('fnc.xsfujian');
x.isShow = false; x.isShow = false;
}); });
console.log(this.GetDetail)
}else{ }else{
this.Error(res.data.message); this.Error(res.data.message);
} }
......
...@@ -172,7 +172,6 @@ export default { ...@@ -172,7 +172,6 @@ export default {
if (valid) { if (valid) {
this.apipost('Financial_post_GetTemplateDetail', this.ruleForm, r=>{ this.apipost('Financial_post_GetTemplateDetail', this.ruleForm, r=>{
if (r.data.resultCode===1) { if (r.data.resultCode===1) {
console.log(r)
if (this.ruleForm.Type ===1 ){ if (this.ruleForm.Type ===1 ){
this.R = r.data.data this.R = r.data.data
} else { } else {
...@@ -183,7 +182,6 @@ export default { ...@@ -183,7 +182,6 @@ export default {
} }
}, null) }, null)
} else { } else {
console.log('error submit!!');
return false; return false;
} }
}); });
...@@ -212,9 +210,12 @@ export default { ...@@ -212,9 +210,12 @@ export default {
} }
}, },
Financial_post_GetList(){ //获取 Financial_post_GetList(){ //获取
console.log("111");
this.apipost('Financial_post_GetList',{},res=>{ this.apipost('Financial_post_GetList',{},res=>{
console.log("res",res);
if(res.data.resultCode==1){ if(res.data.resultCode==1){
let data = res.data.data; let data = res.data.data;
console.log("data",data)
if(data){ if(data){
data.forEach(x => { data.forEach(x => {
if(x.Type==1){ if(x.Type==1){
...@@ -261,14 +262,19 @@ export default { ...@@ -261,14 +262,19 @@ export default {
}else{} }else{}
},err=>{}) },err=>{})
}, },
},mounted(){ },
created(){
this.Financial_post_GetList();
},
mounted(){
this.MsgBus.$on('bankAddPage',() =>{ this.MsgBus.$on('bankAddPage',() =>{
this.F = false; this.F = false;
this.R = false; this.R = false;
}); });
let userInfo=this.getLocalStorage(); let userInfo=this.getLocalStorage();
this.getCompanyMsg.RB_Group_Id= userInfo.RB_Group_id; //集团ID this.getCompanyMsg.RB_Group_Id= userInfo.RB_Group_id; //集团ID
this.Financial_post_GetList();
this.showTab = this.$route.query.Type?this.$route.query.Type:0; this.showTab = this.$route.query.Type?this.$route.query.Type:0;
if(this.showTab==1){ if(this.showTab==1){
this.GetList = this.collectList; this.GetList = this.collectList;
......
...@@ -133,11 +133,14 @@ ...@@ -133,11 +133,14 @@
}) })
this.GetList = newList this.GetList = newList
} }
console.log("this.GetList",this.GetList)
}, },
Financial_post_GetList(){ //获取 Financial_post_GetList(){ //获取
this.apipost('Financial_post_GetList',{},res=>{ this.apipost('Financial_post_GetList',{},res=>{
if(res.data.resultCode==1){ if(res.data.resultCode==1){
let data = res.data.data; let data = res.data.data;
console.log("data",data);
if(data){ if(data){
data.forEach(x => { data.forEach(x => {
if(x.Type==1){ if(x.Type==1){
......
...@@ -1718,10 +1718,10 @@ export default { ...@@ -1718,10 +1718,10 @@ export default {
x.Is_Transport = x.Is_Transport === 0 ? "否" : "是"; x.Is_Transport = x.Is_Transport === 0 ? "否" : "是";
newData.push(x); newData.push(x);
} else { } else {
x.MaoLiRate = this.total===0 ? 0 : parseFloat(x.MaoLiRate/this.total); // x.MaoLiRate = this.total===0 ? 0 : parseFloat(x.MaoLiRate/this.total);
x.AverageIncome = this.total===0 ? 0 : parseFloat(x.AverageIncome/this.total); // x.AverageIncome = this.total===0 ? 0 : parseFloat(x.AverageIncome/this.total);
x.AverageCost = this.total===0 ? 0 : parseFloat(x.AverageCost/this.total); // x.AverageCost = this.total===0 ? 0 : parseFloat(x.AverageCost/this.total);
x.AverageProfit = this.total===0 ? 0 : parseFloat(x.AverageProfit/this.total); // x.AverageProfit = this.total===0 ? 0 : parseFloat(x.AverageProfit/this.total);
x.LineName = "合计"; x.LineName = "合计";
x.TCID = ""; x.TCID = "";
x.TCNUM = ""; x.TCNUM = "";
......
...@@ -580,6 +580,7 @@ export default { ...@@ -580,6 +580,7 @@ export default {
LineId:"", LineId:"",
QStartDate: "", QStartDate: "",
QEndDate: "", QEndDate: "",
EmployeeId:''
}, },
getCompanyMsg: { getCompanyMsg: {
// 公司 // 公司
...@@ -904,6 +905,7 @@ export default { ...@@ -904,6 +905,7 @@ export default {
}, },
method5: function() { method5: function() {
this.loading = true; this.loading = true;
this.msg.EmployeeId=this.userId;
this.GetLocalFile( this.GetLocalFile(
"financestatistics_post_OutToExcelTravelMonthReportList", "financestatistics_post_OutToExcelTravelMonthReportList",
this.msg, this.msg,
......
...@@ -1178,6 +1178,7 @@ export default { ...@@ -1178,6 +1178,7 @@ export default {
this.apipost('Financial_post_Get',{ID:id,TempId:tempId,TCIDList:(this.orderObj&&this.orderObj.TCIDList)?this.orderObj.TCIDList:[]}, res => { this.apipost('Financial_post_Get',{ID:id,TempId:tempId,TCIDList:(this.orderObj&&this.orderObj.TCIDList)?this.orderObj.TCIDList:[]}, res => {
// console.log(this.orderObj.TCIDList) // console.log(this.orderObj.TCIDList)
if(res.data.resultCode == 1) { if(res.data.resultCode == 1) {
console.log("res.data",res.data)
let data= res.data.data; let data= res.data.data;
data.IsLeader = 1; data.IsLeader = 1;
this.msg = JSON.parse(JSON.stringify(data)); this.msg = JSON.parse(JSON.stringify(data));
...@@ -1226,6 +1227,7 @@ export default { ...@@ -1226,6 +1227,7 @@ export default {
this.IsUploadPic = data.IsUploadPic; this.IsUploadPic = data.IsUploadPic;
this.msg.IsPublic = data.IsPublic; this.msg.IsPublic = data.IsPublic;
this.GetDetail = data; this.GetDetail = data;
this.Description=this.GetDetail.Description;
if(this.orderObj){ if(this.orderObj){
this.msg.OrderID = this.orderObj.OrderID?this.orderObj.OrderID:0; this.msg.OrderID = this.orderObj.OrderID?this.orderObj.OrderID:0;
this.OrderSource = this.msg.OrderSource = this.orderObj.OrderSource?this.orderObj.OrderSource:0; this.OrderSource = this.msg.OrderSource = this.orderObj.OrderSource?this.orderObj.OrderSource:0;
...@@ -1309,9 +1311,11 @@ export default { ...@@ -1309,9 +1311,11 @@ export default {
if(this.orderObj!=null&&this.orderObj.OrderSource===10){ if(this.orderObj!=null&&this.orderObj.OrderSource===10){
that.Description="旅客名单:"; that.Description="旅客名单:";
that.describeList=JSON.parse(sessionStorage.getItem("saveGuestInfo")); that.describeList=JSON.parse(sessionStorage.getItem("saveGuestInfo"));
console.log("that.describeList",that.describeList)
that.describeList.forEach(item=>{ that.describeList.forEach(item=>{
that.Description+=item.GuestName+" "; that.Description+=item.GuestName+" ";
}) })
console.log("that.Description",that.Description)
} }
},mounted(){ },mounted(){
let userInfo = this.getLocalStorage(); let userInfo = this.getLocalStorage();
......
...@@ -241,7 +241,8 @@ ...@@ -241,7 +241,8 @@
<span class="w80">{{da.currenName}}</span> <span class="w80">{{da.currenName}}</span>
</td> </td>
<td height="26px">{{da.yTotalPrice}}</td> <td height="26px">{{da.yTotalPrice}}</td>
<td height="26px"><el-input v-model="da.Rate" type="text" @change="Calculation(2,daIn+1)" @blur="addList(2,daIn+1)" class="w80 _border_b_1"></el-input></td> <!-- -->
<td height="26px"><el-input v-model="da.Rate" @change="Calculation(2,daIn+1)" @blur="addList(2,daIn+1)" type="text" class="w80 _border_b_1"></el-input></td>
<td height="26px">{{da.bTotalPrice}}</td> <td height="26px">{{da.bTotalPrice}}</td>
<td height="26px"><el-input v-model="da.Remark" type="textarea" class="w80 _border_b_1"></el-input> <i @click="deleteRow(daIn,da)" class="_delete_row iconfont icon-img_delete_small"></i> </td> <td height="26px"><el-input v-model="da.Remark" type="textarea" class="w80 _border_b_1"></el-input> <i @click="deleteRow(daIn,da)" class="_delete_row iconfont icon-img_delete_small"></i> </td>
</tr> </tr>
...@@ -272,7 +273,7 @@ ...@@ -272,7 +273,7 @@
<span class="w110">{{detailList.currenName}}</span> <span class="w110">{{detailList.currenName}}</span>
</td> </td>
<td>{{detailList.yTotalPrice}}</td> <td>{{detailList.yTotalPrice}}</td>
<td><el-input v-model="detailList.Rate" type="text" @change="Calculation(1)" @blur="addList(1)" class="w80 _border_b_1"></el-input></td> <td><el-input v-model="detailList.Rate" @change="Calculation(1)" @blur="addList(1)" type="text" class="w80 _border_b_1"></el-input></td>
<td>{{detailList.bTotalPrice}}</td> <td>{{detailList.bTotalPrice}}</td>
<td><el-input v-model="detailList.Remark" @blur="addList(1)" type="textarea" class="w80 _border_b_1"></el-input></td> <td><el-input v-model="detailList.Remark" @blur="addList(1)" type="textarea" class="w80 _border_b_1"></el-input></td>
</tr> </tr>
...@@ -1307,6 +1308,7 @@ export default { ...@@ -1307,6 +1308,7 @@ export default {
// }) // })
// TCID.split(0,TCID.length-1) // TCID.split(0,TCID.length-1)
this.apipost('Financial_post_Get',{ID:id,TempId:tempId,TCIDList:(this.orderObj&&this.orderObj.TCIDList)?this.orderObj.TCIDList:[]}, res => { this.apipost('Financial_post_Get',{ID:id,TempId:tempId,TCIDList:(this.orderObj&&this.orderObj.TCIDList)?this.orderObj.TCIDList:[]}, res => {
this.loading = false;
if(res.data.resultCode == 1) { if(res.data.resultCode == 1) {
let data= res.data.data; let data= res.data.data;
this.msg = JSON.parse(JSON.stringify(data)); this.msg = JSON.parse(JSON.stringify(data));
......
This diff is collapsed.
...@@ -47,11 +47,14 @@ ...@@ -47,11 +47,14 @@
</span> </span>
</li> </li>
<li> <li>
<input type="button" class="normalBtn" value="查询" @click="getList();resetPageIndex()" /> <input type="button" class="normalBtn" value="查询" @click="getList();resetPageIndex()" />
<input type="button" class="normalBtn" value="下载" @click="DownLoadHotel()" />
</li> </li>
</ul> </ul>
</div> </div>
<div style="width: 100%; overflow-x: auto;padding-bottom: 10px; " class="ownScrollbarStyle"> <div style="width: 100%; overflow-x: auto;padding-bottom: 10px; " class="ownScrollbarStyle">
<div style="font-size:12px;padding:2px 4px 3px 4px; color:red">注意事项:每次导出数据最好不要超过一个月。</div>
<table border="0" cellspacing="1" cellpadding="0" class="roomQueryTalbe" v-loading='loading'> <table border="0" cellspacing="1" cellpadding="0" class="roomQueryTalbe" v-loading='loading'>
<tr> <tr>
<th width="w100">序号</th> <th width="w100">序号</th>
...@@ -94,7 +97,8 @@ ...@@ -94,7 +97,8 @@
<p class="pDateStyle">{{childItem.CheckInDateStr}}</p> <p class="pDateStyle">{{childItem.CheckInDateStr}}</p>
<p @click="goUrlR('HotelManagement',childItem.HotelId,'酒店管理')" <p @click="goUrlR('HotelManagement',childItem.HotelId,'酒店管理')"
class="pDateStyle phoverStype ownScrollbarStyle" style="height: 50px!important; overflow:auto;"> class="pDateStyle phoverStype ownScrollbarStyle" style="height: 50px!important; overflow:auto;">
{{childItem.NewHotelName}}<span class="colorE95252">{{childItem.HotelOrderState==1?"OK":"暂定"}}</span> {{childItem.NewHotelName}}<span
class="colorE95252">{{childItem.HotelOrderState==1?"OK":"暂定"}}</span>
</p> </p>
</div> </div>
</div> </div>
...@@ -262,6 +266,19 @@ ...@@ -262,6 +266,19 @@
} }
}, err => {}) }, err => {})
}, },
//下载Excel
DownLoadHotel() {
this.loading = true;
let qMsg = {
queryMsg: this.msg,
uid: this.getLocalStorage().EmployeeId
};
let fileName = "订房查询" + this.$commonUtils.getCurrentDate() + ".xls";
this.GetLocalFile("hotel_get_downloadHotel", qMsg, fileName,
res => {
this.loading = false;
});
}
}, },
mounted() { mounted() {
let myDate = new Date(); let myDate = new Date();
......
...@@ -490,7 +490,20 @@ ...@@ -490,7 +490,20 @@
//单条保存 //单条保存
SaveSingle(item) { SaveSingle(item) {
item.HotelOrderState = 1; item.HotelOrderState = 1;
this.apipost('dmcstatistics_post_SetNewHotelOrder', item, res => { this.list.forEach(item => {
item.HotelOrderList.forEach(subItem => {
subItem.OrderDetailsList.forEach(y => {
y.HouseTypeCount = parseInt(y.HouseTypeCount);
y.UnitPrice = parseInt(y.UnitPrice);
y.HotelDiscount = parseInt(y.HotelDiscount);
if (y.BookNum == "") {
y.BookNum = 0;
}
})
});
})
let mag={TotalList:this.list,SingleItem:item};
this.apipost('dmcstatistics_get_SetHotelOrder', this.list, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.Success(res.data.message); this.Success(res.data.message);
this.getList(); this.getList();
......
This diff is collapsed.
...@@ -1786,7 +1786,7 @@ ...@@ -1786,7 +1786,7 @@
<td colspan="4" class="groupTourOrder_remarks" style="height: 40px;"> <td colspan="4" class="groupTourOrder_remarks" style="height: 40px;">
<div> <div>
<div><span>备注:</span> <div><span>备注:</span>
<p><span v-if="item.tsId>0">投诉单号:<a href="javascript:void(0);" @click="goUrlTS('ComplaintsDetail',item.tsId,item.orderId,'投诉详情')">{{item.tsId}}</a> ;</span><span <p><span v-for="ts in item.tsIdList">投诉单号:<a href="javascript:void(0);" @click="goUrlTS('ComplaintsDetail',ts,item.orderId,'投诉详情')">{{ts}}</a> ;</span><span
v-if='item.clientSource==1&&item.brandName!=""'>{{item.brandName}}订单 {{item.platformOrder}};</span>{{item.remarks}} v-if='item.clientSource==1&&item.brandName!=""'>{{item.brandName}}订单 {{item.platformOrder}};</span>{{item.remarks}}
</p></div> </p></div>
<div> <div>
...@@ -3486,7 +3486,8 @@ ...@@ -3486,7 +3486,8 @@
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.loading = false this.loading = false
this.total = res.data.data.count this.total = res.data.data.count
this.list = res.data.data.pageData this.list = res.data.data.pageData;
console.log("this.list",this.list)
} else { } else {
this.$message.error(res.data.message) this.$message.error(res.data.message)
} }
......
...@@ -1773,7 +1773,7 @@ ...@@ -1773,7 +1773,7 @@
<td colspan="4" class="groupTourOrder_remarks" style="height: 40px;"> <td colspan="4" class="groupTourOrder_remarks" style="height: 40px;">
<div> <div>
<div><span>备注:</span><p> <div><span>备注:</span><p>
<span v-if="item.tsId>0">投诉单号:<a href="javascript:void(0);" @click="goUrlTS('ComplaintsDetail',item.tsId,item.orderId,'投诉详情')">{{item.tsId}}</a> ;</span> <span v-for="ts in item.tsIdList">投诉单号:<a href="javascript:void(0);" @click="goUrlTS('ComplaintsDetail',ts,item.orderId,'投诉详情')">{{ts}} </a> ;</span>
<span v-if='item.clientSource==1&&item.brandName!=""'>{{item.brandName}}订单 {{item.platformOrder}};</span>{{item.remarks}}</p></div> <span v-if='item.clientSource==1&&item.brandName!=""'>{{item.brandName}}订单 {{item.platformOrder}};</span>{{item.remarks}}</p></div>
<div> <div>
<!-- <span>{{item.remarksName}}&ensp;{{item.rematksTime}}</span> --> <!-- <span>{{item.remarksName}}&ensp;{{item.rematksTime}}</span> -->
...@@ -3998,6 +3998,7 @@ submitYSZEForm(){ ...@@ -3998,6 +3998,7 @@ submitYSZEForm(){
this.tuanMsg, this.tuanMsg,
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
console.log("res",res);
this.loading = false; this.loading = false;
this.total = res.data.data.count; this.total = res.data.data.count;
this.list = res.data.data.pageData.rtData; this.list = res.data.data.pageData.rtData;
......
...@@ -1981,7 +1981,6 @@ ...@@ -1981,7 +1981,6 @@
TCID: id TCID: id
}, res => { }, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
console.log(res.data.data)
this.tripDetails = res.data.data.FlightList this.tripDetails = res.data.data.FlightList
} else { } else {
this.$message.error(res.data.message) this.$message.error(res.data.message)
......
...@@ -927,7 +927,7 @@ ...@@ -927,7 +927,7 @@
RateOnDay: '-1', RateOnDay: '-1',
RateOn: '-1', RateOn: '-1',
TeamType: 0, //一般常规团 TeamType: 0, //一般常规团
IsShowUnion: 1, IsShowUnion: 0,
TCID: '0', TCID: '0',
HotelId: 0, //酒店编号 HotelId: 0, //酒店编号
HotelUseTime: "", //酒店使用时间 HotelUseTime: "", //酒店使用时间
...@@ -959,11 +959,11 @@ ...@@ -959,11 +959,11 @@
], ],
//联运状态 //联运状态
unionStatus:[{ unionStatus:[{
Id:1, Id:0,
Name:'主团', Name:'主团',
Checked: true Checked: true
},{ },{
Id:0, Id:1,
Name:'分销团', Name:'分销团',
Checked: false Checked: false
}], }],
...@@ -1686,11 +1686,9 @@ ...@@ -1686,11 +1686,9 @@
}, },
created() { created() {
//默认显示联运 //默认显示联运
this.queryMsg.IsShowUnion = 1 this.queryMsg.IsShowUnion = 0;
let userInfo = this.getLocalStorage() let userInfo = this.getLocalStorage()
this.CurrentUserInfo = userInfo this.CurrentUserInfo = userInfo;
this.$route.query.tcmun = this.$route.query.tcmun
if (this.$route.query.tcmun) { if (this.$route.query.tcmun) {
this.queryMsg.TCNUM = this.$route.query.tcmun; this.queryMsg.TCNUM = this.$route.query.tcmun;
} }
......
...@@ -140,7 +140,8 @@ ...@@ -140,7 +140,8 @@
font-size: 12px !important; font-size: 12px !important;
line-height: 30px; line-height: 30px;
} }
.page_visaMG ._info_box ul li .el-form-item input { .page_visaMG .select .el-form-item input {
height:34px!important;
line-height: 30px; line-height: 30px;
} }
.page_visaMG ._info_box ul li .el-form-item textarea { .page_visaMG ._info_box ul li .el-form-item textarea {
...@@ -313,7 +314,7 @@ ...@@ -313,7 +314,7 @@
</li> </li>
</ul> </ul>
</div> </div>
<div style="width:500px" class="w225"> <div style="width:520px" class="w225 select">
<p>{{$t('visa.v_qianzhengst')}}</p> <p>{{$t('visa.v_qianzhengst')}}</p>
<ul class="clearfix"> <ul class="clearfix">
<li> <li>
...@@ -481,13 +482,16 @@ export default { ...@@ -481,13 +482,16 @@ export default {
data.Status = data.Status.toString(); data.Status = data.Status.toString();
this.addShow = true; this.addShow = true;
this.addMsg = JSON.parse(JSON.stringify(data)); this.addMsg = JSON.parse(JSON.stringify(data));
this.MRList = this.addMsg.MRList; if(this.addMsg.MRList){
for (let i = 0; i < this.MRList.length; i++) { this.MRList = this.addMsg.MRList;
let obj = this.MRList[i]; for (let i = 0; i < this.MRList.length; i++) {
for (let j = 0; j < obj.BranchList.length; j++) { let obj = this.MRList[i];
obj.BranchList[j] = obj.BranchList[j].toString(); for (let j = 0; j < obj.BranchList.length; j++) {
} obj.BranchList[j] = obj.BranchList[j].toString();
}
}
} }
......
...@@ -1221,9 +1221,11 @@ ...@@ -1221,9 +1221,11 @@
x.jiu2 = jiu2 x.jiu2 = jiu2
if (jin.length > 0) { if (jin.length > 0) {
details = jin details = jin
} else if (jiu.length > 0) { }
details = jiu // else if (jiu.length > 0) {
} else if (dadian.length > 0) { // // details = jiu
// }
else if (dadian.length > 0) {
details = dadian details = dadian
} else if (jiao.length > 0) { } else if (jiao.length > 0) {
if (j == this.tripList.length - 1) { if (j == this.tripList.length - 1) {
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
<TravelNotice ref="TravelNotice" id="fourAnchor" @headCallBack="getNotice" :subArray="NoticeParameters" <TravelNotice ref="TravelNotice" id="fourAnchor" @headCallBack="getNotice" :subArray="NoticeParameters"
:NoticeData="NoticeData" v-bind:PostConfig="PostConfig" v-bind:AllCityList="AllCityList" v-bind:CountryID="PostConfig.CountryID"></TravelNotice> :NoticeData="NoticeData" v-bind:PostConfig="PostConfig" v-bind:AllCityList="AllCityList" v-bind:CountryID="PostConfig.CountryID"></TravelNotice>
<TravelPrice @saveMsg="SaveData(1)" ref="TravelPrice" id="fiveAnchor" @headCallBack="getPrice" :priceList="PriceList" v-if="TeamType==0" <TravelPrice @saveMsg="PostConfig.IsUpdateHotel=1,SaveData(1)" ref="TravelPrice" id="fiveAnchor" @headCallBack="getPrice" :priceList="PriceList" v-if="TeamType==0"
:PostConfig="PostConfig" :modifyTcid="modifyTcid" :TeamType="TeamType"></TravelPrice> :PostConfig="PostConfig" :modifyTcid="modifyTcid" :TeamType="TeamType"></TravelPrice>
<TravelPrice2 ref="TravelPrice" id="fiveAnchor" @headCallBack="getPrice" :PostDaysTrip="PostDaysTrip" v-if="TeamType==1" <TravelPrice2 ref="TravelPrice" id="fiveAnchor" @headCallBack="getPrice" :PostDaysTrip="PostDaysTrip" v-if="TeamType==1"
:priceList="PriceList" :PostConfig="PostConfig" :modifyTcid="modifyTcid" :TeamType="TeamType"></TravelPrice2> :priceList="PriceList" :PostConfig="PostConfig" :modifyTcid="modifyTcid" :TeamType="TeamType"></TravelPrice2>
...@@ -122,6 +122,8 @@ ...@@ -122,6 +122,8 @@
Feature: "", //行程特色 Feature: "", //行程特色
fileList: [], fileList: [],
VideoStr: "", //视频地址 VideoStr: "", //视频地址
//是否更新酒店库存
IsUpdateHotel:0
}, },
//行程 //行程
FeatureData: { FeatureData: {
...@@ -371,6 +373,7 @@ ...@@ -371,6 +373,7 @@
basicData.TravelInfoIsCopy = true; basicData.TravelInfoIsCopy = true;
} }
basicData.TeamType=this.TeamType; basicData.TeamType=this.TeamType;
basicData.IsUpdateHotel=this.PostConfig.IsUpdateHotel;
this.apipost( this.apipost(
"travel_post_SetTravelConfigInfo", "travel_post_SetTravelConfigInfo",
basicData, basicData,
......
...@@ -180,31 +180,36 @@ ...@@ -180,31 +180,36 @@
border: 1px solid #d1d1d1; border: 1px solid #d1d1d1;
} }
._TravelPriceDetails table { ._TravelPricePopover .jiDiv{
width:650px;
max-height:400px;
overflow: auto;
}
._TravelPricePopover table {
padding: 10px 0 0 20px; padding: 10px 0 0 20px;
background-color: #ededed; background-color: #ededed;
border-collapse: collapse; border-collapse: collapse;
border: 1px solid #d2d2d2; border: 1px solid #d2d2d2;
font-size: 12px; font-size: 12px;
margin: 0 20px 5px 0; margin: 0 20px 5px 0;
min-width: 800px; width: 100%;
} }
._TravelPriceDetails table ._color_666 { ._TravelPricePopover table ._color_666 {
background-color: #ededed; background-color: #ededed;
color: #666666; color: #666666;
padding: 5px; padding: 5px;
} }
._TravelPriceDetails table td { ._TravelPricePopover table td {
background-color: #ffffff; background-color: #ffffff;
padding: 9px 30px; padding: 9px 0;
color: #333333; color: #333333;
text-align: center; text-align: center;
border: 1px solid #d2d2d2; border: 1px solid #d2d2d2;
} }
._TravelPriceDetails table td._d_name { ._TravelPricePopover table td._d_name {
background-color: #ededed; background-color: #ededed;
} }
...@@ -252,6 +257,7 @@ ...@@ -252,6 +257,7 @@
.TP_Airticktid { .TP_Airticktid {
text-decoration: underline; text-decoration: underline;
cursor: pointer; cursor: pointer;
color: #409eff;
} }
.TP_noneed { .TP_noneed {
...@@ -659,7 +665,7 @@ ...@@ -659,7 +665,7 @@
<span class="TPsecondTitle">机票绑定</span> <span class="TPsecondTitle">机票绑定</span>
</div> </div>
<div class="TPright clearfix"> <div class="TPright clearfix">
<el-popover popper-class="_TravelPriceDetails" trigger="click"> <el-popover popper-class="_TravelPricePopover" trigger="click">
<div> <div>
<div style="margin-bottom:20px;"> <div style="margin-bottom:20px;">
开始日期 开始日期
...@@ -672,37 +678,32 @@ ...@@ -672,37 +678,32 @@
</el-date-picker> </el-date-picker>
<button class="normalBtn" @click.stop="getSelectFilght()">查询</button> <button class="normalBtn" @click.stop="getSelectFilght()">查询</button>
</div> </div>
<div class="jiDiv">
<table width="100%" border="0" cellspacing="0" cellpadding="0"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr> <tr>
<td class="_color_666">选择</td> <td class="_color_666">选择</td>
<td class="_color_666">航班号</td> <td class="_color_666">航班号/航空公司/航段</td>
<td class="_color_666">航空公司</td> <td class="_color_666">时间</td>
<td class="_color_666">航段</td> <td class="_color_666">PNR</td>
<td class="_color_666">时间</td> <td class="_color_666">机票数量/使用数量</td>
<td class="_color_666">PNR</td> <td class="_color_666">绑定机位数</td>
<td class="_color_666">机票数量</td> </tr>
<td class="_color_666">使用数量</td> <tr v-for="fitem in selectFilghtList">
<td class="_color_666">绑定机位数</td> <td>
</tr> <el-checkbox v-model="fitem.IsSelected===true" @change="getSelect(fitem)"></el-checkbox>
<tr v-for="fitem in selectFilghtList"> </td>
<td> <td>
<el-checkbox v-model="fitem.IsSelected===true" @change="getSelect(fitem)"></el-checkbox> <span class="TP_Airticktid" @click="goUrl('TicketManager',fitem.AirticketId)">{{fitem.FlightNumber}}</span> / {{fitem.AlName}} / {{fitem.DepartureName}}-{{fitem.ArrivalCityName}}
</td> </td>
<td><span class="TP_Airticktid" <td>{{fitem.FlightDate}} {{fitem.Departure_time}}</td>
@click="goUrl('TicketManager',fitem.AirticketId)">{{fitem.FlightNumber}}</span> <td>{{fitem.PNR}}</td>
</td> <td>{{fitem.TicketNum}} / {{fitem.UseAmount}}</td>
<td>{{fitem.AlName}}</td> <td>
<td>{{fitem.DepartureName}}-{{fitem.ArrivalCityName}}</td> <el-input class="w80" placeholder="机位数" @keyup.native="getFlightBindNum(fitem)" v-model="fitem.BindNum"></el-input>
<td>{{fitem.FlightDate}} {{fitem.Departure_time}}</td> </td>
<td>{{fitem.PNR}}</td> </tr>
<td>{{fitem.TicketNum}}</td> </table>
<td>{{fitem.UseAmount}}</td> </div>
<td>
<el-input class="w80" placeholder="机位数" @keyup.native="getFlightBindNum(fitem)" v-model="fitem.BindNum"></el-input>
</td>
</tr>
</table>
</div> </div>
<div slot="reference" class="SimulateDrop-box"> <div slot="reference" class="SimulateDrop-box">
<span class="SD_flight" v-for="item in FinfoList">{{item.name}} {{item.date}}</span> <span class="SD_flight" v-for="item in FinfoList">{{item.name}} {{item.date}}</span>
...@@ -806,7 +807,7 @@ ...@@ -806,7 +807,7 @@
<el-option :key="0" label="请选择" :value="0"></el-option> <el-option :key="0" label="请选择" :value="0"></el-option>
<el-option v-for="subItem in item.HotelList" :key="subItem.ID" :label="subItem.Name" :value="subItem.ID"> <el-option v-for="subItem in item.HotelList" :key="subItem.ID" :label="subItem.Name" :value="subItem.ID">
<span style="float: left">{{subItem.Name}}</span> <span style="float: left">{{subItem.Name}}</span>
<span style="float: right; color:red; font-size: 13px">{{ subItem.Inventory }}</span> <span style="float: right; color:red; font-size: 13px">剩余库存:{{subItem.Inventory}} / 价格:{{subItem.CostPrice}}</span>
</el-option> </el-option>
</el-select> </el-select>
</td> </td>
...@@ -1552,7 +1553,7 @@ ...@@ -1552,7 +1553,7 @@
IsMoreThanZero: 1 IsMoreThanZero: 1
}; };
this.apipost( this.apipost(
"hotel_post_GetHasStockHotelList", msg, "hotel_post_GetHasStockHotelListExt", msg,
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
item.HotelList = res.data.data; item.HotelList = res.data.data;
...@@ -1570,7 +1571,6 @@ ...@@ -1570,7 +1571,6 @@
LineTeamId:this.PostConfig.LineteamId LineTeamId:this.PostConfig.LineteamId
} }
this.apipost("sell_get_GetNewTCIDLessprice", msg,res => { this.apipost("sell_get_GetNewTCIDLessprice", msg,res => {
console.log(res,'res');
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.lessPriceData = res.data.data; this.lessPriceData = res.data.data;
}else{ }else{
...@@ -1620,7 +1620,6 @@ ...@@ -1620,7 +1620,6 @@
this.DateArr.push(x.StartDate); this.DateArr.push(x.StartDate);
}); });
this.initCalendar(); this.initCalendar();
console.log(this.priceData,'pricedate');
}, },
deep: true deep: true
}, },
...@@ -1645,5 +1644,4 @@ ...@@ -1645,5 +1644,4 @@
TravelPriceFlightList: TravelPriceFlightList TravelPriceFlightList: TravelPriceFlightList
} }
}; };
</script>
</script> \ No newline at end of file
...@@ -161,6 +161,7 @@ ...@@ -161,6 +161,7 @@
<th>{{$t('fnc.chushihuilv')}}</th> <th>{{$t('fnc.chushihuilv')}}</th>
<th>{{$t('fnc.benqihuilv')}}</th> <th>{{$t('fnc.benqihuilv')}}</th>
<th>{{$t('fnc.danqgianhuilv')}}</th> <th>{{$t('fnc.danqgianhuilv')}}</th>
<th>上调汇率</th>
<th>{{$t('fnc.zjjiner')}}</th> <th>{{$t('fnc.zjjiner')}}</th>
<th>{{$t('system.table_operation')}}</th> <th>{{$t('system.table_operation')}}</th>
</tr> </tr>
...@@ -178,6 +179,7 @@ ...@@ -178,6 +179,7 @@
<span>{{item.CurrentRate}}</span> <span>{{item.CurrentRate}}</span>
<span :class="item.IsStandardCurrency!=1?'':'display_none'" @click="getCurrentRate(item.ID,index)" class="iconfont icon-qiehuan"></span> <span :class="item.IsStandardCurrency!=1?'':'display_none'" @click="getCurrentRate(item.ID,index)" class="iconfont icon-qiehuan"></span>
</td> </td>
<td>{{item.ExchangeRates}}</td>
<td><span class="_underline" @click="goUrl('FineBalance',item.ID,item.Name)">{{item.Money}}</span></td> <td><span class="_underline" @click="goUrl('FineBalance',item.ID,item.Name)">{{item.Money}}</span></td>
<td> <td>
<el-button-group size='mini'> <el-button-group size='mini'>
...@@ -233,6 +235,11 @@ ...@@ -233,6 +235,11 @@
<el-input v-model="addMsg.Rate" disabled class="w135"></el-input> <el-input v-model="addMsg.Rate" disabled class="w135"></el-input>
</el-form-item> </el-form-item>
</li> </li>
<li>
<el-form-item label="上调汇率" prop="ExchangeRates">
<el-input v-model="addMsg.ExchangeRates" class="w135"></el-input>
</el-form-item>
</li>
<li> <li>
<el-form-item :label="$t('fnc.sfbenweibi')+ ':'"> <el-form-item :label="$t('fnc.sfbenweibi')+ ':'">
<el-switch v-model="addMsg.IsStandardCurrency" <el-switch v-model="addMsg.IsStandardCurrency"
...@@ -246,7 +253,7 @@ ...@@ -246,7 +253,7 @@
</el-form> </el-form>
<div> <div>
<ul class="clearfix" style="text-align: right;"> <ul class="clearfix" style="text-align: right;">
<li class="_add_saveBtn"style="float: initial;" > <li class="_add_saveBtn" style="float: initial;" >
<button type="button" class="normalBtn" @click="submitForm('addMsg',1)">{{$t('pub.saveBtn')}}</button> <button type="button" class="normalBtn" @click="submitForm('addMsg',1)">{{$t('pub.saveBtn')}}</button>
<button class="hollowFixedBtn" type="button" @click="cancelEdit(),resetForm('addMsg')">{{$t('pub.cancelBtn')}}</button> <button class="hollowFixedBtn" type="button" @click="cancelEdit(),resetForm('addMsg')">{{$t('pub.cancelBtn')}}</button>
</li> </li>
...@@ -288,7 +295,7 @@ ...@@ -288,7 +295,7 @@
</el-form> </el-form>
<div> <div>
<ul class="clearfix" style="text-align: right;"> <ul class="clearfix" style="text-align: right;">
<li class="_add_saveBtn"style="float: initial;" > <li class="_add_saveBtn" style="float: initial;" >
<button type="button" class="normalBtn" @click="submitForm('SetProfitLossMsg',2)">{{$t('fnc.qrtijiao')}}</button> <button type="button" class="normalBtn" @click="submitForm('SetProfitLossMsg',2)">{{$t('fnc.qrtijiao')}}</button>
<button class="hollowFixedBtn" type="button" @click="cancelEdit(),resetForm('SetProfitLossMsg')">{{$t('pub.cancelBtn')}}</button> <button class="hollowFixedBtn" type="button" @click="cancelEdit(),resetForm('SetProfitLossMsg')">{{$t('pub.cancelBtn')}}</button>
</li> </li>
...@@ -312,7 +319,8 @@ ...@@ -312,7 +319,8 @@
Name:'', Name:'',
IsStandardCurrency:'0', IsStandardCurrency:'0',
Code:'', Code:'',
Rate:'' Rate:'',
ExchangeRates:''
}, },
SetProfitLossMsg:{ SetProfitLossMsg:{
ID:0, ID:0,
......
...@@ -1996,6 +1996,14 @@ export default { ...@@ -1996,6 +1996,14 @@ export default {
title: '报名统计' title: '报名统计'
}, },
}, },
{ // 票务 联运报名统计
path: '/enrollTotalForAirUnion',
name: 'enrollTotalForAirUnion',
component: resolve => require(['@/components/SalesModule/enrollTotalForAirUnion'], resolve),
meta: {
title: '团队联运订单查询'
},
},
{ // 销售 少价管理 { // 销售 少价管理
path: '/Lowpricemanagement', path: '/Lowpricemanagement',
name: 'Lowpricemanagement', name: 'Lowpricemanagement',
......
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