Commit a06a32ea authored by 黄奎's avatar 黄奎

表格样式修改

parent b6de60b5
...@@ -28,6 +28,17 @@ ...@@ -28,6 +28,17 @@
padding: 5px; padding: 5px;
} }
.roomReservationsDetailsTalbe {
table-layout: fixed;
}
.roomReservationsDetailsTalbe thead tr th {
position: sticky;
top: 0;
z-index: 1000;
}
</style> </style>
<template> <template>
...@@ -50,14 +61,15 @@ ...@@ -50,14 +61,15 @@
<div style="width: 100%; overflow-x: auto;padding-bottom: 10px; " :style="{height: boxHeight + 'px'}" <div style="width: 100%; overflow-x: auto;padding-bottom: 10px; " :style="{height: boxHeight + 'px'}"
class="ownScrollbarStyle" ref="ownScrollbarStyle"> class="ownScrollbarStyle" ref="ownScrollbarStyle">
<table border="0" cellspacing="1" cellpadding="0" class="roomReservationsDetailsTalbe" v-loading="loading"> <table border="0" cellspacing="1" cellpadding="0" class="roomReservationsDetailsTalbe" v-loading="loading">
<thead>
<tr> <tr>
<th class="fz14" colspan="5"> <th class="fz14" style="border:none;" >
{{$t('visa.v_teaminfo')}}&nbsp;&nbsp;{{$t('leader.leader_Leader')}}:{{LeaderName}} {{$t('visa.v_teaminfo')}}&nbsp;&nbsp;{{$t('leader.leader_Leader')}}:{{LeaderName}}
&nbsp;&nbsp;{{$t('leader.leader_Guide')}}:{{GuideName}}.</th> &nbsp;&nbsp;{{$t('leader.leader_Guide')}}: {{GuideName}} </th>
<th class="fz14" colspan="17"> <th class="fz14" style="border:none;">
<el-tooltip class="item" effect="dark" content="批量上传手配书" placement="top-start" <el-tooltip class="item" effect="dark" content="批量上传手配书" placement="top-start"
style="float:left;margin-left:20px;"> style="float:left;margin-left:20px;">
<el-popover placement="bottom" popper-class="piliangPop" width="400" trigger="click" <el-popover placement="bottom" popper-class="piliangPop" width="500" trigger="click"
v-model="isShowPiliangPop"> v-model="isShowPiliangPop">
<table class="dmcSetTable roomReserSet" border="0" cellspacing="0" cellpadding="0"> <table class="dmcSetTable roomReserSet" border="0" cellspacing="0" cellpadding="0">
<tr> <tr>
...@@ -66,11 +78,12 @@ ...@@ -66,11 +78,12 @@
</tr> </tr>
<template v-for="(lItem,lIndex) in list"> <template v-for="(lItem,lIndex) in list">
<tr v-for="(subItem,subIndex) in lItem.HotelOrderList" :key="subIndex+lIndex"> <tr v-for="(subItem,subIndex) in lItem.HotelOrderList" :key="subIndex+lIndex">
<td style="width:100px;"> <td style="width:120px;">
{{lItem.UseTimeStr}} {{lItem.UseTimeStr}}
</td> </td>
<td style="width:280px;"> <td style="width:280px;">
<el-checkbox v-model="subItem.IsChecked" @change="MoreUpdate(subItem)">{{subItem.NewHotelName}} <el-checkbox v-model="subItem.IsChecked" @change="MoreUpdate(subItem)">
{{subItem.NewHotelName}}
</el-checkbox> </el-checkbox>
</td> </td>
</tr> </tr>
...@@ -89,7 +102,7 @@ ...@@ -89,7 +102,7 @@
</el-button> </el-button>
</el-popover> </el-popover>
</el-tooltip> </el-tooltip>
<span style="margin-top:6px;display:inline-block;">{{$t('ground.dijiecaozuoxinxi')}}</span>
<el-tooltip class="item" effect="dark" content="批量修改" placement="top-start" <el-tooltip class="item" effect="dark" content="批量修改" placement="top-start"
style="float:left;margin-left:20px;"> style="float:left;margin-left:20px;">
...@@ -130,6 +143,10 @@ ...@@ -130,6 +143,10 @@
</el-tooltip> </el-tooltip>
</th> </th>
</tr> </tr>
</thead>
</table>
<table border="0" cellspacing="1" cellpadding="0" class="roomReservationsDetailsTalbe" v-loading="loading">
<thead>
<tr> <tr>
<th width="120">{{$t('hotel.table_CheckInDate')}}</th> <th width="120">{{$t('hotel.table_CheckInDate')}}</th>
<th width="180">{{$t('hotel.hotel_name')}}</th> <th width="180">{{$t('hotel.hotel_name')}}</th>
...@@ -140,7 +157,6 @@ ...@@ -140,7 +157,6 @@
<th width="100">{{$t('ground.fangjianleixing')}}</th> <th width="100">{{$t('ground.fangjianleixing')}}</th>
<th width="80">{{$t('ground.fangjian')}}<br />{{$t("ground.yudingshu")}}</th> <th width="80">{{$t('ground.fangjian')}}<br />{{$t("ground.yudingshu")}}</th>
<th width="80">{{$t('ground.yudingrenshu')}}</th> <th width="80">{{$t('ground.yudingrenshu')}}</th>
<!-- <th width="80">尚差<br />房间数</th> -->
<th width="80">{{$t('ground.danjiameiren')}}</th> <th width="80">{{$t('ground.danjiameiren')}}</th>
<th width="80">{{$t('ground.mianjianrenshu')}}</th> <th width="80">{{$t('ground.mianjianrenshu')}}</th>
<th width="80">{{$t('ground.jinexiaoji')}}</th> <th width="80">{{$t('ground.jinexiaoji')}}</th>
...@@ -154,6 +170,8 @@ ...@@ -154,6 +170,8 @@
<th width="250">{{$t('ground.fukuanbzdth')}}</th> <th width="250">{{$t('ground.fukuanbzdth')}}</th>
<th width="80">{{$t('system.table_operation')}}</th> <th width="80">{{$t('system.table_operation')}}</th>
</tr> </tr>
</thead>
<tbody>
<template v-for="(item,index) in list"> <template v-for="(item,index) in list">
<template v-for="(subItem,subIndex) in item.HotelOrderList"> <template v-for="(subItem,subIndex) in item.HotelOrderList">
<tr v-for="(childItem,childIndex) in subItem.OrderDetailsList"> <tr v-for="(childItem,childIndex) in subItem.OrderDetailsList">
...@@ -193,7 +211,8 @@ ...@@ -193,7 +211,8 @@
</td> </td>
</tr> </tr>
</table> </table>
<span style="font-weight:bold;font-size:14px;">报价酒店:<font style="color:red;">{{subItem.OfferHotelName}}( <span style="font-weight:bold;font-size:14px;">报价酒店:<font style="color:red;">
{{subItem.OfferHotelName}}(
{{subItem.OfferUnitPrice}}/人)</font></span> {{subItem.OfferUnitPrice}}/人)</font></span>
</td> </td>
<!-- 机位总数/(Y/E/F) --> <!-- 机位总数/(Y/E/F) -->
...@@ -575,7 +594,8 @@ ...@@ -575,7 +594,8 @@
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" :content="$t('pub.addBtn')" v-if="subItem.OPState!=1" <el-tooltip class="item" effect="dark" :content="$t('pub.addBtn')" v-if="subItem.OPState!=1"
placement="top-start"> placement="top-start">
<el-button @click='AddHotel(item,subIndex)' icon="iconfont icon-tianjia" type="primary"></el-button> <el-button @click='AddHotel(item,subIndex)' icon="iconfont icon-tianjia" type="primary">
</el-button>
</el-tooltip> </el-tooltip>
<el-tooltip v-if="item.HotelOrderList.length>1 && subItem.OPState!=1" class="item" effect="dark" <el-tooltip v-if="item.HotelOrderList.length>1 && subItem.OPState!=1" class="item" effect="dark"
:content="$t('system.table_delete')" placement="top-start"> :content="$t('system.table_delete')" placement="top-start">
...@@ -592,6 +612,7 @@ ...@@ -592,6 +612,7 @@
</tr> </tr>
</template> </template>
</template> </template>
</tbody>
</table> </table>
<div class="noDataNotice" v-if="list.length<1"> <div class="noDataNotice" v-if="list.length<1">
<i class="iconfont icon-kong"></i> <i class="iconfont icon-kong"></i>
......
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