Commit e878fb7d authored by 黄奎's avatar 黄奎

页面修改

parent 7039fb71
...@@ -140,13 +140,27 @@ ...@@ -140,13 +140,27 @@
{{childItem.CheckInDateStr}} {{childItem.CheckInDateStr}}
</td> </td>
<td class="tdLeft"> <td class="tdLeft">
<template v-if="childItem.SupplierId==UserInfo.SupplierId"> {{childItem.NewHotelName}}</template> <template v-if="childItem.SupplierId==UserInfo.SupplierId">
<template v-if="childItem.SupplierHotelStatus==0"> {{childItem.NewHotelName}}</template>
<template v-else-if="childItem.SupplierHotelStatus==1">
<a style="color:#7abd53">{{childItem.NewHotelName}}</a></template>
<template v-else-if="childItem.SupplierHotelStatus==2">
<a style="color:blue">{{childItem.NewHotelName}}</a>
</template>
(
<template v-if="subItem.TotalSeat/2!=childItem.SupplierBookNum">
<a style="font-weight:bold; color:red;" title="总机位数和预订间数不相符"> {{childItem.SupplierBookNum}} </a>
</template>
<template v-else>
<a style="font-weight:bold;"> {{childItem.SupplierBookNum}} </a>
</template>
间)</template>
<template v-else> <template v-else>
组团社自理 组团社自理
</template> </template>
</td> </td>
<td> <td>
<span style="color:red;"> <!--<span >
<template v-if="childItem.SupplierId==UserInfo.SupplierId"> <template v-if="childItem.SupplierId==UserInfo.SupplierId">
<template v-if="childItem.OPState==1">[OP选房-OK]</template> <template v-if="childItem.OPState==1">[OP选房-OK]</template>
<template v-else-if="childItem.OPState==2&&childItem.DMCState==0">[OP-暂定]</template> <template v-else-if="childItem.OPState==2&&childItem.DMCState==0">[OP-暂定]</template>
...@@ -154,10 +168,16 @@ ...@@ -154,10 +168,16 @@
v-else>{{childItem.DMCState==1?"[地接-OK]":(childItem.DMCState==0?"[地接-未操作]":"[地接-暂定]")}}</template> v-else>{{childItem.DMCState==1?"[地接-OK]":(childItem.DMCState==0?"[地接-未操作]":"[地接-暂定]")}}</template>
</template> </template>
</span> </span>
-->
<template v-if="childItem.SupplierId==UserInfo.SupplierId">
<template v-if="childItem.SupplierHotelStatus==0">未操作</template>
<template v-else-if="childItem.SupplierHotelStatus==1"><a style="color:#7abd53">操作中</a></template>
<template v-else-if="childItem.SupplierHotelStatus==2"><a style="color:blue">操作完成</a></template>
</template>
</td> </td>
<td v-if="childIndex==0" <td v-if="childIndex==0"
:rowspan="subItem.SupplierRemarks!=''?subItem.hotelList.length+1:subItem.hotelList.length"> :rowspan="subItem.SupplierRemarks!=''?subItem.hotelList.length+1:subItem.hotelList.length">
<el-tooltip class="item" effect="dark" content="操作信息" placement="top-start" style="display:none;"> <el-tooltip class="item" effect="dark" content="操作信息" placement="top-start">
<el-popover placement="bottom" width="460" trigger="click"> <el-popover placement="bottom" width="460" trigger="click">
<table> <table>
<tr> <tr>
...@@ -174,7 +194,7 @@ ...@@ -174,7 +194,7 @@
状态 状态
</th> </th>
</tr> </tr>
<tr v-for="opItem in subItem.hotelList"> <tr v-for="opItem in CurrentHotelList">
<template v-if="opItem.SupplierId==UserInfo.SupplierId"> <template v-if="opItem.SupplierId==UserInfo.SupplierId">
<td> <td>
{{opItem.CheckInDateStr}} {{opItem.CheckInDateStr}}
...@@ -202,9 +222,10 @@ ...@@ -202,9 +222,10 @@
</tr> </tr>
</table> </table>
<p class="alcenter mt10"> <p class="alcenter mt10">
<input type="button" value="保存" @click="SaveSupplierData(subItem.hotelList)" class="normalBtn" /> <input type="button" value="保存" @click="SaveSupplierData(CurrentHotelList)" class="normalBtn" />
</p> </p>
<a style="text-decoration:underline;color:blue;cursor:pointer" slot="reference">操作</a> <a style="text-decoration:underline;color:blue;cursor:pointer" slot="reference"
@click="GetItemHotelData(subItem.hotelList)">操作</a>
</el-popover> </el-popover>
</el-tooltip> </el-tooltip>
<a style="text-decoration:underline;color:blue;cursor:pointer" <a style="text-decoration:underline;color:blue;cursor:pointer"
...@@ -279,6 +300,8 @@ ...@@ -279,6 +300,8 @@
AirlineList: [], AirlineList: [],
EmployeeList: [], EmployeeList: [],
}, },
//当前酒店列表
CurrentHotelList: [],
pickerBeginDateBefore: { pickerBeginDateBefore: {
disabledDate: time => { disabledDate: time => {
if (this.msg.EndDate == null) { if (this.msg.EndDate == null) {
...@@ -298,6 +321,9 @@ ...@@ -298,6 +321,9 @@
} }
}, },
methods: { methods: {
GetItemHotelData(hotelList) {
this.CurrentHotelList = JSON.parse(JSON.stringify(hotelList));
},
//删除投诉 //删除投诉
DeleteSupplierComplain(Id) { DeleteSupplierComplain(Id) {
if (Id > 0) { if (Id > 0) {
......
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