Commit d2f2cf4c authored by 华国豪's avatar 华国豪 🙄

合团门票显示问题

parent 9832dcdf
...@@ -197,7 +197,7 @@ input[type="number"] { ...@@ -197,7 +197,7 @@ input[type="number"] {
<template v-for="(subItem,subIndex) in item.data"> <template v-for="(subItem,subIndex) in item.data">
<tr v-for="(childItem,childIndex) in subItem.TicketPriceList"> <tr v-for="(childItem,childIndex) in subItem.TicketPriceList">
<td v-if="childIndex==0" :rowspan="subItem.TicketPriceList.length">{{item.UseTimeStr}}</td> <td v-if="childIndex==0" :rowspan="subItem.TicketPriceList.length">{{item.UseTimeStr}}</td>
<td v-if="childIndex==0" :rowspan="subItem.TicketPriceList.length"> <td v-if="childIndex==0 && subIndex == 0" :rowspan="item.row">
{{subItem.ScenicName}} {{subItem.ScenicName}}
</td> </td>
<td> <td>
...@@ -224,7 +224,7 @@ input[type="number"] { ...@@ -224,7 +224,7 @@ input[type="number"] {
<td v-if="childIndex==0" :rowspan="subItem.TicketPriceList.length"> <td v-if="childIndex==0" :rowspan="subItem.TicketPriceList.length">
{{scenicTotalPrice(subItem, subItem.TicketPriceList)}} {{scenicTotalPrice(subItem, subItem.TicketPriceList)}}
</td> </td>
<td v-if="childIndex==0" :rowspan="subItem.TicketPriceList.length"> <td v-if="childIndex==0 && subIndex == 0" :rowspan="item.row">
{{subItem.TradingTotalPrice}} {{subItem.TradingTotalPrice}}
</td> </td>
...@@ -1579,13 +1579,20 @@ export default { ...@@ -1579,13 +1579,20 @@ export default {
}else{ }else{
for(var j = 0; j < Scenicdest.length; j++){ for(var j = 0; j < Scenicdest.length; j++){
var dj = Scenicdest[j]; var dj = Scenicdest[j];
if(dj.UseTimeStr == ai.UseTimeStr){ if(dj.UseTimeStr == ai.UseTimeStr && dj.TicketID == ai.TicketID){
dj.data.push(ai); dj.data.push(ai);
break; break;
} }
} }
} }
} }
for(var i = 0; i < Scenicdest.length; i++){
let row = 0;
for(var l = 0; l < Scenicdest[i].data.length; l++){
row = row + Scenicdest[i].data[l].TicketPriceList.length
}
Scenicdest[i].row = row
}
this.ScenicDataList = Scenicdest this.ScenicDataList = Scenicdest
//酒 //酒
let HotelList = [] let HotelList = []
......
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