Commit ae6d267e authored by 吴春's avatar 吴春

新增机票团号显示

parent 48f06aba
...@@ -1174,9 +1174,12 @@ ...@@ -1174,9 +1174,12 @@
{{ $t("Operation.Op_bindNum") }}: {{ item.BindNum }} {{ $t("Operation.Op_bindNum") }}: {{ item.BindNum }}
</div> </div>
<div class="TC_SeatList" v-if="item.TicketNum > 0 && item.TicketList"> <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"> <table width="100%" class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
<tr> <tr>
<th width="145" style="text-align: center">
团号
</th>
<th width="90" style="text-align: center"> <th width="90" style="text-align: center">
{{ $t("Operation.Op_bindNum") }} {{ $t("Operation.Op_bindNum") }}
</th> </th>
...@@ -1198,6 +1201,12 @@ ...@@ -1198,6 +1201,12 @@
</tr> </tr>
<tbody v-for="(subItem, subIndex) in item.TicketList" :key="subIndex"> <tbody v-for="(subItem, subIndex) in item.TicketList" :key="subIndex">
<tr> <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.BindNum }}</td>
<td style="text-align: center">{{ subItem.TicketNum }}</td> <td style="text-align: center">{{ subItem.TicketNum }}</td>
<td style="text-align: center">{{ subItem.TicketPrice }}</td> <td style="text-align: center">{{ subItem.TicketPrice }}</td>
...@@ -1218,7 +1227,7 @@ ...@@ -1218,7 +1227,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="6" style="text-align:left;"> <td colspan="7" style="text-align:left;">
对OP备注: {{subItem.TicketOpRemark}} 对OP备注: {{subItem.TicketOpRemark}}
</td> </td>
</tr> </tr>
...@@ -2344,6 +2353,27 @@ ...@@ -2344,6 +2353,27 @@
}, },
}, },
methods: { 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) { showTripDialog(item, type) {
this.priceObj = item; this.priceObj = item;
......
...@@ -779,9 +779,12 @@ ...@@ -779,9 +779,12 @@
<div class="TC_SeatList" v-if="item.BindNum>0" style="color:red;">{{$t('Operation.Op_bindNum')}}: <div class="TC_SeatList" v-if="item.BindNum>0" style="color:red;">{{$t('Operation.Op_bindNum')}}:
{{item.BindNum}}</div> {{item.BindNum}}</div>
<div class="TC_SeatList" v-if="item.TicketNum>0 && item.TicketList"> <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"> <table width="100%" class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
<tr> <tr>
<th width="145" style="text-align: center">
团号
</th>
<th width="90" style="text-align: center"> <th width="90" style="text-align: center">
{{ $t("Operation.Op_bindNum") }} {{ $t("Operation.Op_bindNum") }}
</th> </th>
...@@ -803,6 +806,12 @@ ...@@ -803,6 +806,12 @@
</tr> </tr>
<tbody v-for="(subItem, subIndex) in item.TicketList" :key="subIndex"> <tbody v-for="(subItem, subIndex) in item.TicketList" :key="subIndex">
<tr> <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.BindNum }}</td>
<td style="text-align: center">{{ subItem.TicketNum }}</td> <td style="text-align: center">{{ subItem.TicketNum }}</td>
<td style="text-align: center">{{ subItem.TicketPrice }}</td> <td style="text-align: center">{{ subItem.TicketPrice }}</td>
...@@ -823,15 +832,15 @@ ...@@ -823,15 +832,15 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="6" style="text-align:left;"> <td colspan="7" style="text-align:left;">
对OP备注: {{subItem.TicketOpRemark}} 对OP备注: {{subItem.TicketOpRemark}}
</td> </td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
<span slot="reference" :title="$t('objFill.dianjickxq')" class="price" <span slot="reference" :title="$t('objFill.dianjickxq')" class="price"
style="cursor:pointer;color:red;text-decoration: underline;">{{$t('op.FlightToNum')}}: style="cursor: pointer; color: red; text-decoration: underline">{{ $t("op.FlightToNum") }}:
{{item.TicketNum}}</span> {{ item.TicketNum }}</span>
</el-popover> </el-popover>
</div> </div>
<div class="TC_SeatList" v-if="CurrentUserInfo.RB_Group_id == 2"> <div class="TC_SeatList" v-if="CurrentUserInfo.RB_Group_id == 2">
...@@ -1681,6 +1690,27 @@ ...@@ -1681,6 +1690,27 @@
}; };
}, },
methods: { 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() { getTravelTeamList() {
this.apipost( 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