Commit c297895b authored by huangyuanyuan's avatar huangyuanyuan
parents 6a39ea91 d5eb8249
......@@ -3419,7 +3419,7 @@
Number(this.addMsg.BabyNum) +
Number(this.addMsg.OldPeopleNum);
var SeatNum = (Number(this.addMsg.ManNum) + Number(this.addMsg.ChirdNum) + Number(this.addMsg.OldPeopleNum))-
var SeatNum = (Number(this.addMsg.ManNum) + Number(this.addMsg.ChirdNum) + Number(this.addMsg.OldPeopleNum) + Number(this.addMsg.BabyNum) )-
(Number(this.addMsg.ESeatNum)+Number(this.addMsg.FSeatNum));
this.addMsg.YSeatNum = SeatNum<0?0:SeatNum;
},
......
......@@ -3028,7 +3028,7 @@
Number(this.addMsg.BabyNum) +
Number(this.addMsg.OldPeopleNum)
var SeatNum = (Number(this.addMsg.ManNum) + Number(this.addMsg.ChirdNum) + Number(this.addMsg.OldPeopleNum)) -
var SeatNum = (Number(this.addMsg.ManNum) + Number(this.addMsg.ChirdNum) + Number(this.addMsg.OldPeopleNum)+ Number(this.addMsg.BabyNum) ) -
(Number(this.addMsg.ESeatNum) + Number(this.addMsg.FSeatNum));
this.addMsg.YSeatNum = SeatNum < 0 ? 0 : SeatNum;
},
......
......@@ -1610,7 +1610,7 @@
Number(this.addMsg.BabyNum) + Number(this.addMsg.OldPeopleNum))
this.addMsg.SafeNum = (Number(this.addMsg.AirticketNum) + Number(this.addMsg.ManNum) + Number(this.addMsg.ChirdNum) +
Number(this.addMsg.BabyNum) + Number(this.addMsg.OldPeopleNum))
var SeatNum = (Number(this.addMsg.ManNum) + Number(this.addMsg.ChirdNum) + Number(this.addMsg.OldPeopleNum))-
var SeatNum = (Number(this.addMsg.ManNum) + Number(this.addMsg.ChirdNum) + Number(this.addMsg.OldPeopleNum)+ Number(this.addMsg.BabyNum))-
(Number(this.addMsg.ESeatNum)+Number(this.addMsg.FSeatNum));
this.addMsg.YSeatNum = SeatNum<0?0:SeatNum;
this.autoRemarks("VisaNum", "不要签证数量")
......
<template>
<div class="roomQuery">
<div class="roomQuery" ref="wrap">
<div class="query-box" style="border-bottom: none;">
<ul style="position:relative;">
<li>
......@@ -20,6 +20,7 @@
<div style="display:inline-block;color:red;display:none">注意事项:每次导出数据最好不要超过一个月。</div>
<div class="rq_comSpan" style="display:inline-block;">颜色说明:
<span class="rq_span1">新增团体</span><span class="rq_span2">取消团体</span>
<span class="rq_span3">酒店提醒</span>
</div>
</div><br />
<table border="0" cellspacing="1" cellpadding="0" class="roomQuery_SupplierTable" v-loading='loading'>
......@@ -92,14 +93,15 @@
{{subItem.UseTimeStr}}
</td>
<td>
<template v-if="childItem.SupplierId==0||childItem.SupplierId==UserInfo.SupplierId">
<template v-if="(childItem.DMCState==1 || childItem.OPState==1) && childItem.SupplierId!=UserInfo.SupplierId">业者自理</template>
<template v-else>
{{childItem.HotelName}}<br/>
<div class="rq_changeName">{{childItem.NewHotelName!=childItem.HotelName?'更换为:'+childItem.NewHotelName:""}}</div>
</template>
<template v-else>业者自理</template>
</td>
<td>
<template v-if="childItem.SupplierId==0||childItem.SupplierId==UserInfo.SupplierId">
<template v-if="(childItem.DMCState==1 || childItem.OPState==1) && childItem.SupplierId!=UserInfo.SupplierId"></template>
<template v-else>
<template v-for="(detailsItem,detailsIndex) in childItem.OrderDetailsList"
v-if="detailsItem.HouseTypeCount>0">
<template v-if="detailsItem.HouseType==1">单间</template>
......@@ -115,13 +117,15 @@
</template>
</td>
<td>
<template v-if="childItem.SupplierId==0||childItem.SupplierId==UserInfo.SupplierId">
<template v-if="(childItem.DMCState==1 || childItem.OPState==1) && childItem.SupplierId!=UserInfo.SupplierId"></template>
<template v-else>
<template v-if="childItem.TaxType==1">税入</template>
<template v-if="childItem.TaxType==2">税别</template>
</template>
</td>
<td>
<template v-if="childItem.SupplierId==0||childItem.SupplierId==UserInfo.SupplierId">
<template v-if="(childItem.DMCState==1 || childItem.OPState==1) && childItem.SupplierId!=UserInfo.SupplierId"></template>
<template v-else>
<select class="rq_status" v-model='childItem.SupplierToDmcHotelStatus'
:placeholder="$t('pub.pleaseSel')">
<option label='请选择' :value='0'></option>
......@@ -131,7 +135,8 @@
</template>
</td>
<td>
<template v-if="childItem.SupplierId==0||childItem.SupplierId==UserInfo.SupplierId">
<template v-if="(childItem.DMCState==1 || childItem.OPState==1) && childItem.SupplierId!=UserInfo.SupplierId"></template>
<template v-else>
<textarea class="w135" cols="25" rows="5" v-model='childItem.SupplierToDmcRemarks'></textarea>
</template>
</td>
......@@ -192,7 +197,7 @@
</div>
<div class="rq_remark" v-if="item.SupplierHotelStatus==1||item.SupplierHotelStatus==2&&item.Numbers>=0">
<span class="rq_reSpan">酒店提醒</span>
<span class="rQ_HtList">
<span class="rQ_HTremark">
<span v-for="subItem in item.Numbers"></span>
</span>
</div>
......@@ -207,7 +212,11 @@
</tbody>
</table>
</div>
<transition name="el-zoom-in-top">
<div class="page-component-up" v-show="top>100" @click="goTop">
<i class="el-icon-arrow-up"></i>
</div>
</transition>
</div>
</template>
<script>
......@@ -217,6 +226,7 @@
loading: false,
hotelLoading: false,
total: 0,
top:0,
msg: {
pageIndex: 1,
pageSize: 5,
......@@ -303,6 +313,7 @@
}
})
}
console.log(this.dataList,'data');
} else {
this.Error(res.data.message)
}
......@@ -371,6 +382,13 @@
//提取年月日
getDateYear(date) {
return date.split(' ')[0];
},
goTop(){
document.documentElement.scrollTop = 0
this.top=0
},
handleScroll(){
this.top=document.documentElement.scrollTop
}
},
mounted() {
......@@ -379,7 +397,7 @@
var nowMonth = (new Date().getMonth() + 1).toString()
var nowDay = new Date().getDate().toString();
this.todayDate = new Date().getFullYear() + '-' + this.timeAdd0(nowMonth) + '-' + this.timeAdd0(nowDay);
document.addEventListener('scroll', this.handleScroll);
this.getList();
},
}
......@@ -453,7 +471,9 @@
.roomQuery .rq_span2 {
background-color: red;
}
.roomQuery .rq_span3 {
background-color: #fb5f7a;
}
.roomQuery .hotelLink {
color: blue;
text-decoration: underline;
......@@ -558,18 +578,23 @@
font-size: 12px;
}
.rQ_HtList {
.rQ_HtList,.rQ_HTremark {
position: relative;
top:3px;
}
.rQ_HTremark span{
display: inline-block;
width: 15px;
height: 15px;
margin-right: 5px;
background-color: #fb5f7a;
}
.rQ_HtList span {
display: inline-block;
width: 15px;
height: 15px;
margin-right: 5px;
background-color: red;
border: 1px solid #d1d1d1;
}
.rq_importNote {
......@@ -594,4 +619,27 @@
width:75px;
text-align: right;
}
.roomQuery .page-component-up {
background-color: #fff;
position: fixed;
right: calc(8.3% - 60px);
bottom: 150px;
width: 40px;
height: 40px;
cursor: pointer;
transition: .3s;
z-index: 5;
border:1px solid #ddd;
box-sizing: border-box;
line-height: 40px;
text-align: center;
}
.roomQuery .page-component-up i{font-size: 36px;color: #bbb;}
.roomQuery .page-component-up:hover{
background-color: #EF4455;
border:1px solid #ec3346;
}
.roomQuery .page-component-up:hover i{
color: #F1f1f1;
}
</style>
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