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.
 
 
 
 

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