Commit 8ef2444f authored by 黄奎's avatar 黄奎

1

parent 3657dccf
......@@ -1070,6 +1070,7 @@
}
}
this.apipost('dmcstatistics_get_GetHotelStaticsDetail_V2', msg, res => {
console.log("roomdataList",res.data);
if (res.data.resultCode == 1) {
this.IsOperation = res.data.data.IsOperation;
if (this.IsEditHotel == 0) {
......
......@@ -238,7 +238,8 @@
<li>
<span><em>{{ $t("scen.sc_cp") }}</em>
<!--台湾印象只能看自公司的 不能切换 HK 2023-10-26 添加-->
<el-select class="w150" v-model="msg.BranchId" filterable :disabled="CurrentUserInfo.RB_Branch_id==1220" :placeholder="$t('pub.pleaseSel')">
<el-select class="w150" v-model="msg.BranchId" filterable :disabled="CurrentUserInfo.RB_Branch_id==1220"
:placeholder="$t('pub.pleaseSel')">
<el-option v-for="item in companyList" :label="item.BName" :value="item.Id" :key="item.Id">
</el-option>
</el-select>
......@@ -290,10 +291,10 @@
<span><em>{{ $t("hotel.hotel_StarDate") }}</em>
<!-- <el-date-picker v-model="msg.StartTime" @change="dataDui()" class="w135" value-format="yyyy-MM-dd"
type="date"></el-date-picker> -->
<DateLimit :clearable="false" :StartGroupDate="msg.StartTime" :EndGroupDate="msg.EndTime" @change="(date)=> {msg.StartTime = date,dataDui()}"></DateLimit>
<DateLimit :clearable="false" :StartGroupDate="msg.StartTime" :EndGroupDate="msg.EndTime"
@change="(date)=> {msg.StartTime = date,dataDui()}"></DateLimit>
-
<el-date-picker v-model="msg.EndTime" @change="dataDui()" class="w135" value-format="yyyy-MM-dd"
type="date"
<el-date-picker v-model="msg.EndTime" @change="dataDui()" class="w135" value-format="yyyy-MM-dd" type="date"
:picker-options="pickerBeginDateAfter"></el-date-picker>
</span>
</li>
......@@ -638,9 +639,11 @@
Id: "",
BName: "",
};
obj.Id = x.Id.toString();
obj.BName = x.BName;
this.companyList.push(obj);
if (x.Id != 1248 && x.Id != 1255 && x.Id != 1256 && x.Id != 1256 && x.Id != 1258) {
obj.Id = x.Id.toString();
obj.BName = x.BName;
this.companyList.push(obj);
}
});
}
},
......
This diff is collapsed.
......@@ -297,7 +297,6 @@
},
created() {
this.getCompanyList();
//this.GetLineList();
this.initAirlines();
this.getCondition();
if (this.$route.query) {
......@@ -305,9 +304,17 @@
this.msg.AirticketId = this.$route.query.AirticketId;
}
}
let myDate = new Date();
myDate.setDate(myDate.getDate());
let nowDate =
myDate.getFullYear() +
"-" +
parseInt(myDate.getMonth() + 1) +
"-" +
myDate.getDate();
this.msg.QStartDate = nowDate;
},
mounted() {
this.userInfo = this.getLocalStorage();
this.getDataList();
}
......
......@@ -1107,7 +1107,7 @@
<span>{{ $t("Operation.Op_takeSeat") }}</span>
<i>{{ item.Occupied }}</i>{{ $t("Operation.Op_people") }}
</p>
<p>
<p>
<span>已收订</span>
<i>
<span class="TCL-greenType">{{ item.DJNum }}</span> {{ $t("Operation.Op_people") }}
......@@ -1173,42 +1173,84 @@
<div class="TC_SeatList" v-if="item.BindNum > 0" style="color: red">
{{ $t("Operation.Op_bindNum") }}: {{ item.BindNum }}
</div>
<el-popover placement="top-start" title="变更记录" width="260" trigger="hover">
<table>
<template v-for="(subItem,subIndex) in item.TicketList">
<template v-for="(changeItem,changeIndex) in subItem.SubList">
<template v-if="changeItem.ChangeModel&&changeItem.ChangeModel.ChangeValue!=0">
<tr>
<td>
{{changeItem.TCNUM}}({{changeItem.TCID}})
{{changeItem.ChangeModel.ChangeValue>0?'+':'-'}}
{{changeItem.ChangeModel.ChangeValue}}
</td>
</tr>
</template>
</template>
</template>
</table>
<div class="TC_SeatList" v-if="item.NoBindNum > 0"
style="color: blue;font-weight:bold;cursor:pointer;" slot="reference">
尚未绑定: {{ item.NoBindNum }}
</div>
</el-popover>
<div class="TC_SeatList" v-if="item.TicketNum > 0 && item.TicketList">
<el-popover width="700" trigger="click">
<table width="100%" class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
<tr>
<th width="145" style="text-align: center">
团号
<th width="185" style="text-align: center">
团号/{{ $t("Operation.Op_bindNum") }}
</th>
<th width="90" style="text-align: center">
{{ $t("Operation.Op_bindNum") }}
<th width="75" style="text-align: center">
总机位
</th>
<th width="90" style="text-align: center">
{{ $t("op.TicketNum") }}
</th>
<th width="70" style="text-align: center">
<th width="65" style="text-align: center">
{{ $t("Operation.Op_price") }}
</th>
<th width="80" style="text-align: center">
<th width="65" style="text-align: center">
{{ $t('Airticket.Air_TicketType') }}
</th>
<th width="80" style="text-align: center">
{{ $t('Airticket.Air_TicketDeadLine') }}
</th>
<th width="100" style="text-align: center">
<th width="80" style="text-align: center">
{{ $t("op.Tickets") }}
</th>
</tr>
<tbody v-for="(subItem, subIndex) in item.TicketList" :key="subIndex">
<tr>
<td style="text-align: center">
<a style="color:blue;text-decoration:underline;cursor:pointer;" @click="gotoTCList(subItem)">
{{ subItem.TCNUM }}<br/>
({{subItem.TCID}})
</a>
<template v-for="(thirdItem,thirdIndex) in subItem.SubList">
<br v-if="thirdIndex!=0" />
<span style="color:blue;text-decoration:underline;cursor:pointer;"
@click="gotoTCList(thirdItem)">
{{ thirdItem.TCNUM }}
({{thirdItem.TCID}})&nbsp;绑定:
{{ thirdItem.BindNum }}
</span>
</template>
</td>
<td style="text-align: center">{{ subItem.TicketNum }}
<template v-if="subItem.ChangeNum!=0">
<el-popover placement="top-start" title="变更记录" width="260" trigger="hover">
<table>
<template v-for="(changeItem,changeIndex) in subItem.SubList">
<template v-if="changeItem.ChangeModel&&changeItem.ChangeModel.ChangeValue!=0">
<tr>
<td>
{{changeItem.TCNUM}}({{changeItem.TCID}})
{{changeItem.ChangeModel.ChangeValue>0?'+':'-'}}
{{changeItem.ChangeModel.ChangeValue}}
</td>
</tr>
</template>
</template>
</table>
<font style="color:red;font-weight:bold;cursor:pointer;" slot="reference">
{{subItem.ChangeNum>0?'+':'-'}}{{subItem.ChangeNum}}</font>
</el-popover>
</template>
</td>
<td style="text-align: center">{{ subItem.BindNum }}</td>
<td style="text-align: center">{{ subItem.TicketNum }}</td>
<td style="text-align: center">{{ subItem.TicketPrice }}</td>
<td style="text-align: center">
<template v-if="subItem.TravelTicketType==1">
......@@ -1586,7 +1628,6 @@
</el-dropdown-item>
<el-dropdown-item @click.native="ckOPInfo(item)">{{ $t("objFill.v101.qianzopshez") }}
</el-dropdown-item>
<el-dropdown-item @click.native="CopyTripAndFeature(item, 1)">{{ $t("objFill.v101.fuzhixingc") }}
</el-dropdown-item>
<el-dropdown-item @click.native="CopyTripAndFeature(item, 2)">
......@@ -1681,6 +1722,15 @@
<template v-else-if="subItem.TravelTicketType==3">
<font style="color:red;"> {{$t('objFill.v101.lspiao')}}</font>
</template>
总机位:<font style="font-weight:bold;">{{subItem.TicketNum}}</font>
<template v-if="subItem.ChangeNum!=0">
<font style="font-weight:bold;">{{subItem.ChangeNum>0?'+':'-'}}{{subItem.ChangeNum}}={{item.TicketNum}}</font>
</template>
;
<template v-for="thirdItem in subItem.SubList">
{{thirdItem.TCNUM}}({{thirdItem.TCID}}) 绑定:<font style="font-weight:bold;color:blue;">
{{thirdItem.BindNum}}</font>,
</template>
{{subItem.TicketOpRemark}}
【{{subItem.TicketCreateByName}}】
</font>
......@@ -1688,7 +1738,6 @@
</div>
</div>
</div>
<div class="TC_remarkContent" v-if="item.BranchAuditState > 0">
<div class="clearfix TCL-redType">
<div class="TCL_remarkTitle" style="width: auto">
......@@ -2353,7 +2402,7 @@
},
},
methods: {
gotoTCList(item) {
gotoTCList(item) {
var path = "TravelControlList";
if (item.TeamType == 1) {
path = "TravelControlListSale";
......
......@@ -778,42 +778,84 @@
<div class="TC_SeatList">{{$t('Airticket.Air_EconomyClass')}}:{{item.YSeat}}</div>
<div class="TC_SeatList" v-if="item.BindNum>0" style="color:red;">{{$t('Operation.Op_bindNum')}}:
{{item.BindNum}}</div>
<div class="TC_SeatList" v-if="item.TicketNum>0 && item.TicketList">
<el-popover placement="top-start" title="变更记录" width="260" trigger="hover">
<table>
<template v-for="(subItem,subIndex) in item.TicketList">
<template v-for="(changeItem,changeIndex) in subItem.SubList">
<template v-if="changeItem.ChangeModel&&changeItem.ChangeModel.ChangeValue!=0">
<tr>
<td>
{{changeItem.TCNUM}}({{changeItem.TCID}})
{{changeItem.ChangeModel.ChangeValue>0?'+':'-'}}
{{changeItem.ChangeModel.ChangeValue}}
</td>
</tr>
</template>
</template>
</template>
</table>
<div class="TC_SeatList" v-if="item.NoBindNum > 0"
style="color: blue;font-weight:bold;cursor:pointer;" slot="reference">
尚未绑定: {{ item.NoBindNum }}
</div>
</el-popover>
<div class="TC_SeatList" v-if="item.TicketNum > 0 && item.TicketList">
<el-popover width="700" trigger="click">
<table width="100%" class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
<tr>
<th width="145" style="text-align: center">
团号
<th width="185" style="text-align: center">
团号/{{ $t("Operation.Op_bindNum") }}
</th>
<th width="90" style="text-align: center">
{{ $t("Operation.Op_bindNum") }}
<th width="75" style="text-align: center">
总机位
</th>
<th width="90" style="text-align: center">
{{ $t("op.TicketNum") }}
</th>
<th width="70" style="text-align: center">
<th width="65" style="text-align: center">
{{ $t("Operation.Op_price") }}
</th>
<th width="80" style="text-align: center">
<th width="65" style="text-align: center">
{{ $t('Airticket.Air_TicketType') }}
</th>
<th width="80" style="text-align: center">
{{ $t('Airticket.Air_TicketDeadLine') }}
</th>
<th width="100" style="text-align: center">
<th width="80" style="text-align: center">
{{ $t("op.Tickets") }}
</th>
</tr>
<tbody v-for="(subItem, subIndex) in item.TicketList" :key="subIndex">
<tr>
<td style="text-align: center">
<a style="color:blue;text-decoration:underline;cursor:pointer;" @click="gotoTCList(subItem)">
{{ subItem.TCNUM }}<br/>
({{subItem.TCID}})
</a>
<template v-for="(thirdItem,thirdIndex) in subItem.SubList">
<br v-if="thirdIndex!=0" />
<span style="color:blue;text-decoration:underline;cursor:pointer;"
@click="gotoTCList(thirdItem)">
{{ thirdItem.TCNUM }}
({{thirdItem.TCID}})&nbsp;绑定:
{{ thirdItem.BindNum }}
</span>
</template>
</td>
<td style="text-align: center">{{ subItem.TicketNum }}
<template v-if="subItem.ChangeNum!=0">
<el-popover placement="top-start" title="变更记录" width="260" trigger="hover">
<table>
<template v-for="(changeItem,changeIndex) in subItem.SubList">
<template v-if="changeItem.ChangeModel&&changeItem.ChangeModel.ChangeValue!=0">
<tr>
<td>
{{changeItem.TCNUM}}({{changeItem.TCID}})
{{changeItem.ChangeModel.ChangeValue>0?'+':'-'}}
{{changeItem.ChangeModel.ChangeValue}}
</td>
</tr>
</template>
</template>
</table>
<font style="color:red;font-weight:bold;cursor:pointer;" slot="reference">
{{subItem.ChangeNum>0?'+':'-'}}{{subItem.ChangeNum}}</font>
</el-popover>
</template>
</td>
<td style="text-align: center">{{ subItem.BindNum }}</td>
<td style="text-align: center">{{ subItem.TicketNum }}</td>
<td style="text-align: center">{{ subItem.TicketPrice }}</td>
<td style="text-align: center">
<template v-if="subItem.TravelTicketType==1">
......@@ -1183,6 +1225,15 @@
<template v-else-if="subItem.TravelTicketType==3">
<font style="color:red;"> {{$t('objFill.v101.lspiao')}}</font>
</template>
总机位:<font style="font-weight:bold;">{{subItem.TicketNum}}</font>
<template v-if="subItem.ChangeNum!=0">
<font style="font-weight:bold;">{{subItem.ChangeNum>0?'+':'-'}}{{subItem.ChangeNum}}={{item.TicketNum}}</font>
</template>
;
<template v-for="thirdItem in subItem.SubList">
{{thirdItem.TCNUM}}({{thirdItem.TCID}}) 绑定:<font style="font-weight:bold;color:blue;">
{{thirdItem.BindNum}}</font>,
</template>
{{subItem.TicketOpRemark}}
【{{subItem.TicketCreateByName}}】
</font>
......@@ -1690,7 +1741,7 @@
};
},
methods: {
gotoTCList(item) {
gotoTCList(item) {
var path = "TravelControlList";
if (item.TeamType == 1) {
path = "TravelControlListSale";
......@@ -2533,7 +2584,7 @@
SalePlat: ""
};
this.apipost("travel_post_SetPriceTCState", msg, res => {
if (res.data.resultCode == 1) {
if (res.data.resultCode == 1) {
this.Success(res.data.message);
this.getControlList();
this.queryCommonData.checkDialogAll = false;
......
......@@ -486,7 +486,7 @@
</p>
</div>
<div v-if="item.SalePlatList&&item.SalePlatList.length>0" style="margin-top:5px;">
<span class="TC_neibu" style="margin-right:5px;"
<span class="TC_neibu" style="margin-right:5px;"
:class="{TCneibu: plat == 3, TCb2b: plat == 1,TCb2c: plat == 2, AppPlat: plat == 4, otherPlat: plat == 5,}"
v-for="plat in item.SalePlatList" :key="plat.subCode">{{ $tripUtils.getPlatName(plat) }}</span>
</div>
......@@ -1001,8 +1001,42 @@
" slot="reference">{{ $t("Operation.Op_bentuanMaidian") }}</span>
</el-popover>
</template>
<p>{{ $t("Operation.Op_remark") }}:</p>
<p :title="item.OpRemark">{{ item.OpRemark }}</p>
<template v-if="item.TicketList&&item.TicketList.length>0">
<br/>
<p>票务备注:</p>
<p>
<template v-for="(subItem,subIndex) in item.TicketList">
<font :key="`p_`+subIndex">
<template v-if="subItem.TravelTicketType==1">
<font style="color:#47BF8C;"> {{$t('objFill.v101.tuanpiao')}}</font>
</template>
<template v-else-if="subItem.TravelTicketType==2">
<font style="color:blue;"> {{$t('objFill.v101.shanpiao')}}</font>
</template>
<template v-else-if="subItem.TravelTicketType==3">
<font style="color:red;"> {{$t('objFill.v101.lspiao')}}</font>
</template>
总机位:<font style="font-weight:bold;">{{subItem.TicketNum}}</font>
<template v-if="subItem.ChangeNum!=0">
<font style="font-weight:bold;">
{{subItem.ChangeNum>0?'+':'-'}}{{subItem.ChangeNum}}={{item.TicketNum}}</font>
</template>
;
<template v-for="thirdItem in subItem.SubList">
{{thirdItem.TCNUM}}({{thirdItem.TCID}}) 绑定:<font style="font-weight:bold;color:blue;">
{{thirdItem.BindNum}}</font>,
</template>
{{subItem.TicketOpRemark}}
【{{subItem.TicketCreateByName}}】
</font>
</template>
</p>
</template>
</div>
</li>
</ul>
......@@ -1143,7 +1177,7 @@
this.tripObj.cityId = obj.StartCityID;
this.tripObj.orderId = 0;
this.tripObj.lineID = obj.LineID;
this.tripObj.ltID = obj.ltID
this.tripObj.ltID = obj.ltID
this.travelControlTripLayerShow = true;
},
hideTripDown() {
......@@ -1203,7 +1237,7 @@
var that = this;
this.tripTitle = title;
this.$nextTick(() => {
that.$refs.comTeam.GetTrip(id, TCID,2);
that.$refs.comTeam.GetTrip(id, TCID, 2);
});
that.outerVisible = true;
},
......
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