Commit a152e9df authored by 黄奎's avatar 黄奎

页面修改

parent 40ededc3
......@@ -355,6 +355,10 @@
<el-button type="primary" icon="iconfont icon-shanchu" @click='DeleteHotel(item,subIndex)'>
</el-button>
</el-tooltip>
<el-popover width="200" trigger="click" popper-class="Bus_HotelPop">
<commonHotelLog :ref="'comHotelLog'+index+subIndex+''"> </commonHotelLog>
<div slot="reference" class="w80" style="cursor:pointer;text-decoration:underline;" @click="GetHotelLog(subItem,index,subIndex)">日志</div>
</el-popover>
</template>
<!--<template v-else>
<span class="Hotel_red">OP选房确认</span>
......@@ -370,6 +374,7 @@
<script>
import moment from 'moment'
import comCheckHotel from "../commonPage/comCheckHotel.vue";
import commonHotelLog from "../commonPage/commonHotelLog.vue";
export default {
data() {
return {
......@@ -409,9 +414,15 @@
}
},
components: {
comCheckHotel
comCheckHotel,
commonHotelLog,
},
methods: {
//调用子组件获取日志方法
GetHotelLog(subItem,index,hotelSubIndex) {
let str = `comHotelLog${index}${hotelSubIndex}`
this.$refs[str][0].getHotelLogsList(subItem.TCID,subItem.HotelId,subItem.CheckInDateStr);
},
childHotelList(ckedObj) {
this.list.forEach(x => {
x.HotelOrderList.forEach(y => {
......
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