Commit 02e43e8c authored by 黄奎's avatar 黄奎

新增酒店人数修改

parent 5eba3129
...@@ -191,11 +191,11 @@ ...@@ -191,11 +191,11 @@
<!-- 房间数 --> <!-- 房间数 -->
<td> <td>
<el-input class='w40 tcenter' maxlength="2" @keyup.native="checkPrice(childItem,'HouseTypeCount')" <el-input class='w40 tcenter' maxlength="2" @keyup.native="checkPrice(childItem,'HouseTypeCount')"
v-model='childItem.HouseTypeCount' :disabled="true"></el-input> v-model='childItem.HouseTypeCount' :disabled="IsEditHotelPeople==0?true:false"></el-input>
</td> </td>
<td> <td>
<el-input class='w40 tcenter' maxlength="2" @keyup.native="checkInteger(childItem,'BookNum')" <el-input class='w40 tcenter' maxlength="2" @keyup.native="checkInteger(childItem,'BookNum')"
@input="calculationPrice(subItem)" v-model='childItem.BookNum' :disabled="true"> @input="calculationPrice(subItem)" v-model='childItem.BookNum' :disabled="IsEditHotelPeople==0?true:false">
</el-input> </el-input>
</td> </td>
<!-- 尚差房间数 --> <!-- 尚差房间数 -->
...@@ -489,6 +489,7 @@ ...@@ -489,6 +489,7 @@
IsOperation: 1, IsOperation: 1,
LeaderName: "", //领队名称 LeaderName: "", //领队名称
GuideName: "", //导游名称 GuideName: "", //导游名称
IsEditHotelPeople:0,//是否有修改人数权限[0-不能修改,1-可以修改]
} }
}, },
components: { components: {
...@@ -705,6 +706,7 @@ ...@@ -705,6 +706,7 @@
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.IsOperation = res.data.data.IsOperation; this.IsOperation = res.data.data.IsOperation;
this.IsEditHotel = res.data.data.IsEditHotel; this.IsEditHotel = res.data.data.IsEditHotel;
this.IsEditHotelPeople=res.data.data.IsEditHotelPeople;
let list = res.data.data.HotelOrderListReport; let list = res.data.data.HotelOrderListReport;
this.CreateBy = res.data.data.CreateBy; this.CreateBy = res.data.data.CreateBy;
this.CreateByPhoto = res.data.data.CreateByPhoto; this.CreateByPhoto = res.data.data.CreateByPhoto;
...@@ -730,7 +732,7 @@ ...@@ -730,7 +732,7 @@
}) })
}); });
this.list = list; this.list = list;
this.$forceUpdate(); this.$forceUpdate();
} }
} else { } else {
......
...@@ -463,20 +463,34 @@ ...@@ -463,20 +463,34 @@
<el-tooltip class="item" effect="dark" content=" 领队/导游配置" placement="top-start" <el-tooltip class="item" effect="dark" content=" 领队/导游配置" placement="top-start"
v-if="item.LineId==14&&outItem.PriceCommonList.length>1" style="display:none;"> v-if="item.LineId==14&&outItem.PriceCommonList.length>1" style="display:none;">
<el-popover placement="bottom" width="450" trigger="click"> <el-popover placement="bottom" width="800" trigger="click">
<table class="dmcSetTable"> <table class="dmcSetTable">
<tr>
<template v-for="(hItem,hIndex) in TeamHotelList">
<td>{{hItem.TCNUM}}({{hItem.TCID}})</td>
</template>
</tr>
<template v-if="TeamHotelList&&TeamHotelList.length>0"> <template v-if="TeamHotelList&&TeamHotelList.length>0">
<template v-for="(hItem,hIndex) in TeamHotelList"> <tr>
</template> <th>团号/时间</th>
<template v-for="(hItem,hIndex) in TeamHotelList">
<th>
{{hItem.TCNUM}}<br/>({{hItem.TCID}})
</th>
</template>
</tr>
</template>
<template v-for="(hItem,hIndex) in TeamHotelList">
<template v-for="(hSubItem,hSubIndex) in hItem.dayList">
<tr>
<td>{{hSubItem.UseTime}}</td>
<td>
<template v-if="hSubItem.subList&&hSubItem.subList.length>0">
{{hSubItem.subList[0].NewHotelName}}
</template>
</td>
</tr>
</template>
</template> </template>
</table> </table>
<el-button @click="GetTeamHotelList(outItem.TCIDS)" slot="reference" icon="iconfont icon-suo1" <el-button @click="GetTeamHotelList(outItem.TCIDS)" slot="reference"
type="primary" style="background:green; border-color:green"></el-button> icon="iconfont icon-guanli2" type="primary" style="background:green; border-color:green">
</el-button>
</el-popover> </el-popover>
</el-tooltip> </el-tooltip>
</el-button-group> </el-button-group>
...@@ -989,7 +1003,7 @@ ...@@ -989,7 +1003,7 @@
}, res => { }, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.TeamHotelList = res.data.data; this.TeamHotelList = res.data.data;
//console.log("TeamHotelList", this.TeamHotelList); console.log("TeamHotelList", this.TeamHotelList);
} else { } else {
this.$message.error(res.data.message); this.$message.error(res.data.message);
} }
......
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