You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

352 lines
22 KiB

  1. <!DOCTYPE html>
  2. <html class="no-js" lang="">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>订单列表</title>
  6. <link rel="stylesheet" type="text/css" href="./css/ace.min.css" />
  7. <link rel="stylesheet" type="text/css" href="./css/bootstrap/bootstrap.min.css" />
  8. <link rel="stylesheet" type="text/css" href="./css/bootstrap-timepicker.css" />
  9. <link rel="stylesheet" type="text/css" href="./css/font-awesome.min.css" />
  10. <link rel="stylesheet" type="text/css" href="./css/daterangepicker.css" />
  11. <link rel="stylesheet" type="text/css" href="./css/datepicker.css" />
  12. <link rel="stylesheet" type="text/css" href="./css/master.css">
  13. <link rel="stylesheet" type="text/css" href="./css/Page.css">
  14. <script type="text/javascript" src="./js/jquery-1.11.3.min.js"></script>
  15. <script type="text/javascript" src="./js/jquery-1.4.4.min.js"></script>
  16. <script type="text/javascript" src="./js/jquery-2.2.4.min.js"></script>
  17. <script type="text/javascript" src="./js/order_list_zzgl.js"></script>
  18. <!--<script type="text/javascript" src="./js/master.js"></script>-->
  19. <script type="text/javascript" src="./js/date-time/bootstrap-datepicker.min.js"></script>
  20. <script type="text/javascript" src="./js/date-time/bootstrap-timepicker.min.js"></script>
  21. <script language="javascript" src="./js/jquery.jqprint-0.3.js"></script>
  22. <script type="text/javascript" src="./js/Page2.js"></script>
  23. <script src="js/Page.js" type="text/javascript"></script>
  24. <script src="js/jquery.cookie.js"></script>
  25. <script src="js/base_path.js" type="text/javascript" charset="utf-8"></script>
  26. <!--<script src="js/xm.js"></script>-->
  27. <!--<script>-->
  28. <!--login();-->
  29. <!--</script>-->
  30. </head>
  31. <style type="text/css">
  32. sup {
  33. top: -1.5em;
  34. left: 1.5em;
  35. }
  36. .addbackground{
  37. background-color: #666!important;
  38. }
  39. </style>
  40. <body style="font-size: 12px;" style="margin-bottom: 0px;">
  41. <!--<div class="navbar navbar-default">
  42. <div class="navbar-header ">
  43. <a href="#" class="navbar-brand">
  44. <i class="icon-leaf"></i>
  45. CS System<sub style="font-size:12px;position: initial;">&nbsp;<span id="version_txt"></span></sub>
  46. </a>
  47. </div>
  48. </div>-->
  49. <!--<div class="warp clearfix">-->
  50. <!--<div class="control-bar"> </div>-->
  51. <!--<div class="control-show" style="float: left;">-->
  52. <div id="">
  53. <!--
  54. 作者:刘兵
  55. 时间:2016-06-03
  56. 描述:add start
  57. -->
  58. <div class="page-content" style="width: 1225px; margin-left: 40px; margin-top: 30px;">
  59. <div class="row">
  60. <form class="form-horizontal" role="form">
  61. <div class="form-group">
  62. <label class="col-sm-1 control-label no-padding-right" style="width: auto; font-size: 12px; margin-top:2px;">时间范围:</label>
  63. <div class="col-sm-1" style="width: auto;">
  64. <select id="timelimit" style="width: 90px;">
  65. <option value="下单时间" selected="selected" style="font-size: 12px;">下单时间</option>
  66. <option value="出发时间" style="font-size: 12px;">出发时间</option>
  67. </select>
  68. </div>
  69. <div class="col-sm-1" style="width: 12%;padding-right: 3px;">
  70. <div class="input-group">
  71. <input id="starttime" class="form-control date-picker" data-date-format="yyyy-mm-dd" type="text" placeholder="开始日期" style="font-size: 12px; height:30px;">
  72. <span class="input-group-addon">
  73. <i class="icon-calendar bigger-110"></i>
  74. </span>
  75. </div>
  76. </div>
  77. <!--
  78. <div class="col-sm-1" style="width: 12%;padding-left: 3px; padding-right: 1px;">
  79. <div class="input-group bootstrap-timepicker">
  80. <input id="timepicker1" type="text" class="form-control" style="font-size: 12px;"/>
  81. <span class="input-group-addon">
  82. <i class="icon-time bigger-110"></i>
  83. </span>
  84. </div>
  85. </div>
  86. -->
  87. <label class="col-sm-1 control-label no-padding-right" style="width: auto; font-size: 12px;">-</label>
  88. <div class="col-sm-1" style="width: 12%;padding-right: 3px;">
  89. <div class="input-group">
  90. <input id="endtime" class="form-control date-picker" data-date-format="yyyy-mm-dd" type="text" placeholder="截至日期" style="font-size: 12px; height:30px;">
  91. <span class="input-group-addon">
  92. <i class="icon-calendar bigger-110"></i>
  93. </span>
  94. </div>
  95. </div>
  96. <!--
  97. <div class="col-sm-1" style="width: 12%;padding-left: 3px;">
  98. <div class="input-group bootstrap-timepicker">
  99. <input id="timepicker2" type="text" class="form-control" style="font-size: 12px;"/>
  100. <span class="input-group-addon">
  101. <i class="icon-time bigger-110"></i>
  102. </span>
  103. </div>
  104. </div>
  105. -->
  106. <label class="col-sm-1 control-label no-padding-right" style="width: auto; font-size: 12px;margin-top:2px;margin-left:20px;" >线路:</label>
  107. <div class="col-sm-3" style="width: 150px;">
  108. <input id="line" class="form-control" type="text" style="font-size: 12px; height:30px;" placeholder="线路"/>
  109. </div>
  110. <label class="col-sm-1 control-label no-padding-right" style="width: auto; font-size: 12px;margin-top:2px;" >出发地:</label>
  111. <div class="col-sm-1">
  112. <input id="start_area" class="form-control" type="text" style="font-size: 12px; height:30px;width: 92px;" placeholder="出发地"/>
  113. </div>
  114. <label class="col-sm-1 control-label no-padding-right" style="margin-left: 12px;width: auto; font-size: 12px;margin-top:2px;" >目的地:</label>
  115. <div class="col-sm-1">
  116. <input id="end_area" class="form-control" type="text" style="font-size: 12px; height:30px;width: 92px;" placeholder="目的地"/>
  117. </div>
  118. </div>
  119. <div class="form-group" style="display:none;" >
  120. <label class="col-sm-1 no-padding-right" style="font-size: 12px;width:auto;">订单渠道:</label>
  121. <div class="col-sm-1" style="width: 15%;padding: 0;margin-left: 15px;">
  122. <!-- <select id="ordersource" style="font-size: 12px; width: 200px;">
  123. <option value="-1" selected="selected" style="font-size: 12px;">请选择</option>
  124. </select> -->
  125. <div id="bts-ex-4" class="selectpicker" data-live="true">
  126. <button data-id="prov" type="button" class="dropdown-toggle1" style="width: 100%;background-color: #fff;border: 1px solid #ccc;height: 30px;padding-left: 5px;">
  127. <span style="float:left;" class="placeholder">请选择</span>
  128. <span style="float:right;" class="caret"></span>
  129. </button>
  130. <div class="dropdown-menu">
  131. <div class="live-filtering" data-clear="true" data-autocomplete="true" data-keys="true">
  132. <label class="sr-only" for="input-bts-ex-4">Search</label>
  133. <div class="search-box">
  134. <div class="input-group">
  135. <span class="input-group-addon" id="search-icon3">
  136. <span><img width="15px;" src="images/search.png"></span>
  137. </span>
  138. <input type="text" placeholder="Search" id="input-bts-ex-4" class="form-control live-search" aria-describedby="search-icon3" tabindex="1" />
  139. </div>
  140. </div>
  141. <div class="list-to-filter">
  142. <ul id="ordersource" class="list-unstyled">
  143. <!-- <li value="-1" class="filter-item items" data-filter="item_1">请选择</li> -->
  144. </ul>
  145. </div>
  146. </div>
  147. </div>
  148. </div>
  149. </div>
  150. </div>
  151. <div id="minus" class="form-group" >
  152. <label class="col-sm-1 control-label no-padding-right" style="width: auto; font-size: 12px;">订单状态:</label>
  153. <div class="col-sm-1" style="width: 70px; padding-right: 2px;" onclick="getList(0)">
  154. <span id="add0" class="btn addbackground" style="font-size: 12px; width: 50px; padding: 3px 6px;">全部<sup id="orderAll" style="display: block; font-size: 8px;text-shadow: 1px 1px 1px #672020;position: relative;top: -20px;left: 20px;font-size: 10px;color: rgb(216, 0, 0);"></sup></span>
  155. </div>
  156. <div class="col-sm-1" style="width: 70px; padding-left: 2px; padding-right: 2px;" onclick="getList(145)">
  157. <span id="add145" class="btn" style="font-size: 12px;width: 50px; padding: 3px 6px;">待支付<sup id="orderPaid" style="display: block; font-size: 8px; text-shadow: 1px 1px 1px #672020;position: relative;top: -20px;left: 20px;font-size: 10px;color: rgb(216, 0, 0);"></sup></span>
  158. </div>
  159. <div class="col-sm-1" style="width: 70px; padding-left: 2px; padding-right: 2px;" onclick="getList(146)">
  160. <span id="add146" class="btn" style="font-size: 12px;width: 50px; padding: 3px 6px;">已出票<sup id="orderIssued" style="display:block ; font-size: 8px; text-shadow: 1px 1px 1px #672020;position: relative;top: -20px;left: 20px;font-size: 10px;color: rgb(216, 0, 0);"></sup></span>
  161. </div>
  162. <div class="col-sm-1" style="width: 70px; padding-left: 2px; padding-right: 2px;" onclick="getList(147)">
  163. <span id="add147" class="btn" style="font-size: 12px;width: 50px; padding: 3px 6px;">已完成<sup id="orderCompleted" style="display: block; font-size: 8px; text-shadow: 1px 1px 1px #672020;position: relative;top: -20px;left: 20px;font-size: 10px;color: rgb(216, 0, 0);"></sup></span>
  164. </div>
  165. <div class="col-sm-1" style="width: 70px; padding-left: 2px; padding-right: 2px;" onclick="getList(148)">
  166. <span id="add148" class="btn"style="font-size: 12px;width: 50px; padding: 3px 6px;">已取消<sup id="orderCanceled" style="display: block; font-size: 8px; text-shadow: 1px 1px 1px #672020;position: relative;top: -20px;left: 20px;font-size: 10px;color: rgb(216, 0, 0);"></sup></span>
  167. </div>
  168. <label class="col-sm-1 control-label no-padding-right" style="display: none;width: auto; font-size: 12px; padding-left: 210px;">支付状态:</label>
  169. <div class="col-sm-1" style="display: none;width: auto;">
  170. <select id="paystatus" style="font-size: 12px; width: 90px;">
  171. <option value="-1" selected="selected" style="font-size: 12px;">请选择</option>
  172. <option value="1" style="font-size: 12px;">已支付</option>
  173. <option value="0" style="font-size: 12px;">未支付</option>
  174. </select>
  175. </div>
  176. <!--
  177. <label class="col-sm-1 control-label no-padding-right" style="width: auto; font-size: 12px;">结算状态:</label>
  178. <div class="col-sm-1" style="width: auto;">
  179. <select id="billingstatus" style="font-size: 12px; width: 90px;">
  180. <option value="" selected="selected" style="font-size: 12px;">请选择</option>
  181. <option value="0" style="font-size: 12px;">待结算</option>
  182. <option value="1" style="font-size: 12px;">已结算</option>
  183. </select>
  184. </div>
  185. <label class="col-sm-1 control-label no-padding-right" style="width: auto; font-size: 12px;">退改状态:</label>
  186. <div class="col-sm-1" style="width: auto;">
  187. <select id="mealbounce" style="font-size: 12px; width: 90px;">
  188. <option value="" selected="selected" style="font-size: 12px;">请选择</option>
  189. <option value="1" style="font-size: 12px;">有改签</option>
  190. <option value="2" style="font-size: 12px;">有退票</option>
  191. <option value="3" style="font-size: 12px;">已改签</option>
  192. <option value="4" style="font-size: 12px;">已退票</option>
  193. </select>
  194. </div>
  195. <label class="col-sm-1 control-label no-padding-right" style="width: auto; font-size: 12px;">退款状态:</label>
  196. <div class="col-sm-1" style="width: auto;">
  197. <select id="refund" style="font-size: 12px; width: 90px;">
  198. <option value="" selected="selected" style="font-size: 12px;">请选择</option>
  199. <option value="1" style="font-size: 12px;">退款中</option>
  200. <option value="2" style="font-size: 12px;">已退款</option>
  201. </select>
  202. </div>
  203. -->
  204. </div>
  205. <div class="form-group">
  206. <label class="col-sm-1 control-label no-padding-right" style="width: auto; font-size: 12px;margin-top:2px;" >更多查询:</label>
  207. <div class="col-sm-3">
  208. <input id="moresearch" class="form-control" type="text" style="font-size: 12px; height:30px;" placeholder="订单号/客人姓名/客人电话/渠道订单号"/>
  209. </div>
  210. <div class="col-sm-1" style="padding-left: 2px; padding-right: 2px;width: 65px;" >
  211. <span class="btn" style="font-size: 12px;height:30px;" onclick="getList(0)">查询</span>
  212. </div>
  213. <div class="col-sm-1" style="padding-left: 2px; padding-right: 2px;display:none; ">
  214. <span class="btn" style="font-size: 12px;height:30px;" onclick="printInfo()">打印</span>
  215. </div>
  216. <div class="col-sm-1" style=" padding-left: 2px; padding-right: 2px;display:none;">
  217. <span id="btn_export" class="btn" style="font-size: 12px;" onclick="exportToExcel(this)">导出游客信息</span>
  218. </div>
  219. </div>
  220. </form>
  221. </div>
  222. <div class="row">
  223. <div>
  224. <div class="table-responsive" style="width: 1225px;">
  225. <table id="orderTable" class="table table-striped table-bordered table-hover">
  226. <thead>
  227. <tr>
  228. <!--<th class="center" style="width: 30px;"><label><input class="ace" onclick="select_checked(0)" type="checkbox"><span class="lbl"></span></label></th>-->
  229. <th class="list_middle" style="width: 30px;">
  230. <input type="checkbox" name="all_check_box" id="all_check_box" value="" class="ace_check" onclick="select_checked('0')"/>
  231. </th>
  232. <th style="width: 90px;">订单编号</th>
  233. <th style="width: 120px;">下单时间</th>
  234. <!--<th style="width: 150px;">订单渠道</th>-->
  235. <!--<th style="width: 150px;">渠道订单号</th>-->
  236. <th style="width: 350px;">预订产品</th>
  237. <th style="width: 120px;">出发时间</th>
  238. <th style="width: 130px;">联系人</th>
  239. <th style="width: 113px;">状态</th>
  240. <!--<th style="width: 100px;">操作</th>-->
  241. </tr>
  242. </thead>
  243. <tbody id="tableOrder">
  244. <tr>
  245. <!--<td class="center" style="width: 30px;"><label><input class="ace" onclick="select_checked(1)" type="checkbox"><span class="lbl"></span></label></td>-->
  246. <td class="list_middle" >
  247. <input type="checkbox" onclick="select_checked('1')" checkid="[oneCheck]" class="ace_check" />
  248. </td>
  249. <td style="width: 90px;"><a target="_Blank" href="order_details_limited.html?order_id=[order_id]">订单编号</a></td>
  250. <td style="width: 120px;">下单时间</td>
  251. <!--<td style="width: 160px;">订单来源</td>-->
  252. <!--<td style="width: 160px;">渠道订单号</td>-->
  253. <td style="width: 360px;">
  254. <div><a>line</a>预订产品</div>
  255. <div id="ticketText">
  256. <div>普通成人票 </div>
  257. </div>
  258. <!--<div>贵宾成人票 </div>-->
  259. </td>
  260. <td style="width: 120px;">出发时间</td>
  261. <td style="width: 130px;">
  262. <div>name</div>
  263. <div>phone</div>
  264. </td>
  265. <td style="width: 113px;">状态</td>
  266. <!--<td style="width: 100px;">-->
  267. <!--<span><a style="cursor: pointer;" onclick="cancel(0)">cancelOrder</a></span>-->
  268. <!--<span><a onclick="meal(0)">mealOrder</a></span>-->
  269. <!--<span><a onclick="refund(0)">refundOrder</a></span>-->
  270. <!--</td>-->
  271. </tr>
  272. </tbody>
  273. </table>
  274. </div>
  275. </div>
  276. </div>
  277. <div id="page"></div>
  278. <div id="sum"></div>
  279. </div>
  280. <!--
  281. 作者:作者:刘兵
  282. 维护:付泓程
  283. 时间:2016-06-03
  284. 描述:add end
  285. -->
  286. </div>
  287. <!--</div>-->
  288. <div style="width: 1100px;display: none;" id="ddd">
  289. </div>
  290. </body>
  291. <!-- -->
  292. <script type="text/javascript">
  293. $('.date-picker').datepicker({autoclose:true}).next().on("click", function(){$(this).prev().focus();});
  294. $('#timepicker1').timepicker({minuteStep: 1,showSeconds: false,showMeridian: false}).next().on("click", function(){$(this).prev().focus();});
  295. $('#timepicker2').timepicker({minuteStep: 1,showSeconds: false,showMeridian: false}).next().on("click", function(){$(this).prev().focus();});
  296. var dataSoure = getStorJson("dataSoure");
  297. initdata(dataSoure);
  298. function initdata(data){
  299. var temp = '<li value=-1 class="filter-item items" data-filter="请选择">请选择</li>';
  300. for (var i=0;i<data.length;i++) {
  301. var j = i+1;
  302. temp += '<li value="'+data[i].org_id+'" class="filter-item items" data-filter="'+data[i].soure+'">'+data[i].soure+'</li>'
  303. }
  304. $("#ordersource").html(temp);
  305. // $(".filter-item").click(function(){
  306. // alert($(this).val());
  307. // });
  308. }
  309. //设置Json类型的本地缓存
  310. function setStorJson(objName, json){
  311. if (json)
  312. setStorage(objName, JSON.stringify(json));
  313. }
  314. //读取Json类型的本地缓存
  315. function getStorJson(objName){
  316. var ret = null;
  317. var str = getStorage(objName);
  318. if (str)
  319. ret = JSON.parse(str);
  320. return ret;
  321. }
  322. </script>
  323. <script src="js/bootstrap.min.js"></script>
  324. <script src="js/modernizr.min.js"></script>
  325. <script src="js/vendor/tabcomplete.min.js"></script>
  326. <script src="js/vendor/livefilter.min.js"></script>
  327. <script src="js/vendor/src/bootstrap-select.js"></script>
  328. <script src="js/vendor/src/filterlist.js"></script>
  329. <script src="js/plugins.js"></script>
  330. </html>