Commit ae6d267e authored by 吴春's avatar 吴春

新增机票团号显示

parent 48f06aba
......@@ -1174,9 +1174,12 @@
{{ $t("Operation.Op_bindNum") }}: {{ item.BindNum }}
</div>
<div class="TC_SeatList" v-if="item.TicketNum > 0 && item.TicketList">
<el-popover width="550" trigger="click">
<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>
<th width="90" style="text-align: center">
{{ $t("Operation.Op_bindNum") }}
</th>
......@@ -1198,6 +1201,12 @@
</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>
</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>
......@@ -1218,7 +1227,7 @@
</td>
</tr>
<tr>
<td colspan="6" style="text-align:left;">
<td colspan="7" style="text-align:left;">
对OP备注: {{subItem.TicketOpRemark}}
</td>
</tr>
......@@ -2344,6 +2353,27 @@
},
},
methods: {
gotoTCList(item) {
var path = "TravelControlList";
if (item.TeamType == 1) {
path = "TravelControlListSale";
} else if (item.TeamType == 2) {
path = "oneDayTrip";
} else if (item.TeamType == 4) {
path = "TravelTeam";
} else {
path = "TravelControlList";
}
this.$router.push({
name: path,
query: {
id: item.TCID,
tcmun: item.TCNUM,
blank: "y",
tab: "团控列表",
},
});
},
//显示合并团队弹窗
showTripDialog(item, type) {
this.priceObj = item;
......
......@@ -779,9 +779,12 @@
<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 width="550" trigger="click">
<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>
<th width="90" style="text-align: center">
{{ $t("Operation.Op_bindNum") }}
</th>
......@@ -803,6 +806,12 @@
</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>
</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>
......@@ -823,15 +832,15 @@
</td>
</tr>
<tr>
<td colspan="6" style="text-align:left;">
<td colspan="7" style="text-align:left;">
对OP备注: {{subItem.TicketOpRemark}}
</td>
</tr>
</tbody>
</table>
<span slot="reference" :title="$t('objFill.dianjickxq')" class="price"
style="cursor:pointer;color:red;text-decoration: underline;">{{$t('op.FlightToNum')}}:
{{item.TicketNum}}</span>
style="cursor: pointer; color: red; text-decoration: underline">{{ $t("op.FlightToNum") }}:
{{ item.TicketNum }}</span>
</el-popover>
</div>
<div class="TC_SeatList" v-if="CurrentUserInfo.RB_Group_id == 2">
......@@ -1681,6 +1690,27 @@
};
},
methods: {
gotoTCList(item) {
var path = "TravelControlList";
if (item.TeamType == 1) {
path = "TravelControlListSale";
} else if (item.TeamType == 2) {
path = "oneDayTrip";
} else if (item.TeamType == 4) {
path = "TravelTeam";
} else {
path = "TravelControlList";
}
this.$router.push({
name: path,
query: {
id: item.TCID,
tcmun: item.TCNUM,
blank: "y",
tab: "团控列表",
},
});
},
//团队类型
getTravelTeamList() {
this.apipost(
......
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