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

合团门票显示问题

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