Commit eee903e2 authored by zhengke's avatar zhengke

团控列表新增酒店信息

parent 7d8af36c
......@@ -81,7 +81,10 @@
.TC_Content .avatar-uploader-icon {
height: auto;
}
.TC_HotelPop >div{
overflow: auto;
height:300px;
}
</style>
<template>
<div class="TC_Content">
......@@ -540,29 +543,33 @@
</el-popover>
</p>
<p v-if="item.LineID==14 && item.HotelOrderListReports && item.HotelOrderListReports.length>0 ">
<el-popover width="700" trigger="click" popper-class="TC_customerInfo">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th>日期</th>
<th>酒店情况</th>
</tr>
<tr v-for="subItem in item.HotelOrderListReports">
<td>
{{subItem.UseDay}}
</td>
<td>
<template v-if="subItem.SubList">
<div v-if="subItem.SubList.length==1 && subItem.SubList[0].UseCount>0 ">
{{subItem.SubList[0].HotelName}}<a
style="color:green">本团使用库存:{{subItem.SubList[0].UseCount}}
{{subItem.SubList[0].CostPrice!=0?"价格:"+subItem.SubList[0].CostPrice:""}}</a></div>
<template v-else v-for="childItem in subItem.SubList">
<div>{{childItem.HotelName}}</div>
</template>
</template>
</td>
</tr>
<el-popover width="600" trigger="click" popper-class="TC_HotelPop">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="singeRowTable">
<tr>
<th width="100">日期</th>
<th style="border-right:1px solid #E5E5E5">酒店情况</th>
</tr>
</table>
<div>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="singeRowTable">
<tr v-for="subItem in item.HotelOrderListReports">
<td>
{{subItem.UseDay}}
</td>
<td style="text-align:left;padding-left:20px;">
<template v-if="subItem.SubList">
<div v-if="subItem.SubList.length==1 && subItem.SubList[0].UseCount>0 ">
{{subItem.SubList[0].HotelName}}<a
style="color:green">本团使用库存:{{subItem.SubList[0].UseCount}}
{{subItem.SubList[0].CostPrice!=0?"价格:"+subItem.SubList[0].CostPrice:""}}</a></div>
<template v-else v-for="childItem in subItem.SubList">
<div>{{childItem.HotelName}}</div>
</template>
</template>
</td>
</tr>
</table>
</div>
<span slot="reference" class="price">酒店信息</span>
</el-popover>
</p>
......
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