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

页面点击修改

parent 081bad07
......@@ -723,7 +723,7 @@
<p v-if="item.LineID==14 && item.HotelOrderListReports && item.HotelOrderListReports.length>0 ">
<el-popover width="600" trigger="click" popper-class="PQ_HotelPop">
<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>
</p>
</div>
......@@ -2303,6 +2303,18 @@
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() {
this.userId = this.getLocalStorage().EmployeeId
......
......@@ -47,8 +47,10 @@
<th width="120">{{$t('salesModule.HotelStatus')}}</th>
<th width="120">{{$t('salesModule.OPstatus')}}</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="120" v-if="showHotelObj.showPay">{{$t('fnc.fkfangshi')}}<br/>{{$t('restaurant.res_commissionColumn')}}</th>
<th width="110" v-if="showHotelObj.showPrice">
{{$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="100" v-if="showHotelObj.showZhan">{{$t('salesModule.SureTime')}}</th>
<th width="100" v-if="showHotelObj.ShowSupplier">{{$t('hotel.hotel_Supplier')}}</th>
......@@ -73,12 +75,12 @@
{{hotelSubItem.HotelName!=hotelSubItem.NewHotelName?""+hotelSubItem.NewHotelName:""}}
</td>
<td>
<template v-if="hotelSubItem.OPState==1||hotelSubItem.DMCState==1">
<a style="color:green">{{$t('salesModule.BZRZ')}}</a>
</template>
<template v-if="hotelSubItem.OPState==1||hotelSubItem.DMCState==1">
<a style="color:green">{{$t('salesModule.BZRZ')}}</a>
</template>
</td>
<td>
<span v-if="hotelSubItem.HotelName!='温馨的家' &&hotelSubItem.HotelName!='机场附近酒店'">
<span v-if="hotelSubItem.HotelName!='温馨的家' &&hotelSubItem.HotelName!='机场附近酒店'">
<template v-if="hotelSubItem.OPState==1">
<a style="color:green">{{$t('salesModule.OPZD')}}</a>
</template>
......@@ -108,9 +110,9 @@
</a>
</td>
<td v-if="showHotelObj.showPay">
{{hotelSubItem.PayTypeStr}} <template v-if="hotelSubItem.TaxType==1">{{$t('pub.SR')}}</template>
{{hotelSubItem.PayTypeStr}} <template v-if="hotelSubItem.TaxType==1">{{$t('pub.SR')}}</template>
<template v-if="hotelSubItem.TaxType==2">{{$t('pub.SB')}}</template>
{{hotelSubItem.RebateRatio}}
{{hotelSubItem.RebateRatio}}
</td>
<td v-if="showHotelObj.showZhan" style="white-space:nowrap; ">
......@@ -163,7 +165,7 @@
<span v-else>{{$t('active.cl_zanwu')}}</span>
</td>
<td class="tdRight">
{{$t('salesModule.SPtime')}}
{{$t('salesModule.SPtime')}}
</td>
<td class="tdLeft">
<span v-if="HotelObj[0].ShouPeiStatusTimeStr">{{HotelObj[0].ShouPeiStatusTimeStr}}</span>
......@@ -174,8 +176,9 @@
<template v-if="showHotelObj.showBtnList">
<tr>
<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="下载" @click="DownLoadShouPeiShu()" />
<input type="button" class="normalBtn" :value="HotelObj[0].ShouPeiStatus==0?'手配书(确定)':'手配书(暂定)'"
@click="subSetShouPeiShu(HotelObj[0].ShouPeiStatus)" />
<input type="button" class="normalBtn" value="下载" @click="DownLoadShouPeiShu()" />
</td>
</tr>
</template>
......@@ -187,7 +190,7 @@
<script>
import commonHotelLog from "../commonPage/commonHotelLog.vue";
export default {
props: ["HotelObj", "showHotelObj", "TCID", "DMCNum", "TCNUM"],
props: ["HotelObj", "showHotelObj", "TCID", "DMCNum", "TCNUM", "LineteamId", "LineId"],
data() {
return {
loading: false,
......@@ -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>
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