<%=lang.airLineInfo%>

<% var isCn = store.getLang()=='en-us' ? false : true; //运通先不显示,运通点选择该行程后才会有对应reasonCode if(!isAmex && (flightInfo.contrary == 'true' || flightInfo.contrary == true)){//违背差旅政策提示COZYGO-1700 added by zjf 2015-7-22 if(!utils.ifArrEmpty(flightInfo.contraryPolicyInfoList)){ var showContraryReson = ""; if(isCn){//中文显示具体原因 showContraryReson = lang.cross_policy_content + ":"; for(var i in flightInfo.contraryPolicyInfoList){//循环遍历违背政策原因列表 var item = flightInfo.contraryPolicyInfoList[i]; if(!utils.ifEmpty(item.reasonDesc)){//COZYGO-1150 if (i == 0) { showContraryReson += item.reasonDesc; } else { showContraryReson += "/" + item.reasonDesc; } } else if(!utils.ifEmpty(item.reasonCode)){ if(i == 0){ showContraryReson += lang.reasonList[item.reasonCode]; }else { showContraryReson += "/" + lang.reasonList[item.reasonCode]; } } } } else {//COZYGO-3536 showContraryReson = "Your journey is out of policy"; } %>
<%= showContraryReson %>
<% } } for(var j = 0;j < params.query.journeyType;j ++){ var flightObject = (j == 0 ? flightInfo.depINOD : flightInfo.arrINOD); for(var i in flightObject.inSegList){ var _top_margin = ''; if(j == 1 && i == 0){ _top_margin = "margin-top:20px;"; } var ii = j + "" + i; var segInfo = flightObject.inSegList[i]; var depDate = segInfo.depDate.substring(5,10); var tdepDate = new Date(segInfo.depDate.replace(/-/g,'/'));//将日历格式转化成yyyy/mm/dd var showDepDate = depDate + lang.short_week[tdepDate.getDay()]; var arrDate = segInfo.arrDate.substring(5,10); var tarrDate = new Date(segInfo.arrDate.replace(/-/g,'/'));//将日历格式转化成yyyy/mm/dd var showArrDate = arrDate + lang.short_week[tarrDate.getDay()]; var showFlightTime = utils.ifEmpty(segInfo.flightTime) ? "" : segInfo.flightTime.replace(/:/g,lang.flyHour) + lang.flyMin; var showFlight = lang.airline_list[segInfo.marketingAirline] + " " + segInfo.marketingAirline + segInfo.flightNumber; var _depCity = sgClient.getAirport(segInfo.depApt).city; var _depName = sgClient.getAirport(segInfo.depApt).name; if(utils.ifEmpty(_depCity)){ _depCity = segInfo.depApt; _depName = segInfo.depApt; } var _arrCity = sgClient.getAirport(segInfo.arrApt).city; var _arrName = sgClient.getAirport(segInfo.arrApt).name; if(utils.ifEmpty(_arrCity)){ _arrCity = segInfo.arrApt; _arrName = segInfo.arrApt; } %>

<%= _depCity %>

<%= _depName + (utils.ifEmpty(segInfo.depTerm) ? '' : segInfo.depTerm)%>

<%= segInfo.depTime %>

<%= showDepDate %>

<% var time_class = "f_int_flight_time"; if(params.query.journeyType == 2){//往返程才显示 if(j == 0 && i == 0){//去程 time_class = "f_int_flight_uptime"; %> <%= lang.int_goway %> <% } if(j == 1 && i == 0){//返程 time_class = "f_int_flight_uptime"; %> <%= lang.int_backway %> <% } } %>

<%= showFlightTime %>

<%= _arrCity %>

<%= _arrName + (utils.ifEmpty(segInfo.arrTerm) ? '' : segInfo.arrTerm)%>

<%= segInfo.arrTime %>

<%= showArrDate %>

<% //flightCabin有值,显示flightCabin对应值,没有则判断cabinType是否有值,有显示cabinType值,没有直接显示cabinCode值 changed 2015-6-17 COZYGO-1388 var basicCabin = utils.ifEmpty(segInfo.flightCabin) ? (utils.ifEmpty(segInfo.cabinType) ? "" : segInfo.cabinType) : segInfo.flightCabin; //var showCabin = utils.ifEmpty(basicCabin) ? segInfo.cabinCode + lang.int_cabin : segInfo.cabinCode + lang.cabinIntType[basicCabin.toLocaleUpperCase()]; var showCabin = "";//changed by zjf 2016-3-9 COZYGO-2946 if(utils.ifEmpty(basicCabin)){//cabinType无值直接显示J舱 showCabin = segInfo.cabinCode + lang.int_cabin; var _data = { "airCode":"",//航空公司两字码 "depApt":segInfo.depApt,//起飞机场 "arrApt":segInfo.arrApt,//到达机场 "depDate":segInfo.depDate + " " + segInfo.depTime,//起飞时间 "flightNo":segInfo.marketingAirline + segInfo.flightNumber,//航班号 "cabinCode":segInfo.cabinCode//舱位编码 }; sgClient.logIntUndefined(_data);//COZYGO-2962 国际预订增加undefine的内部报错 } else {//cabinType有值 var _langCabin = lang.cabinIntType[basicCabin.toLocaleUpperCase()];//语言匹配 if(utils.ifEmpty(_langCabin)){//cabinType有值没有匹配到,中文显示J舱,英文显示J返回值 showCabin = isCn ? segInfo.cabinCode + lang.int_cabin : segInfo.cabinCode + basicCabin; var _data = { "airCode":"",//航空公司两字码 "depApt":segInfo.depApt,//起飞机场 "arrApt":segInfo.arrApt,//到达机场 "depDate":segInfo.depDate + " " + segInfo.depTime,//起飞时间 "flightNo":segInfo.marketingAirline + segInfo.flightNumber,//航班号 "cabinCode":segInfo.cabinCode + " " + segInfo.cabinType//舱位编码 }; sgClient.logIntUndefined(_data);//COZYGO-2962 国际预订增加undefine的内部报错 } else{ showCabin = segInfo.cabinCode + _langCabin; } } if(utils.ifEmpty(flightInfo.totalAmount)){//没有价格详情显示 %>
<% if(!utils.ifEmpty(segInfo.recSegMsg)){//无价格时显示对应信息 %>
<% } %>
<% } else {//有价格显示 %>
<%= lang.int_check_flight %> ∨
<% }//end 有价格显示 %> <% if(i < flightObject.inSegList.length -1){ var _city = sgClient.getAirport(flightObject.trans).city; if(utils.ifEmpty(_city)){ _city = flightObject.trans; } var showTransAddress = lang.int_connect_in + ":" + _city; //var showTransTime = lang.int_layove + ":" + flightObject.transferTime.replace(/:/g,lang.flyHour) + lang.flyMin; //2.4.6之后切换到search one 之后可能有多个中转地,中转时间取值变更为取transferTimeList列表 changed by zjf 2015-11-23 COZYGO-2448 var showTransTime = lang.int_layove + ":" + flightObject.transferTimeList[i].replace(/:/g,lang.flyHour) + lang.flyMin; %>
<%= showTransTime %>
<% } %>
<% } }//end for journeyType if(!utils.ifEmpty(flightInfo.totalAmount)){//没有价格不显示退改签行李政策栏 %>

<%= lang.int_refund_alter_fees %>

<% } %>
<%= (params.query.journeyType == 1 ? lang.int_total_time : lang.int_go_total_time) %>: <%= totalDepFlightTime %>
"> <%= lang.int_back_total_time %>: <%= totalRetFlightTime %>
<% if(!utils.ifEmpty(attentionStr)){ %>

<%= lang.int_attention %>:

<%= attentionStr %>
<% } %>
<% if(!utils.ifEmpty(flightInfo.totalAmount)){//没有价格不显示底部栏 %> <% } %>