Commit 62e6458b authored by 黄奎's avatar 黄奎

11

parent 5ac0d233
......@@ -851,20 +851,37 @@
</el-popover>
</el-tooltip>
</p>
<p v-if="
(item.LineID == 14 || item.LineID == 118) &&
item.BusOrderList &&
item.BusOrderList.length > 0
<p v-if="(item.LineID == 14 || item.LineID == 118)
">
<el-popover width="980" trigger="click" popper-class="TC_HotelPop">
<commonBusInfo :busData="item.BusOrderList" :TCID="item.TCID" :DMCNum="item.DMCNum"
:TCNUM="item.TCNUM">
</commonBusInfo>
<div slot="reference">
<span class="price"
style="cursor: pointer; text-decoration: underline">{{ $t("objFill.v101.dingcheqk") }}</span>
</div>
</el-popover>
<template v-if=" item.BusOrderList &&
item.BusOrderList.length > 0">
<el-popover width="980" trigger="click" popper-class="TC_HotelPop">
<commonBusInfo :busData="item.BusOrderList" :TCID="item.TCID" :DMCNum="item.DMCNum"
:TCNUM="item.TCNUM">
</commonBusInfo>
<div slot="reference">
<span class="price" style="cursor: pointer; text-decoration: underline;color:blue;">
<template v-if="item.BusOrderList[0].BookType==1">
永乐预定
</template>
<template v-else-if="item.BusOrderList[0].BookType==2">
公社预定
</template>
<template v-else-if="item.BusOrderList[0].BookType==3">
自理
</template>
<template v-else>
{{ $t("objFill.v101.dingcheqk") }}
</template>
</span>
</div>
</el-popover>
</template>
<template v-else>
<span class="price" style="color:red;">
{{ $t("objFill.v101.dingcheqk") }}(未预定)
</span>
</template>
</p>
<p class="travelnowrap" v-if="
(item.LineID == 14 ||
......
......@@ -584,16 +584,37 @@
</el-popover>
</el-tooltip>
</p>
<p v-if="(item.LineID==14 || item.LineID==118 ) && item.BusOrderList && item.BusOrderList.length>0 ">
<el-popover width="980" trigger="click" popper-class="TC_HotelPop">
<commonBusInfo :busData="item.BusOrderList" :TCID="item.TCID" :DMCNum="item.DMCNum"
:TCNUM="item.TCNUM">
</commonBusInfo>
<div slot="reference">
<span class="price"
style="cursor:pointer;text-decoration:underline;">{{$t('objFill.v101.dingcheqk')}}</span>
</div>
</el-popover>
<p v-if="(item.LineID == 14 || item.LineID == 118)
">
<template v-if=" item.BusOrderList &&
item.BusOrderList.length > 0">
<el-popover width="980" trigger="click" popper-class="TC_HotelPop">
<commonBusInfo :busData="item.BusOrderList" :TCID="item.TCID" :DMCNum="item.DMCNum"
:TCNUM="item.TCNUM">
</commonBusInfo>
<div slot="reference">
<span class="price" style="cursor: pointer; text-decoration: underline;color:blue;">
<template v-if="item.BusOrderList[0].BookType==1">
永乐预定
</template>
<template v-else-if="item.BusOrderList[0].BookType==2">
公社预定
</template>
<template v-else-if="item.BusOrderList[0].BookType==3">
自理
</template>
<template v-else>
{{ $t("objFill.v101.dingcheqk") }}
</template>
</span>
</div>
</el-popover>
</template>
<template v-else>
<span class="price" style="color:red;">
{{ $t("objFill.v101.dingcheqk") }}(未预定)
</span>
</template>
</p>
<p class="travelnowrap"
v-if="(item.LineID==14 || item.LineID==90|| item.LineID==168||item.LineID==118) && item.IsOpenHotel==1">
......
......@@ -130,7 +130,15 @@
<template v-if="subItem.MainId>0">
<br />
<font style="color:red">
永乐预定
<template v-if="subItem.BookType==1">
永乐预定
</template>
<template v-else-if="subItem.BookType==2">
公社预定
</template>
<template v-else-if="subItem.BookType==3">
自理
</template>
</font>
<template v-if="subItem.CarName&&subItem.CarName!=''">
{{subItem.CarName}}({{subItem.CarNo}})
......
......@@ -26,6 +26,28 @@
<div>
<div>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="singeRowTable">
<tr>
<td>
预定方式:
</td>
<td style="color:red;text-align:left;" colspan="2">
<template v-if="busData[0].BookType==1">
永乐预定
</template>
<template v-else-if="busData[0].BookType==2">
公社预定
</template>
<template v-else-if="busData[0].BookType==3">
自理
</template>
</td>
<td>
司机住宿:
</td>
<td colspan="2" style="text-align:left;color:red">
{{busData[0].DriverRemark}}
</td>
</tr>
<tr>
<td>
{{$t('salesModule.CompanyNum')}}
......@@ -47,7 +69,7 @@
<td style="text-align:left;" colspan="2">
<span style="padding-left:5px;">
<template v-if="busData&&busData.length>0&&busData[0].CarName">
{{busData[0].CarName}}
{{busData[0].CarName}}({{busData[0].CarNo}})
</template>
</span>
</td>
......@@ -57,7 +79,7 @@
<td style="text-align:left;" colspan="2">
<span style="padding-left:5px;">
<template v-if="busData&&busData.length>0&&busData[0].DriverName">
{{busData[0].DriverName}}
{{busData[0].DriverName}}({{busData[0].CarNo}})
</template>
</span>
</td>
......@@ -65,9 +87,9 @@
<tr>
<th width="100">{{$t('pub.date')}}</th>
<th width="80">{{$t('objFill.yongcheleix')}}</th>
<th width="180" colspan="2">{{$t('Airticket.Air_Trip')}}</th>
<th width="180" colspan="3">{{$t('Airticket.Air_Trip')}}</th>
<th width="95">{{$t('admin.admin_czPerson')}}</th>
<th width="125">{{$t('admin.admin_status')}}</th>
<!-- <th width="125">{{$t('admin.admin_status')}}</th> -->
</tr>
<template v-for="(busItem,bIndex) in busData">
<tr v-for="(dItem,dIndex) in busItem.OrderDetailList" :key="bIndex+dIndex">
......@@ -77,20 +99,20 @@
<td style="padding-left:3px;">
{{dItem.UseTypeName}}
</td>
<td style="text-align:left;padding-left:3px;" colspan="2">
<td style="text-align:left;padding-left:3px;" colspan="3">
{{dItem.BusContent}}
</td>
<td style="padding-left:3px;">
{{dItem.UpdateName}}
</td>
<td>
<!-- <td>
<template v-if="dItem.UseState==0">
<a style="color:red">{{$t('salesModule.DJZK')}}</a>
</template>
<template v-else>
<a style="color:green">{{$t('salesModule.DJOK')}}<br />{{dItem.SureDate}}</a>
</template>
</td>
</td> -->
</tr>
</template>
</table>
......@@ -111,7 +133,8 @@
let qMsg = {
TCID: this.TCID
};
let fileName = this.$t('objFilll.shoupeishu')+"【" + this.DMCNum + "】" + this.$commonUtils.getCurrentDate() + ".xls";
let fileName = this.$t('objFilll.shoupeishu') + "【" + this.DMCNum + "】" + this.$commonUtils.getCurrentDate() +
".xls";
this.GetLocalFile("hotel_SPS_DownLoad", qMsg, fileName,
res => {
this.loading = false;
......@@ -120,7 +143,8 @@
//子组件调用父组件方法
subSetShouPeiShu(ShouPeiStatus) {
var that = this;
var str = this.$t('objFilll.shifoujspssz') + (ShouPeiStatus == 0 ? "【"+this.$t('pub.sureBtn') +"】" : "【"+this.$t('visa.v_zanding')+"】") + "?";
var str = this.$t('objFilll.shifoujspssz') + (ShouPeiStatus == 0 ? "【" + this.$t('pub.sureBtn') + "】" : "【" +
this.$t('visa.v_zanding') + "】") + "?";
this.Confirm(str, function () {
that.$emit('SetShouPeiShu');
});
......
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