<% var title = lang.query_flight; if(params.query.privateJourney == 'Y'){ title += "-" + lang.personal_list; } else if(params.query.privateJourney == 'N'){ title += "-" + lang.business_trip2; } %>

<%= title %>

<% var depCity = null,arrCity = null; isCn=(store.getLang()==='en-us')?false:true; depDate=isCn?(data.depDate +" "+data.depWeek):utils.enFormatDate(new Date(data.depDate)); arrDate=isCn?(data.retDate +" "+data.retWeek):utils.enFormatDate(new Date(data.retDate)); yeeUser = (appConfig&&appConfig.route&&appConfig.route ==3) ? true : false;//易行用户 //考虑国际城市选项问题 if(data && data.depInternational && !utils.ifEmpty(data.depIsAp)){ depCity = store.getAirportWithCode(data.depApt,data.depIsAp); }else{ depCity = store.getAirportWithCode(data.depApt); } if(data && data.arrInternational && !utils.ifEmpty(data.arrIsAp)){ arrCity = store.getAirportWithCode(data.arrApt,data.arrIsAp); }else{ arrCity = store.getAirportWithCode(data.arrApt); } %>
  • <%=lang.depAddr%>
    <%= (_.isEmpty(depCity)?'':(isCn?depCity.name:depCity.city)) %>
    <%=lang.arrAddr%>
    <%= (_.isEmpty(arrCity)?'':(isCn?arrCity.name:arrCity.city)) %>
  • <%=lang.depTime%>

    <%=depDate%>

    <%=lang.depTime%>

    <%=depDate%>

    <%=lang.retTime%>

    <%=arrDate%>

    <%if(!yeeUser && data.isNeedTime){%>
    <%=lang.deptTime%> <%if(data.isNeedTime){%> <%}else{%> <%=data.depTime %> <%}%>
    <%}%> <%if(!yeeUser && data.isNeedTime){%>
    <%=lang.arrtTime%> <%if(data.isNeedTime){%> <%}else{%> <%= data.retTime%> <%}%>
    <%}%> <%if(data.isAmex&&!_.isEmpty(data.CabinList) && !internationalFlag){%>
    <%=lang.selectCabin%>
    <%}%> <% //国际航班查询 if(internationalFlag){ var _wid = "width:100%;"; var _disp = "display:none;"; if(appConfig && appConfig.inCabinSelect == 'Y'){ _disp = "display:inherit;"; if(!appConfig.isShowDirect || appConfig.isShowDirect == '1'){ _wid = "width:49%;"; } } %>
    <%=lang.selectCabin%>
    <% if(!appConfig.isShowDirect || appConfig.isShowDirect == '1') {%> <% var sel = ""; var _nosel = 'selected="selected"'; if(directFlag){ sel = 'selected="selected"'; _nosel = ""; } %>
    <%= lang.direct_flight %>
    <% } %> <% } %>
  • <% var flag = true; var myInfo = store.getMyInfo(); /*if(params.isGroupBook){//判断是不是秘书型用户 if(params.selectedUserList.length == 1){//判断乘机人个数 if(myInfo.parId == params.selectedUserList[0].psgParId){//判断秘书型用户是否是给自己订 flag = true; } else { flag = false; } } else{ flag = false; } }*/ //if(utils.isServiceCodeNeed(store,26) && flag){//根据后台数据判断是否可更改成本中心 if(appConfig && appConfig.hasCostCenter == 'Y' && flag){//COZYGO-419 切换成本中心配置读取变更,从appConfig改为从UnifiedConfig读取 var show_cost = _.isEmpty(myInfo.ccInfo) ? "":(_.isEmpty(myInfo.ccInfo.costcenterinfName) ? "":myInfo.ccInfo.costcenterinfName); var show_policy = ""; var show_rule = ""; if(!_.isEmpty(params.review.ruleData)){ show_rule = params.review.ruleData.apvrulename; } if(!_.isEmpty(params.query.policyInfo)){ show_policy = params.query.policyInfo.name; } if(params.selectedUserList.length > 0 && params.selectedUserList[0].costcenterinfName){ show_cost = params.selectedUserList[0].costcenterinfName; } if(params.isGroupBook){//秘书型用户取值 show_rule = !_.isEmpty(params.review.ruleData) && !_.isEmpty(params.review.ruleData.apvrulename) ? params.review.ruleData.apvrulename : ''; show_policy = !_.isEmpty(params.query.policyInfo) && !_.isEmpty(params.query.policyInfo.name) ? params.query.policyInfo.name : ''; show_cost = !_.isEmpty(params.costcenterinfName) ? params.costcenterinfName : ''; } var show_class = isCn ? "width:70px;":"width:120px;"; %>
  • <%= lang.cost_center %>

    <%= show_cost %>

  • <% } %>
<% if(appConfig && appConfig.flightControls){//存在查询附加数据 %>
<% } %> <%if(false && !_.isEmpty(appConfig)&& !_.isEmpty(appConfig.privateJourney) && _.isEqual(appConfig.privateJourney,"Y")){%>
<%}%> <% //COZYGO-3356 国际预订查询单程航班时增加护照提示语 if(internationalFlag && isAmex){//data.isShowTip var lineHeith=lang.tencent_tip ==='Tip'?'line-height:15px':'line-height:30px'; %>

<%=lang.tencent_tip%>: <%=lang.amexIntSearchTip%>

<%}%>