Commit 16a7c489 authored by 华国豪's avatar 华国豪 🙄
parents 2046c747 bfedc2d6
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
<td> <td>
<el-tooltip class="item" effect="dark" content="酒店信息" placement="top-start"> <el-tooltip class="item" effect="dark" content="酒店信息" placement="top-start">
<el-popover placement="bottom" width="800" trigger="click" popper-class="rq_HotelDetails"> <el-popover placement="bottom" width="800" trigger="click" popper-class="rq_HotelDetails">
<table class="rq_HotelTable" v-loading="HotelUseLoading"> <table class="rq_HotelTable" v-loading="hotelLoading">
<tr> <tr>
<th width="200"> <th width="200">
时间 时间
...@@ -84,13 +84,14 @@ ...@@ -84,13 +84,14 @@
<th width="120"> <th width="120">
税入/税别 税入/税别
</th> </th>
<th>提醒</th>
<th>备注</th>
</tr> </tr>
<template v-for="(subItem,subIndex) in HotelList"> <template v-for="(subItem,subIndex) in HotelList">
<tbody> <tbody>
<template v-for="(childItem,childIndex) in subItem.HotelOrderList"> <template v-for="(childItem,childIndex) in subItem.HotelOrderList">
<tr> <tr>
<td v-if="childIndex==0" <td
:rowspan="subItem.HotelOrderList.length>1?subItem.HotelOrderList.length*3:subItem.HotelOrderList.length+2"
style="text-align:center;"> style="text-align:center;">
{{subIndex+1}}<br /> {{subIndex+1}}<br />
{{subItem.UseTimeStr}} {{subItem.UseTimeStr}}
...@@ -119,32 +120,27 @@ ...@@ -119,32 +120,27 @@
<template v-if="childItem.TaxType==1">税入</template> <template v-if="childItem.TaxType==1">税入</template>
<template v-if="childItem.TaxType==2">税别</template> <template v-if="childItem.TaxType==2">税别</template>
</td> </td>
</tr>
<tr>
<td colspan="4">
<span style="display:inline-block;width:60px;vertical-align:top;">提示信息:</span>
<span style="display:inline-block;width:87%;">{{childItem.Remarks}}</span></td>
</tr>
<tr>
<td>
提醒等级
</td>
<td> <td>
<!-- 提醒等级
<el-select class='w135 sel' v-model='childItem.SupplierToDmcHotelStatus' <el-select class='w135 sel' v-model='childItem.SupplierToDmcHotelStatus'
:placeholder="$t('pub.pleaseSel')"> :placeholder="$t('pub.pleaseSel')">
<el-option label='请选择' :value='0'></el-option> <el-option label='请选择' :value='0'></el-option>
<el-option label='一般提醒' :value='1'></el-option> <el-option label='一般提醒' :value='1'></el-option>
<el-option label='重要提醒' :value='2'></el-option> <el-option label='重要提醒' :value='2'></el-option>
</el-select> </el-select> -->
</td> </td>
<td> <td>
对地接备注 对地接备注
</td>
<td>
<el-input type='textarea' class='w135' v-model='childItem.SupplierToDmcRemarks'> <el-input type='textarea' class='w135' v-model='childItem.SupplierToDmcRemarks'>
</el-input> </el-input>
</td> </td>
</tr> </tr>
<!-- <tr>
<td colspan="4">
<span style="display:inline-block;width:60px;vertical-align:top;">提示信息:</span>
<span style="display:inline-block;width:87%;" :class="{'rq_disImNote':childItem.SupplierHotelStatus==1&&DateMinus(subItem.UseTimeStr)<=5,'rq_importNote':childItem.SupplierHotelStatus==2&&DateMinus(subItem.UseTimeStr)<=5}">{{childItem.Remarks}}</span>
</td>
</tr> -->
</template> </template>
</tbody> </tbody>
</template> </template>
...@@ -253,7 +249,7 @@ ...@@ -253,7 +249,7 @@
//是否为今天 //是否为今天
isToday:false, isToday:false,
todayDate:'', todayDate:'',
showNum:0 showNum:0,
} }
}, },
methods: { methods: {
...@@ -281,7 +277,6 @@ ...@@ -281,7 +277,6 @@
this.Error(res.data.message) this.Error(res.data.message)
} }
}, err => {}) }, err => {})
}, },
getList() { getList() {
this.loading = true; this.loading = true;
...@@ -318,6 +313,7 @@ ...@@ -318,6 +313,7 @@
this.hotelLoading = false; this.hotelLoading = false;
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.HotelList = res.data.data; this.HotelList = res.data.data;
console.log(this.HotelList,'hotellist')
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
...@@ -560,8 +556,10 @@ ...@@ -560,8 +556,10 @@
background-color: red; background-color: red;
border:1px solid #d1d1d1; border:1px solid #d1d1d1;
} }
/* .rq_tBody tr:first-child td{ .rq_importNote{
border-top-color: red; color: red;
border-left-color:red }
} */ .rq_disImNote{
color: #ea6d6d;
}
</style> </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