Commit 1fd87d6a authored by 黄奎's avatar 黄奎

页面点击修改

parent 081bad07
...@@ -723,7 +723,7 @@ ...@@ -723,7 +723,7 @@
<p v-if="item.LineID==14 && item.HotelOrderListReports && item.HotelOrderListReports.length>0 "> <p v-if="item.LineID==14 && item.HotelOrderListReports && item.HotelOrderListReports.length>0 ">
<el-popover width="600" trigger="click" popper-class="PQ_HotelPop"> <el-popover width="600" trigger="click" popper-class="PQ_HotelPop">
<commonHotelInfo :HotelObj="item.HotelOrderListReports" :showHotelObj="showHotelObj"></commonHotelInfo> <commonHotelInfo :HotelObj="item.HotelOrderListReports" :showHotelObj="showHotelObj"></commonHotelInfo>
<span slot="reference" class="price" style="cursor:pointer;text-decoration:underline;">{{$t('salesModule.HotelOrder')}}</span> <span slot="reference" class="price" style="cursor:pointer;text-decoration:underline;" @click="clickHotel(item.TCID,item.LineID,item.ltID)">{{$t('salesModule.HotelOrder')}}</span>
</el-popover> </el-popover>
</p> </p>
</div> </div>
...@@ -2303,6 +2303,18 @@ ...@@ -2303,6 +2303,18 @@
this.$forceUpdate(); this.$forceUpdate();
}) })
}, },
clickHotel(TCID,LineId,LineteamId)
{
var msg = {
TCID: TCID,
LineId: LineId,
LineteamId: LineteamId
};
this.apipost('b2b_post_SetHotelClickService', msg, res => {
if (res.data.resultCode == 1) {
}
}, err => {})
}
}, },
mounted() { mounted() {
this.userId = this.getLocalStorage().EmployeeId this.userId = this.getLocalStorage().EmployeeId
......
...@@ -47,8 +47,10 @@ ...@@ -47,8 +47,10 @@
<th width="120">{{$t('salesModule.HotelStatus')}}</th> <th width="120">{{$t('salesModule.HotelStatus')}}</th>
<th width="120">{{$t('salesModule.OPstatus')}}</th> <th width="120">{{$t('salesModule.OPstatus')}}</th>
<th width="120">{{$t('salesModule.DJstatus')}}</th> <th width="120">{{$t('salesModule.DJstatus')}}</th>
<th width="110" v-if="showHotelObj.showPrice">{{$t('restaurant.res_Number')}}<br />{{$t('Operation.Op_price')}}</th> <th width="110" v-if="showHotelObj.showPrice">
<th width="120" v-if="showHotelObj.showPay">{{$t('fnc.fkfangshi')}}<br/>{{$t('restaurant.res_commissionColumn')}}</th> {{$t('restaurant.res_Number')}}<br />{{$t('Operation.Op_price')}}</th>
<th width="120" v-if="showHotelObj.showPay">
{{$t('fnc.fkfangshi')}}<br />{{$t('restaurant.res_commissionColumn')}}</th>
<th width="130" v-if="showHotelObj.showZhan">{{$t('salesModule.UseRoomTime')}}</th> <th width="130" v-if="showHotelObj.showZhan">{{$t('salesModule.UseRoomTime')}}</th>
<th width="100" v-if="showHotelObj.showZhan">{{$t('salesModule.SureTime')}}</th> <th width="100" v-if="showHotelObj.showZhan">{{$t('salesModule.SureTime')}}</th>
<th width="100" v-if="showHotelObj.ShowSupplier">{{$t('hotel.hotel_Supplier')}}</th> <th width="100" v-if="showHotelObj.ShowSupplier">{{$t('hotel.hotel_Supplier')}}</th>
...@@ -174,7 +176,8 @@ ...@@ -174,7 +176,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?'手配书(确定)':'手配书(暂定)'" @click="subSetShouPeiShu(HotelObj[0].ShouPeiStatus)" /> <input type="button" class="normalBtn" :value="HotelObj[0].ShouPeiStatus==0?'手配书(确定)':'手配书(暂定)'"
@click="subSetShouPeiShu(HotelObj[0].ShouPeiStatus)" />
<input type="button" class="normalBtn" value="下载" @click="DownLoadShouPeiShu()" /> <input type="button" class="normalBtn" value="下载" @click="DownLoadShouPeiShu()" />
</td> </td>
</tr> </tr>
...@@ -187,7 +190,7 @@ ...@@ -187,7 +190,7 @@
<script> <script>
import commonHotelLog from "../commonPage/commonHotelLog.vue"; import commonHotelLog from "../commonPage/commonHotelLog.vue";
export default { export default {
props: ["HotelObj", "showHotelObj", "TCID", "DMCNum", "TCNUM"], props: ["HotelObj", "showHotelObj", "TCID", "DMCNum", "TCNUM", "LineteamId", "LineId"],
data() { data() {
return { return {
loading: false, loading: false,
...@@ -223,7 +226,25 @@ ...@@ -223,7 +226,25 @@
}); });
} }
}, },
mounted() {} mounted() {
},
created() {
if (this.showHotelObj && this.showHotelObj.IsClickHotel) {
var msg = {
TCID: this.TCID,
LineId: this.LineId,
LineteamId: this.LineteamId
};
console.log("msg", msg);
this.apipost('b2b_post_SetHotelClickService', msg, res => {
console.log("res",res);
if (res.data.resultCode == 1) {
}
}, err => {})
}
}
}; };
</script> </script>
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