Commit d2aa799c authored by 黄奎's avatar 黄奎

页面修改

parent ed79be02
...@@ -940,23 +940,28 @@ ...@@ -940,23 +940,28 @@
cursor: pointer; cursor: pointer;
width: 60px; width: 60px;
} }
.RegistrationList .leftSetInfo,.RegistrationList .GO_TPright{
float:left; .RegistrationList .leftSetInfo,
.RegistrationList .GO_TPright {
float: left;
} }
.RegistrationList .GO_Title{
.RegistrationList .GO_Title {
display: inline-block; display: inline-block;
margin-top: 10px; margin-top: 10px;
padding-right:10px; padding-right: 10px;
font-size:12px; font-size: 12px;
width: 90px; width: 90px;
text-align: right; text-align: right;
} }
._TravelPricePopover .GOScenicDiv{
._TravelPricePopover .GOScenicDiv {
width: 500px; width: 500px;
max-height: 400px; max-height: 400px;
overflow: auto; overflow: auto;
} }
._TravelPricePopover table{
._TravelPricePopover table {
padding: 10px 0 0 20px; padding: 10px 0 0 20px;
background-color: #ededed; background-color: #ededed;
border-collapse: collapse; border-collapse: collapse;
...@@ -966,13 +971,13 @@ ...@@ -966,13 +971,13 @@
width: 100%; width: 100%;
} }
._TravelPricePopover table ._color_666{ ._TravelPricePopover table ._color_666 {
background-color: #ededed; background-color: #ededed;
color: #666666; color: #666666;
padding: 5px; padding: 5px;
} }
._TravelPricePopover table td{ ._TravelPricePopover table td {
background-color: #ffffff; background-color: #ffffff;
padding: 9px 0; padding: 9px 0;
color: #333333; color: #333333;
...@@ -983,6 +988,7 @@ ...@@ -983,6 +988,7 @@
._TravelPricePopover table td._d_name { ._TravelPricePopover table td._d_name {
background-color: #ededed; background-color: #ededed;
} }
.RegistrationList .SimulateDrop-box { .RegistrationList .SimulateDrop-box {
width: 230px; width: 230px;
min-height: 34px; min-height: 34px;
...@@ -991,13 +997,15 @@ ...@@ -991,13 +997,15 @@
float: left; float: left;
margin-top: 4px; margin-top: 4px;
border: 1px solid #d1d1d1; border: 1px solid #d1d1d1;
} }
.RegistrationList .GO_SimulaDrop{
.RegistrationList .GO_SimulaDrop {
position: absolute; position: absolute;
right:10px; right: 10px;
top:5px; top: 5px;
color:#d1d1d1; color: #d1d1d1;
} }
.RegistrationList .SD_flight { .RegistrationList .SD_flight {
display: inline-block; display: inline-block;
height: 24px; height: 24px;
...@@ -1006,7 +1014,7 @@ ...@@ -1006,7 +1014,7 @@
max-width: 200px; max-width: 200px;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
font-size:12px; font-size: 12px;
padding: 0 8px; padding: 0 8px;
line-height: 22px; line-height: 22px;
background-color: #f0f2f5; background-color: #f0f2f5;
...@@ -4858,8 +4866,6 @@ ...@@ -4858,8 +4866,6 @@
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
console.log(res,'resssssss');
} }
}, },
err => {} err => {}
...@@ -5063,35 +5069,44 @@ ...@@ -5063,35 +5069,44 @@
err => {} err => {}
); );
}, },
getStartOrEndDate(time1,time2,time){ getStartOrEndDate(start1, end1, start2, end2) {
    var time = time; var startdate1 = new Date(start1.replace("-", "/").replace("-", "/"));
    var date1 = Date.parse(new Date(time1.replace(/-/g, '/'))); var enddate1 = new Date(end1.replace("-", "/").replace("-", "/"));
    var date2 = Date.parse(new Date(time2.replace(/-/g, '/'))); var startdate2 = new Date(start2.replace("-", "/").replace("-", "/"));
    if (date1<time&&date2>time) { var enddate2 = new Date(end2.replace("-", "/").replace("-", "/"));
        return true; //startdate1介于另一个区间之间
    }; if (startdate1 >= startdate2 && startdate1 <= enddate2) {
    return false; return true;
}
//enddate1介于另一个区间之间
if (enddate1 >= startdate2 && enddate1 <= enddate2) {
return true;
}
//startdate1-enddate1的区间大于另一个区间,且另一个区间在startdate1-enddate1之间
if (startdate1 <= startdate1 && enddate1 >= enddate2) {
return true;
}
return false;
}, },
//确定设置领队 //确定设置领队
setTheLeader() { setTheLeader() {
let isCked=false; let isCked = false;
console.log(this.ConfigData.Config.StartDate); this.LeaderHolidyList.forEach(x => {
console.log(this.ConfigData.Config.EndDate); if (!isCked && this.getStartOrEndDate(this.ConfigData.Config.StartDate, this.ConfigData.Config.EndDate, x.StartDateStr2,x.EndDateStr2)) {
this.LeaderHolidyList.forEach(x=>{ isCked = true;
if(!isCked && (this.getStartOrEndDate(this.ConfigData.Config.StartDate,this.ConfigData.Config.EndDate,x.StartDateStr2)|| this.getStartOrEndDate(this.ConfigData.Config.StartDate,this.ConfigData.Config.EndDate,x.EndDateStr2))){
isCked=true;
} }
}) })
if(isCked){ if (isCked) {
var that = this; var that = this;
that.Confirm("该领队在请假期,是否继续?", function() { that.Confirm("该领队在请假期,是否继续?", function () {
that.getLeader(); that.getLeader();
}) })
}else{ } else {
this.getLeader(); this.getLeader();
} }
}, },
getLeader(){ getLeader() {
if (this.isSubmit) { if (this.isSubmit) {
this.isSubmit = false; this.isSubmit = false;
this.apipost( this.apipost(
......
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