<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<meta name="Robots" content="none"/>
<meta http-equiv="Expires" content="0"/>
<meta http-equiv="Cache-Control" content="no-cache"/>
<meta http-equiv="pragma" content="no-cache"/>
<title>车票预订</title>
<link href="/otsweb/css/style.css" rel="stylesheet" type="text/css"/>
<link href="/otsweb/css/newsty.css" rel="stylesheet" type="text/css"/>
<link href="/otsweb/css/contact.css" rel="stylesheet" type="text/css"/>
<link href="/otsweb/css/validation.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="/otsweb/css/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/otsweb/css/suggest.css"/>
<link href="/otsweb/css/cupertino/jquery-ui-1.8.2.custom.css" rel="stylesheet" type="text/css" />
<link href="/otsweb/css/ots_common.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="http://www.12306.cn/mormhweb/images/favicon.ico"/>
<script type="text/javascript" src="/otsweb/js/common/iepngfix_tilebg.js?version=5.68"></script>
<script src="/otsweb/js/common/jquery-1.4.2.min.js?version=5.68" type="text/javascript"></script>
<script src="/otsweb/js/common/autoHeight.js?version=5.68" type="text/javascript"></script>
<script src="/otsweb/js/common/jquery.bgiframe.min.js?version=5.68" type="text/javascript"></script>
<script src="/otsweb/js/common/jquery.easyui.min.js?version=5.68" type="text/javascript"></script>
<script src="/otsweb/js/common/jquery.form.js?version=5.68" type="text/javascript"></script>
<script src="/otsweb/js/common/datepicker/WdatePicker.js?version=5.68" type="text/javascript"></script>
<script src="/otsweb/js/common/j.suggest.js?version=5.68" type="text/javascript"></script>
<script src="/otsweb/js/common/school_display1.js?version=5.68" type="text/javascript"></script>
<script src="/otsweb/js/common/school_suggest1.js?version=5.68" type="text/javascript"></script>
<script src="/otsweb/js/common/city_name_suggest.js?version=5.68" type="text/javascript"></script>
<script src="/otsweb/js/common/trainCodeSuggest.js?version=5.68" type="text/javascript"></script>
<script src="/otsweb/js/common/date.js?version=5.68" type="text/javascript"></script>
<script src="/otsweb/js/common/sidetag.js?version=5.68" type="text/javascript"></script>
<script>
$(document).ready(function(){
if(parent.notLogin==undefined) {
parent.location='/otsweb' + '/main.jsp';
return;
}
var isHide = "";
if (isHide == "true") {
if(parent.hideMenu){
//parent.hideMenu();
}
} else {
if(parent.showMenu){
parent.showMenu();
}
}
var clicktitle = '车票预订';
if(parent.clickMenu&&clicktitle!==''){
parent.clickMenu('车票预订');
}
var isLogin= true
var u_name = '王威';
if (isLogin) {
parent.hasLogin(u_name);
}else{
parent.notLogin();
}
});
</script>
</head>
<body>
<script type="text/javascript"
src="/otsweb/js/common/jquery.validate.min.js?version=5.68"></script>
<script type="text/javascript"
src="/otsweb/js/common/formCheck.js?version=5.68" charset="UTF-8"></script>
<script
src="/otsweb/js/order/constants_passenger_info.js?version=5.68"
type="text/javascript"></script>
<script src="/otsweb/js/order/query_passenger.js?version=5.68"
type="text/javascript"></script>
<script src="/otsweb/js/order/orderQueue.js?version=5.68"
type="text/javascript"></script>
<script src="/otsweb/js/order/save_passenger_info.js?version=5.68"
type="text/javascript"></script>
<script type="text/javascript">
var studentTicketStartDate = "06-01 00:00:00&12-01 00:00:00&01-01 00:00:00";
var studentTicketEndDate = "09-30 00:00:00&12-31 00:00:00&03-31 00:00:00";
var _clickBuyStudentTicket = "";
var queueOrderTime = '';
var win_pop;
var ctx = '/otsweb';
var isAsync = '1';
//重新选择
function cancelToQuery() {
var form = document.getElementById("confirmPassenger");
form.action = "querySingleAction.do?method=init";
form.submit();
}
//确认是否重新选择
function confirmSelect(formId) {
if (confirm("重新选择将取消您的订单,是否继续?")) {
if ($("#" + formId).valid()) {
$(":button").attr("disabled", true);
$(":button").addClass("long_button_x");
}
cancelToQuery();
} else {
return false;
}
}
$(document).ready(function() {
//加载数据提示等待
$("#showPassengerFilter").html("<div>常用联系人加载中,请稍候... <div>");
loadDataAjax();
});
function loadDataAjax() {
var passengerJson = "";
var ticketTypeReserveFlags = [{"epayFlag":true,"ticket_type_code":"1"},{"epayFlag":true,"ticket_type_code":"2"},{"epayFlag":false,"ticket_type_code":"3"},{"epayFlag":false,"ticket_type_code":"4"}];
var limitBuySeatTicketDTO = {"seat_type_codes":[{"end_station_name":"","end_time":"","id":"M","start_station_name":"","start_time":"","value":"一等座"},{"end_station_name":"","end_time":"","id":"O","start_station_name":"","start_time":"","value":"二等座"},{"end_station_name":"","end_time":"","id":"P","start_station_name":"","start_time":"","value":"特等座"}],"ticket_seat_codeMap":{"3":[{"end_station_name":"","end_time":"","id":"O","start_station_name":"","start_time":"","value":"二等座"}],"2":[{"end_station_name":"","end_time":"","id":"M","start_station_name":"","start_time":"","value":"一等座"},{"end_station_name":"","end_time":"","id":"O","start_station_name":"","start_time":"","value":"二等座"},{"end_station_name":"","end_time":"","id":"P","start_station_name":"","start_time":"","value":"特等座"}],"1":[{"end_station_name":"","end_time":"","id":"M","start_station_name":"","start_time":"","value":"一等座"},{"end_station_name":"","end_time":"","id":"O","start_station_name":"","start_time":"","value":"二等座"},{"end_station_name":"","end_time":"","id":"P","start_station_name":"","start_time":"","value":"特等座"}],"4":[{"end_station_name":"","end_time":"","id":"M","start_station_name":"","start_time":"","value":"一等座"},{"end_station_name":"","end_time":"","id":"O","start_station_name":"","start_time":"","value":"二等座"},{"end_station_name":"","end_time":"","id":"P","start_station_name":"","start_time":"","value":"特等座"}]},"ticket_type_codes":[{"end_station_name":"","end_time":"","id":"1","start_station_name":"","start_time":"","value":"成人票"},{"end_station_name":"","end_time":"","id":"2","start_station_name":"","start_time":"","value":"儿童票"},{"end_station_name":"","end_time":"","id":"3","start_station_name":"","start_time":"","value":"学生票"},{"end_station_name":"","end_time":"","id":"4","start_station_name":"","start_time":"","value":"残军票"}]};
var ticketTypeReserveFlagMap = {};
$
.ajax({
url : ctx
+ '/order/confirmPassengerAction.do?method=getpassengerJson',
type : "POST",
dataType : "json",
success : function(data) {
passengerJson = data.passengerJson;
if (passengerJson == null || passengerJson == undefined
|| passengerJson == "") {
$("#showPassengerFilter").html("未查找到常用联系人");
} else {
setIframeHight(parent.document
.getElementById("main"),
passengerJson.length);
$
.each(
ticketTypeReserveFlags,
function(index, item) {
ticketTypeReserveFlagMap[item.ticket_type_code] = item.epayFlag;
});
$("#passenger_filter_input").query_passenger(
passengerJson, 'showPassengerFilt
- 1
- 2
前往页