Commit 12326e8a authored by 黄奎's avatar 黄奎

行程天数和机票天数验证

parent 216fa95a
...@@ -134,6 +134,7 @@ ...@@ -134,6 +134,7 @@
IsUpdateHotel: 0, IsUpdateHotel: 0,
OpenTeamDescribe: "", //开团备注 OpenTeamDescribe: "", //开团备注
IsOpenHotel: 0, //0可以添加删除酒店,1-不能修改酒店信息 IsOpenHotel: 0, //0可以添加删除酒店,1-不能修改酒店信息
DayNum:0,//行程天数
}, },
//行程 //行程
FeatureData: { FeatureData: {
...@@ -679,6 +680,7 @@ ...@@ -679,6 +680,7 @@
this.PostConfig.VideoStr = tempData.VideoStr; this.PostConfig.VideoStr = tempData.VideoStr;
this.PostConfig.OpenTeamDescribe = tempData.OpenTeamDescribe; this.PostConfig.OpenTeamDescribe = tempData.OpenTeamDescribe;
this.PostConfig.IsOpenHotel = tempData.IsOpenHotel; this.PostConfig.IsOpenHotel = tempData.IsOpenHotel;
this.PostConfig.DayNum=tempData.DayNum;//行程天数
this.NoticeParameters.ConfigId = tempData.ConfigId; this.NoticeParameters.ConfigId = tempData.ConfigId;
......
...@@ -1470,12 +1470,11 @@ ...@@ -1470,12 +1470,11 @@
}, },
//选中航班选择框 //选中航班选择框
getSelect(item) { getSelect(item) {
console.log(" this.PostConfig",this.PostConfig);
// if (this.PostConfig.LineId == 14 && item.DayNum != this.PostConfig.DayNum) { if (this.PostConfig.LineId == 14 && item.DayNum != this.PostConfig.DayNum) {
// this.Error("团期行程天数和机票的行程天数不一致!请重新选择!"); this.Error("团期行程天数和机票的行程天数不一致!请重新选择!");
// return; return;
// } }
item.IsSelected = !item.IsSelected; item.IsSelected = !item.IsSelected;
this.FinfoList = []; this.FinfoList = [];
this.selectFilghtList.forEach(x => { this.selectFilghtList.forEach(x => {
......
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