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.
 
 
 
 

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