Commit 892679d0 authored by 黄奎's avatar 黄奎

页面显示控制修改

parent b12c170d
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
<td>{{item.LeaderName}}</td> <td>{{item.LeaderName}}</td>
<td>{{item.GuideName}}</td> <td>{{item.GuideName}}</td>
<td> <td>
<el-popover width="900" trigger="click" popper-class="DMC_HotelPop"> <el-popover width="1000" trigger="click" popper-class="DMC_HotelPop">
<commonHotelInfo :HotelObj="item.CommonReport.PriceHotelResult" :showHotelObj="showHotelObj" <commonHotelInfo :HotelObj="item.CommonReport.PriceHotelResult" :showHotelObj="showHotelObj"
:TCID="item.TCIDS" :DMCNum="NewCombinationNum" :TCNUM="item.TCNUMS"></commonHotelInfo> :TCID="item.TCIDS" :DMCNum="NewCombinationNum" :TCNUM="item.TCNUMS"></commonHotelInfo>
<span slot="reference" class="price" style="cursor:pointer;text-decoration:underline;">酒店信息</span> <span slot="reference" class="price" style="cursor:pointer;text-decoration:underline;">酒店信息</span>
...@@ -579,13 +579,15 @@ ...@@ -579,13 +579,15 @@
LeaderGetPrice: 0, LeaderGetPrice: 0,
HangingList: [], HangingList: [],
showHotelObj: { showHotelObj: {
showPrice: true, showPrice: true,//是否显示价格
showPay: true, showPay: true,//是否显示支付方式
showZhan: true, showZhan: true,//占房时间
showBtnList: false, showBtnList: false,//是否下载、确认按钮
showCaozuoTime: true,
ShowTaxType: true, //显示税入税别 ShowTaxType: true, //显示税入税别
ShowRebateRatio: true, //显示返佣比列 ShowRebateRatio: true, //显示返佣比列
ShowSupplier:true,//是否显示供应商
showCaozuoTime:true,//操作时间
colspanLength:6//跨行
}, },
} }
}, },
......
...@@ -1068,12 +1068,15 @@ ...@@ -1068,12 +1068,15 @@
//当前登录用户信息 //当前登录用户信息
CurrentUserInfo: {}, CurrentUserInfo: {},
showHotelObj: { showHotelObj: {
showPrice: true, showPrice: true,//是否显示价格
showPay: true, showPay: false,//是否显示支付方式
showZhan: true, showZhan: true,//占房时间
showBtnList: true, showBtnList: false,//是否下载、确认按钮
showCaozuoTime: true, ShowTaxType: false, //显示税入税别
isFromTCList: true ShowRebateRatio: false, //显示返佣比列
ShowSupplier:false,//是否显示供应商
showCaozuoTime:true,//操作时间
colspanLength:4//跨行
}, },
IsModifyTravelControl: 0, //分公司是否有修改团控权限 IsModifyTravelControl: 0, //分公司是否有修改团控权限
pickerBeginDateBefore: { pickerBeginDateBefore: {
......
...@@ -238,9 +238,15 @@ ...@@ -238,9 +238,15 @@
isCha: 0, isCha: 0,
boxHeight: 0, boxHeight: 0,
showHotelObj: { showHotelObj: {
showPrice: true, showPrice: false,//是否显示价格
showPay: true, showPay: false,//是否显示支付方式
showZhan: true showZhan: false,//占房时间
showBtnList: false,//是否下载、确认按钮
ShowTaxType: false, //显示税入税别
ShowRebateRatio: false, //显示返佣比列
ShowSupplier:false,//是否显示供应商
showCaozuoTime:false,//操作时间
colspanLength:6//跨行
} }
} }
}, },
......
...@@ -30,13 +30,13 @@ ...@@ -30,13 +30,13 @@
<td> <td>
公司团号 公司团号
</td> </td>
<td :colspan="5" style="text-align:left;"> <td colspan="4" style="text-align:left;">
<span style="padding-left:5px;">{{TCNUM}} ({{TCID}})</span> <span style="padding-left:5px;">{{TCNUM}} ({{TCID}})</span>
</td> </td>
<td> <td>
地接团号 地接团号
</td> </td>
<td :colspan="showHotelObj.ShowTaxType?6:4" style="text-align:left;"> <td :colspan="showHotelObj.colspanLength" style="text-align:left;">
<span style="padding-left:5px;">{{DMCNum}}</span> <span style="padding-left:5px;">{{DMCNum}}</span>
</td> </td>
</tr> </tr>
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
<th width="120" v-if="showHotelObj.showPay">付款方式<br/>返佣比例</th> <th width="120" v-if="showHotelObj.showPay">付款方式<br/>返佣比例</th>
<th width="130" v-if="showHotelObj.showZhan">占房时间</th> <th width="130" v-if="showHotelObj.showZhan">占房时间</th>
<th width="100" v-if="showHotelObj.showZhan">确认时间</th> <th width="100" v-if="showHotelObj.showZhan">确认时间</th>
<th width="100" v-if="showHotelObj.showZhan">供应商</th> <th width="100" v-if="showHotelObj.ShowSupplier">供应商</th>
<th width="70" v-if="showHotelObj.showPrice"> <th width="70" v-if="showHotelObj.showPrice">
日志 日志
</th> </th>
...@@ -121,7 +121,7 @@ ...@@ -121,7 +121,7 @@
<td v-if="showHotelObj.showZhan"> <td v-if="showHotelObj.showZhan">
{{hotelSubItem.SureTimeStr}} {{hotelSubItem.SureTimeStr}}
</td> </td>
<td v-if="showHotelObj.showZhan"> <td v-if="showHotelObj.ShowSupplier">
{{hotelSubItem.SupplierName}} {{hotelSubItem.SupplierName}}
</td> </td>
<td v-if="showHotelObj.showPrice"> <td v-if="showHotelObj.showPrice">
...@@ -136,8 +136,8 @@ ...@@ -136,8 +136,8 @@
</table> </table>
</div> </div>
<div> <div>
<table width="100%" class="comHotelOperation"> <table width="100%" class="comHotelOperation" v-if="showHotelObj.showCaozuoTime">
<template v-if="HotelObj&&HotelObj.length>0&&showHotelObj.showCaozuoTime"> <template v-if="HotelObj&&HotelObj.length>0">
<tr> <tr>
<td class="tdRight"> <td class="tdRight">
开团时间: 开团时间:
...@@ -174,15 +174,8 @@ ...@@ -174,15 +174,8 @@
<template v-if="showHotelObj.showBtnList"> <template v-if="showHotelObj.showBtnList">
<tr> <tr>
<td colspan="4" style="padding:10px 0;text-align:center;"> <td colspan="4" style="padding:10px 0;text-align:center;">
<input type="button" class="normalBtn" :value="HotelObj[0].ShouPeiStatus==0?'手配书(确定)':'手配书(暂定)'" <input type="button" class="normalBtn" :value="HotelObj[0].ShouPeiStatus==0?'手配书(确定)':'手配书(暂定)'" @click="subSetShouPeiShu(HotelObj[0].ShouPeiStatus)" />
v-if="showHotelObj.ShowShouPeiStatus" @click="subSetShouPeiShu(HotelObj[0].ShouPeiStatus)" /> <input type="button" class="normalBtn" value="下载" @click="DownLoadShouPeiShu()" />
<template v-if="showHotelObj.isFromTCList">
<input type="button" v-if="HotelObj[0].ShouPeiStatus==1" class="normalBtn" value="下载"
@click="DownLoadShouPeiShu()" />
</template>
<template v-else>
<input type="button" class="normalBtn" value="下载" @click="DownLoadShouPeiShu()" />
</template>
</td> </td>
</tr> </tr>
</template> </template>
......
...@@ -565,14 +565,15 @@ ...@@ -565,14 +565,15 @@
}, },
LeaderList: [], LeaderList: [],
showHotelObj: { showHotelObj: {
showPrice: true, showPrice: true,//是否显示价格
showPay: true, showPay: true,//是否显示支付方式
showZhan: true, showZhan: true,//占房时间
showBtnList: true, showBtnList: true,//是否下载、确认按钮
showCaozuoTime: true,
ShowShouPeiStatus: true, //显示手配置暂定确定按钮
ShowTaxType: true, //显示税入税别 ShowTaxType: true, //显示税入税别
ShowRebateRatio: true, //显示返佣比列 ShowRebateRatio: true, //显示返佣比列
ShowSupplier:true,//是否显示供应商
showCaozuoTime:true,//操作时间
colspanLength:6//跨行
}, },
pickerBeginDateBefore: { pickerBeginDateBefore: {
disabledDate: time => { disabledDate: time => {
......
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