if(routeCounter.flights && routeCounter.flights.adult){ ?> var hascomboPro = false; var nowComboPro = App.comboPros[App.routes[rIndex].SegmentId]; $.each(nowComboPro, function(i, v){ if(v && route.Transport !=1 && route.Transport !=5){ if ((v.id == '50001' || v.id == '15') && v.data[0]){ hascomboPro = true; } else if (v.id != '50001' && v.id != '15'){ hascomboPro = true; } } }); ?> \"> = (seajs.data.vars.lang=='ja-jp' ? [LANG.flightTicketText, LANG.flightTicketText]:(/^1/.test(route.RouteType)?[LANG.GoRouteText, LANG.BackRouteText]:[LANG.FirstRouteText, LANG.SencondRouteText]))[rIndex] + (/^1/.test(route.RouteType) && seajs.data.vars.lang!='ja-jp' ? LANG.FlightText : '') ?> | if (seajs.data.vars.lang == 'ja-jp'){ ?> if(routeCounter.flights.adult) { ?> = App.apphelper.getCabinName(route,App) ?> } ?> if(routeCounter.flights.child && routeCounter.flights.child.number) { ?> = App.apphelper.getCabinName(route,App) ?> } ?> if(routeCounter.flights.infand && routeCounter.flights.infand.number) { ?> =LANG.INF ?> } ?> } else{ ?> = App.apphelper.getCabinName(route,App) ?> } ?> | if (seajs.data.vars.lang == 'ja-jp'){ ?> = LANG.Adult ?>(= App.formatMoney(routeCounter.flights.adult.price/routeCounter.flights.adult.number, undefined, 1) ?>)x= routeCounter.flights.adult.number ?> if (routeCounter.flights.child && routeCounter.flights.child.number){ ?> = LANG.Child ?>(= App.formatMoney(routeCounter.flights.child.price/routeCounter.flights.child.number, undefined, 1) ?>)x= routeCounter.flights.child.number ?> } ?> if (routeCounter.flights.infand && routeCounter.flights.infand.number){ ?> = LANG.Infant ?>(= App.formatMoney(routeCounter.flights.infand.price/routeCounter.flights.infand.number, undefined, 1) ?>)x= routeCounter.flights.infand.number ?> } ?> } else{ ?> = LANG.CartTotal ?> = routeCounter.flights.adult.number + (routeCounter.flights.child ? routeCounter.flights.child.number : 0) + (routeCounter.flights.infand ? routeCounter.flights.infand.number : 0) ?> = LANG.Pax ?> } ?> | if (seajs.data.vars.lang == 'ja-jp'){ ?> if(routeCounter.flights.adult) { ?> = App.formatMoney(routeCounter.flights.adult.price, undefined, 1) ?> } ?> if(routeCounter.flights.child && routeCounter.flights.child.number) { ?> = App.formatMoney(routeCounter.flights.child.price, undefined, 1) ?> } ?> if(routeCounter.flights.infand && routeCounter.flights.infand.number) { ?> = App.formatMoney(routeCounter.flights.infand.price, undefined, 1) ?> } ?> } else{ ?> = App.formatMoney(routeCounter.flights.adult.price + (routeCounter.flights.child ? routeCounter.flights.child.price : 0) + (routeCounter.flights.infand ? routeCounter.flights.infand.price : 0), undefined, 1) ?> } ?> | |
|
if (seajs.data.vars.lang == 'ja-jp'){ ?> if(routeCounter.flights.surcharge1 && (routeCounter.flights.surcharge1.adult.price||routeCounter.flights.surcharge1.child.price||routeCounter.flights.surcharge1.infant.price)){ ?> = LANG.Taxes ?> | $.each(routeCounter.flights.surcharge1, function(i, item) { if (item.price){ ?> = LANG.priceDetailContruction ?> } }) ?> | $.each(routeCounter.flights.surcharge1, function(i, item) { if (item.price){ ?> var type = i.substring(0, 1).toUpperCase()+i.substring(1);?> = LANG[type] ?>(= App.formatMoney(item.price/item.number, undefined, 1) ?>)x= item.number ?> } }) ?> | $.each(routeCounter.flights.surcharge1, function(i, item) { if (item.price){ ?> = App.formatMoney(item.price, undefined, 1) ?> } }) ?> | | |
} ?> if(routeCounter.flights.surcharge2 && (routeCounter.flights.surcharge2.adult.price||routeCounter.flights.surcharge2.child.price||routeCounter.flights.surcharge2.infant.price)){ ?> = LANG.Taxes ?> | $.each(routeCounter.flights.surcharge2, function(i, item) { if (item.price){ ?> = LANG.priceDetailFule ?> } }) ?> | $.each(routeCounter.flights.surcharge2, function(i, item) { if (item.price){ ?> var type = i.substring(0, 1).toUpperCase()+i.substring(1);?> = LANG[type] ?>(= App.formatMoney(item.price/item.number, undefined, 1) ?>)x= item.number ?> } }) ?> | $.each(routeCounter.flights.surcharge2, function(i, item) { if (item.price){ ?> = App.formatMoney(item.price, undefined, 1) ?> } }) ?> | | |
} ?> } else {?> if(routeCounter.flights.surcharge && routeCounter.flights.surcharge.price){ ?> = LANG.Taxes ?> | = LANG.Taxes2 ?> | = LANG.CartTotal ?> = routeCounter.flights.surcharge.number ?> = LANG.Pax ?> | = App.formatMoney(routeCounter.flights.surcharge.price, undefined, 1) ?> | | |
} ?> } ?> if (seajs.data.vars.lang == 'ja-jp'){ ?> if(routeCounter.flights.otherFeesJp && (routeCounter.flights.otherFeesJp.adult.price || routeCounter.flights.otherFeesJp.child.price || routeCounter.flights.otherFeesJp.infant.price || App.list.isShowTax)){ ?> = LANG.Taxes ?> | $.each(routeCounter.flights.otherFeesJp, function(i, item) { if (item.price){ ?> その他税金 if (item.details.length){ ?> $.each(item.details, function(dindex, ditem) { if (ditem.Fee){?> = ditem.Name ?>= App.formatMoney(ditem.Fee, undefined, 1) ?> } }) ?> } ?> } }) ?> | $.each(routeCounter.flights.otherFeesJp, function(i, item) { if (item.price){ ?> var type = i.substring(0, 1).toUpperCase()+i.substring(1);?> = LANG[type] ?>(= App.formatMoney(item.price/item.number, undefined, 1) ?>)x= item.number ?> } }) ?> | $.each(routeCounter.flights.otherFeesJp, function(i, item) { if (item.price){ ?> = App.formatMoney(item.price, undefined, 1) ?> } }) ?> | | |
} ?> } else{ ?> if(routeCounter.flights.otherFees && (routeCounter.flights.otherFees.price || App.list.isShowTax)){ ?> = LANG.Taxes ?> | = LANG.OtherTaxes ?> | = LANG.CartTotal ?> = routeCounter.flights.otherFees.number ?> = LANG.Pax ?> | = App.formatMoney(routeCounter.flights.otherFees.price, undefined, 1) ?> | | |
} ?> } ?> } ?> if(routeCounter.accident){ ?> = LANG.Insurance ?> | $.each(routeCounter.accident, function(i, v){ ?> = i ?> }); ?> | if(seajs.data.vars.lang!='ja-jp'){ ?> $.each(routeCounter.accident, function(i, v){ ?> = LANG.CartTotal ?> = v.number ?> = LANG.Pax ?> }); ?> } ?> | $.each(routeCounter.accident, function(i, v){ ?> = App.formatMoney(v.price, undefined, 1) ?> }); ?> | $.each(routeCounter.accident, function(i, v){ ?> \"> }); ?> | $.each(routeCounter.accident, function(i, v){ ?> }); ?> |
} ?> if(routeCounter.food){ ?> = LANG.Meals ?> | $.each(routeCounter.food, function(i, v){ ?> = i ?> }); ?> | $.each(routeCounter.food, function(i, v){ ?> = seajs.data.vars.lang=='ja-jp'?'':LANG.CartTotal ?> = v.number ?> = seajs.data.vars.lang=='ja-jp'?LANG.Pax4:LANG.Pax ?> }); ?> | $.each(routeCounter.food, function(i, v){ ?> = App.formatMoney(v.price, undefined, 1) ?> }); ?> | $.each(routeCounter.food, function(i, v){ ?> \"> }); ?> | $.each(routeCounter.food, function(i, v){ ?> }); ?> |
} ?> if(routeCounter.baggage){ ?> = LANG.Baggage ?> | $.each(routeCounter.baggage, function(i, v){ ?> = i ?> }); ?> | var totalBg = 0; $.each(routeCounter.baggage, function(i, v){ totalBg += v.Infos; }); ?> = seajs.data.vars.lang=='ja-jp'?'':LANG.CartTotal ?> = totalBg ?> kg | var totalPc = 0; $.each(routeCounter.baggage, function(i, v){ totalPc += v.price; }); ?> = App.formatMoney(totalPc, undefined, 1) ?> | | |
} ?> if(routeCounter.seat){ ?> = LANG.Seat ?> | = LANG.SeatNumber ?> | var totalSeat = []; $.each(routeCounter.seat, function(i, v){ totalSeat.push(v.SeatNo.join(',')) }); ?> = totalSeat.join(',') ?> | var totalPc = 0; $.each(routeCounter.seat, function(i, v){ totalPc += v.price; }); ?> = App.formatMoney(totalPc, undefined, 1) ?> | \"> | |
} ?> if(routeCounter.ticket){ ?> = LANG.Ticket || '旅行产品' ?> | $.each(routeCounter.ticket, function(i, v){ ?> = i ?> }); ?> | $.each(routeCounter.ticket, function(i, v){ ?> = LANG.CartTotal ?> = v.number ?> = LANG.Pax ?> }); ?> | $.each(routeCounter.ticket, function(i, v){ ?> = App.formatMoney(v.price, undefined, 1) ?> }); ?> | $.each(routeCounter.ticket, function(i, v){ ?> \"> }); ?> | $.each(routeCounter.ticket, function(i, v){ ?> }); ?> |
} ?> if(routeCounter.bus){ ?> = LANG.Bus || '用车' ?> | $.each(routeCounter.bus, function(i, v){ ?> = i ?> }); ?> | $.each(routeCounter.bus, function(i, v){ ?> = LANG.CartTotal ?> = v.number ?> = LANG.Pax ?> }); ?> | $.each(routeCounter.bus, function(i, v){ ?> = App.formatMoney(v.price, undefined, 1) ?> }); ?> | $.each(routeCounter.bus, function(i, v){ ?> \"> }); ?> | $.each(routeCounter.bus, function(i, v){ ?> }); ?> |
} ?> if(routeCounter.viproom){ ?> = LANG.VipRoom || '贵宾室' ?> | $.each(routeCounter.viproom, function(i, v){ ?> = i ?> }); ?> | $.each(routeCounter.viproom, function(i, v){ ?> = LANG.CartTotal ?> = v.number ?> = LANG.Pax ?> }); ?> | $.each(routeCounter.viproom, function(i, v){ ?> = App.formatMoney(v.price, undefined, 1) ?> }); ?> | $.each(routeCounter.viproom, function(i, v){ ?> \"> }); ?> | $.each(routeCounter.viproom, function(i, v){ ?> }); ?> |
} ?> if(routeCounter.itinerary){ ?> = LANG.Itinerary || '报销凭证' ?> | $.each(routeCounter.itinerary, function(i, v){ ?> = i ?> }); ?> | $.each(routeCounter.itinerary, function(i, v){ ?> = LANG.CartTotal ?> = v.number ?> = LANG.Pax ?> }); ?> | $.each(routeCounter.itinerary, function(i, v){ ?> = App.formatMoney(v.price, undefined, 1) ?> }); ?> | $.each(routeCounter.itinerary, function(i, v){ ?> \"> }); ?> | $.each(routeCounter.itinerary, function(i, v){ ?> }); ?> |
} ?> if(routeCounter.speedsecurity){ ?> = LANG.SpeedSecurity || '快速安检' ?> | $.each(routeCounter.speedsecurity, function(i, v){ ?> = i ?> }); ?> | $.each(routeCounter.speedsecurity, function(i, v){ ?> = LANG.CartTotal ?> = v.number ?> = LANG.Pax ?> }); ?> | $.each(routeCounter.speedsecurity, function(i, v){ ?> = App.formatMoney(v.price, undefined, 1) ?> }); ?> | $.each(routeCounter.speedsecurity, function(i, v){ ?> \"> }); ?> | $.each(routeCounter.speedsecurity, function(i, v){ ?> }); ?> |
} ?> if(routeCounter.hotel){ ?> = LANG.CoversTitle4 || '酒店' ?> | $.each(routeCounter.hotel, function(i, v){ ?> = i ?> }); ?> | $.each(routeCounter.hotel, function(i, v){ ?> = LANG.CartTotal ?> = v.number ?> = LANG.Pax ?> }); ?> | $.each(routeCounter.hotel, function(i, v){ ?> = App.formatMoney(v.price * v.number, undefined, 1) ?> }); ?> | $.each(routeCounter.hotel, function(i, v){ ?> }); ?> 退改政策 - if(App.cache.hotelData.HotelRule) { ?> = function(){ var $list = $(App.cache.hotelData.HotelRule), html = ''; $list.find('li').each(function(){ html += '
' +$(this).html() + ' '; }); if(html) html = '退改政策 ' + html; return html; }() ?> }else{ ?> 退改政策 任何取消 收取全额房费 暂不支持变更 } ?> | $.each(routeCounter.hotel, function(i, v){ ?> }); ?> |
} ?>