Commit fcc5bf03 authored by 黄奎's avatar 黄奎

页面修改

parent 69b68682
...@@ -44,7 +44,8 @@ ...@@ -44,7 +44,8 @@
</td> </td>
<td> <td>
<template v-for="(subItem,subIndex) in item.FlightList2"> <template v-for="(subItem,subIndex) in item.FlightList2">
<span class="roomNowrap"><span class="roomFlightNumber">{{subItem.Flight_number}}</span> {{subItem.TicketDepartureTime}} {{subItem.DepartureName}}({{subItem.DIATA}}) <span class="roomNowrap"><span class="roomFlightNumber">{{subItem.Flight_number}}</span>
{{subItem.TicketDepartureTime}} {{subItem.DepartureName}}({{subItem.DIATA}})
<i class="iconfont icon-weibiaoti40 rq_Arrow"></i> <i class="iconfont icon-weibiaoti40 rq_Arrow"></i>
{{subItem.TicketArrivalTime}} {{subItem.ArrivalCityName}}({{subItem.AIATA}})</span> {{subItem.TicketArrivalTime}} {{subItem.ArrivalCityName}}({{subItem.AIATA}})</span>
</template> </template>
...@@ -83,11 +84,13 @@ ...@@ -83,11 +84,13 @@
</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" :rowspan="subItem.HotelOrderList.length>1?subItem.HotelOrderList.length*2:subItem.HotelOrderList.length+1" style="text-align:center;"> <td v-if="childIndex==0"
{{subIndex+1}}<br/> :rowspan="subItem.HotelOrderList.length>1?subItem.HotelOrderList.length*2:subItem.HotelOrderList.length+1"
style="text-align:center;">
{{subIndex+1}}<br />
{{subItem.UseTimeStr}} {{subItem.UseTimeStr}}
</td> </td>
<td> <td>
...@@ -97,7 +100,8 @@ ...@@ -97,7 +100,8 @@
{{childItem.NewHotelName}} {{childItem.NewHotelName}}
</td> </td>
<td> <td>
<template v-for="(detailsItem,detailsIndex) in childItem.OrderDetailsList" v-if="detailsItem.HouseTypeCount>0" > <template v-for="(detailsItem,detailsIndex) in childItem.OrderDetailsList"
v-if="detailsItem.HouseTypeCount>0">
<template v-if="detailsItem.HouseType==1">单间</template> <template v-if="detailsItem.HouseType==1">单间</template>
<template v-if="detailsItem.HouseType==2">标准双人间</template> <template v-if="detailsItem.HouseType==2">标准双人间</template>
<template v-if="detailsItem.HouseType==3">大床房</template> <template v-if="detailsItem.HouseType==3">大床房</template>
...@@ -106,7 +110,7 @@ ...@@ -106,7 +110,7 @@
{{detailsItem.HouseTypeCount}} 间 {{detailsItem.HouseTypeCount}} 间
价格: {{detailsItem.UnitPrice}} 价格: {{detailsItem.UnitPrice}}
返佣: {{detailsItem.RebateRatio}} 返佣: {{detailsItem.RebateRatio}}
<br/> <br />
</template> </template>
</td> </td>
<td> <td>
...@@ -123,7 +127,28 @@ ...@@ -123,7 +127,28 @@
</tbody> </tbody>
</template> </template>
</table> </table>
<a class="hotelLink" slot="reference" @click="getHotelList(item.TCID,item.NewCombinationNum)">酒店使用情况</a> <a class="hotelLink" slot="reference"
@click="getHotelList(item.TCID,item.NewCombinationNum)">酒店使用情况</a>
</el-popover>
</el-tooltip>
<el-tooltip class="item" effect="dark" content="酒店信息" placement="top-start">
<el-popover placement="bottom" width="400" trigger="click" popper-class="rq_HotelDetails">
<table>
<tr>
<td>
备注:
</td>
<td>
<el-input class='mt10' v-model='RemarkObj.SupplierToDmcRemarks' type='textarea'></el-input>
</td>
</tr>
<tr>
<td colspan="2">
<input type="button" value="保存" @click="saveSupplierToDmcRemarks" class="normalBtn" />
</td>
</tr>
</table>
<a class="hotelLink" slot="reference" @click="getClickItem(item)">备注</a>
</el-popover> </el-popover>
</el-tooltip> </el-tooltip>
</td> </td>
...@@ -133,6 +158,11 @@ ...@@ -133,6 +158,11 @@
注意事项: {{item.SupplierRemarks}} 注意事项: {{item.SupplierRemarks}}
</td> </td>
</tr> </tr>
<tr>
<td colspan="8" style="text-align:left;padding-left:5px;">
对地接备注: {{item.SupplierToDmcRemarks}}
</td>
</tr>
</tbody> </tbody>
</table> </table>
</div> </div>
...@@ -144,7 +174,7 @@ ...@@ -144,7 +174,7 @@
data() { data() {
return { return {
loading: false, loading: false,
hotelLoading:false, hotelLoading: false,
total: 0, total: 0,
msg: { msg: {
pageIndex: 1, pageIndex: 1,
...@@ -172,6 +202,11 @@ ...@@ -172,6 +202,11 @@
UserInfo: {}, //用户信息 UserInfo: {}, //用户信息
dataList: [], //数据列表 dataList: [], //数据列表
HotelList: [], //酒店列表 HotelList: [], //酒店列表
//供应商对地接备注
RemarkObj: {
TCID: 0,
SupplierToDmcRemarks: ""
},
//日志信息 //日志信息
LogsList: [], LogsList: [],
queryLogMsg: { queryLogMsg: {
...@@ -208,21 +243,35 @@ ...@@ -208,21 +243,35 @@
} }
}, err => {}) }, err => {})
}, },
//获取日志 //获取酒店列表
getHotelList(TCID, NewCombinationNum) { getHotelList(TCID, NewCombinationNum) {
console.log(TCID) this.hotelLoading = true;
this.hotelLoading=true;
this.HotelList = []; this.HotelList = [];
var qMsg = { var qMsg = {
TCID: TCID, TCID: TCID,
NewCombinationNum: NewCombinationNum NewCombinationNum: NewCombinationNum
}; };
this.ApiPost2('dmcstatistics_post_GetSupplierHotelListService', qMsg, res => { this.ApiPost2('dmcstatistics_post_GetSupplierHotelListService', qMsg, res => {
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",this.HotelList); } else {
}else{ this.Error(res.data.message);
}
}, err => {})
},
//获取点击备注
getClickItem(item) {
this.RemarkObj.TCID = item.TCID;
this.RemarkObj.SupplierToDmcRemarks = item.SupplierToDmcRemarks;
},
//保存供应商对地接备注
saveSupplierToDmcRemarks() {
this.ApiPost2('dmcstatistics_post_SetSupplierToDmcRemarksService', this.RemarkObj, res => {
this.hotelLoading = false;
if (res.data.resultCode == 1) {
this.getList();
} else {
this.Error(res.data.message); this.Error(res.data.message);
} }
}, err => {}) }, err => {})
...@@ -263,11 +312,13 @@ ...@@ -263,11 +312,13 @@
background-color: #fff; background-color: #fff;
border: 1px solid #d1d1d1; border: 1px solid #d1d1d1;
} }
.roomQuery_SupplierTable tbody:nth-child(2n+2){
.roomQuery_SupplierTable tbody:nth-child(2n+2) {
background: #fafafa; background: #fafafa;
} }
.roomQuery_SupplierTable tbody tr:last-child{
border-bottom:2px solid #333; .roomQuery_SupplierTable tbody tr:last-child {
border-bottom: 2px solid #333;
} }
.roomQuery_SupplierTable tr th { .roomQuery_SupplierTable tr th {
...@@ -328,25 +379,48 @@ ...@@ -328,25 +379,48 @@
text-decoration: underline; text-decoration: underline;
cursor: pointer; cursor: pointer;
} }
.roomQuery .roomNowrap{
.roomQuery .roomNowrap {
white-space: nowrap; white-space: nowrap;
display: block; display: block;
text-align: left; text-align: left;
padding-left:20px; padding-left: 20px;
} }
.roomQuery .roomFlightNumber{
color:#FF0066; .roomQuery .roomFlightNumber {
color: #FF0066;
font-weight: bold; font-weight: bold;
} }
.rq_HotelTable { padding: 10px 0 0 20px; background-color: #ededed; border-collapse: collapse; border: 1px solid #d2d2d2; font-size: 12px;}
.rq_HotelTable th { background-color: #ededed; padding: 5px 10px;text-align: center;} .rq_HotelTable {
.rq_HotelTable td { background-color: #ffffff; padding: 9px 10px;color: #333333;border: 1px solid #d2d2d2;} padding: 10px 0 0 20px;
.rq_HotelDetails{ background-color: #ededed;
max-height:400px; border-collapse: collapse;
border: 1px solid #d2d2d2;
font-size: 12px;
}
.rq_HotelTable th {
background-color: #ededed;
padding: 5px 10px;
text-align: center;
}
.rq_HotelTable td {
background-color: #ffffff;
padding: 9px 10px;
color: #333333;
border: 1px solid #d2d2d2;
}
.rq_HotelDetails {
max-height: 400px;
overflow: auto; overflow: auto;
} }
.roomQuery .rq_Arrow{
.roomQuery .rq_Arrow {
position: relative; position: relative;
top:3px; top: 3px;
} }
</style> </style>
...@@ -440,7 +440,7 @@ ...@@ -440,7 +440,7 @@
<el-checkbox v-model="priceData.IsSupportChildren" :true-label="CheckedVaule" <el-checkbox v-model="priceData.IsSupportChildren" :true-label="CheckedVaule"
:false-label="UnCheckedVaule">支持儿童出游 :false-label="UnCheckedVaule">支持儿童出游
</el-checkbox> </el-checkbox>
<el-checkbox v-model="priceData.IsBookTeam" :true-label="CheckedVaule" v-if="PostConfig.LineId==14" <el-checkbox style="display:none;" v-model="priceData.IsBookTeam" :true-label="CheckedVaule" v-if="PostConfig.LineId==14"
:false-label="UnCheckedVaule">订团 :false-label="UnCheckedVaule">订团
</el-checkbox> </el-checkbox>
<el-checkbox v-model="priceData.IsLessPrice" :true-label="CheckedVaule" <el-checkbox v-model="priceData.IsLessPrice" :true-label="CheckedVaule"
......
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