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.
 
 
 
 

342 lines
15 KiB

  1. <!DOCTYPE html>
  2. <html>
  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/sweetalert2.min.css">
  14. <script type="text/javascript" src="./js/jquery-2.2.4.min.js"></script>
  15. <script type="text/javascript" src="./js/date-time/bootstrap-datepicker.min.js"></script>
  16. <script type="text/javascript" src="./js/date-time/bootstrap-timepicker.min.js"></script>
  17. <script src="js/sweetalert2.min.js"></script>
  18. <script src="js/jquery.cookie.js"></script>
  19. <script src="js/base_path.js" type="text/javascript" charset="utf-8"></script>
  20. <!--<script src="js/xm.js"></script>
  21. <script>
  22. login();
  23. </script>-->
  24. <style type="text/css">
  25. .profile-user-info-striped .profile-info-name {
  26. color: #336199;
  27. border-top: 1px solid #f7fbff;
  28. margin-left: 20px;
  29. }
  30. .profile-user-info-striped {
  31. border: 0px solid #dcebf7;
  32. }
  33. .form-actions {
  34. display: block;
  35. background-color: #f5f5f5;
  36. /* border-top: 1px solid #e5e5e5; */
  37. margin-bottom: 20px;
  38. margin-top: 20px;
  39. padding: 19px 20px 20px;
  40. }
  41. </style>
  42. </head>
  43. <body style="font-size: 12px;">
  44. <!--<div class="navbar navbar-default" style="margin-bottom: 0px;">
  45. <div class="navbar-header ">
  46. <a href="#" class="navbar-brand">
  47. <i class="icon-leaf"></i> CS System<sub style="font-size:12px;position: initial;">&nbsp;<span id="version_txt"></span></sub>
  48. </a>
  49. </div>
  50. </div>
  51. <div id="show_html" style="display:none;" class="warp clearfix">
  52. <div class="control-bar"></div>
  53. <div class="control-show" style="float: left;">-->
  54. <div id="">
  55. <!--
  56. 作者:刘兵
  57. update:fuhc
  58. 时间:2016-06-03
  59. 描述:add start
  60. update:fuhc
  61. -->
  62. <div class="page-content" style="width: 1200px;">
  63. <div class="page-header">
  64. <h1 style="font-size: 14px;">填写订单</h1>
  65. </div>
  66. <div class="row">
  67. <form class="form-horizontal" role="form">
  68. <div class="form-group">
  69. <label class="col-sm-1 control-label no-padding-right" style="font-size: 12px;">线&nbsp&nbsp路:</label>
  70. <label id="line" class="col-sm-6 control-label" style="font-size: 12px; text-align: left;"></label>
  71. </div>
  72. <!--订单渠道-->
  73. <div class="form-group">
  74. <label class="col-sm-1 control-label no-padding-right" style="font-size: 12px;">订单渠道:</label>
  75. <div class="col-sm-2">
  76. <!--<select id="orderSource" style="font-size: 12px; padding: 0px; width: 100%;">
  77. <option value="-2" selected="selected" style="font-size: 12px;">请选择</option>
  78. </select>-->
  79. <div id="bts-ex-4" class="selectpicker" data-live="true">
  80. <button data-id="prov" type="button" class="dropdown-toggle1" style="width: 100%;background-color: #fff;border: 1px solid #ccc;height: 30px;padding-left: 5px;">
  81. <span style="float:left;" class="placeholder">请选择</span>
  82. <span style="float:right;" class="caret"></span>
  83. </button>
  84. <div class="dropdown-menu">
  85. <div class="live-filtering" data-clear="true" data-autocomplete="true" data-keys="true">
  86. <label class="sr-only" for="input-bts-ex-4">Search</label>
  87. <div class="search-box">
  88. <div class="input-group">
  89. <span class="input-group-addon" id="search-icon3">
  90. <span><img width="15px;" src="images/search.png"></span>
  91. </span>
  92. <input type="text" placeholder="Search" id="input-bts-ex-4" class="form-control live-search" aria-describedby="search-icon3" tabindex="1" />
  93. </div>
  94. </div>
  95. <div class="list-to-filter">
  96. <ul id="orderSource" class="list-unstyled">
  97. <li value="0" class="filter-item items" data-filter="item_1">请选择</li>
  98. </ul>
  99. </div>
  100. </div>
  101. </div>
  102. </div>
  103. </div>
  104. </div>
  105. <div class="form-group">
  106. <label class="col-sm-1 control-label no-padding-right" style="font-size: 12px;"></label>
  107. <div class="col-sm-2">
  108. <input id="channelNum" class="form-control" type="text" style="font-size: 12px;" placeholder="渠道订单号" />
  109. </div>
  110. </div>
  111. <div class="form-group">
  112. <label class="col-sm-1 control-label no-padding-right" style="font-size: 12px;">出发选择:</label>
  113. <label id="start_date" class="col-sm-1 control-label" style="font-size: 12px;text-align: left;"></label>
  114. <label class="col-sm-1 control-label" style="font-size: 12px; width: 5%; margin-left: 49px;text-align: left;">出发</label>
  115. <div class="col-sm-1" style="width: 25%; padding-left: 3px;">
  116. <select id="startArea" style="font-size: 12px; width: 220px;" onchange="show_end_station()">
  117. <option value="0" selected="selected" style="font-size: 12px;">startArea</option>
  118. </select>
  119. </div>
  120. <label class="col-sm-1 control-label" style="font-size: 12px; width: 5%; text-align: center;">到达</label>
  121. <div class="col-sm-1" style="width: 25%;">
  122. <select id="endArea" style="font-size: 12px; width: 220px;" onchange="show_ticket_list()">
  123. <option value="0" selected="selected" style="font-size: 12px;">endArea</option>
  124. </select>
  125. </div>
  126. </div>
  127. <!--返程信息-->
  128. <div class="form-group">
  129. <label class="col-sm-1 control-label no-padding-right" style="font-size: 12px;">选择返程:</label>
  130. <div id="ifcheckedBack" >
  131. <input type="checkbox" id="ifback" style="margin-left: 20px; margin-bottom: 10px; margin-top: 6px;" value="0" onclick="ifbackSelected(this.checked)"/>
  132. </div>
  133. <label class="col-sm-1 control-label no-padding-right" style="font-size: 12px;"></label>
  134. <div class="col-sm-1" style="float:left;width: 150px;">
  135. <div class="input-group">
  136. <input id="id-date-picker-1" class="form-control date-picker" data-date-format="yyyy-mm-dd" type="text" placeholder="出发日期" style="font-size: 12px;height: 30px;" onchange="selectDate(this.value)">
  137. <span class="input-group-addon">
  138. <i class="icon-calendar bigger-110"></i>
  139. </span>
  140. </div>
  141. </div>
  142. <div style="display: none;float: left;">
  143. <select id="select_time" style="font-size: 12px; width: 80px;" onpropertychange="select_run_time(this.id)">
  144. <option value="0" style="font-size: 12px;">选择班次</option>
  145. </select>
  146. </div>
  147. <label class="col-sm-1 control-label no-padding-right" style="font-size: 12px; width: 5%; text-align: left;">出发</label>
  148. <div class="col-sm-1" style="width: 25%; padding-left: 3px;">
  149. <select id="startAreaback" style="font-size: 12px; width: 220px;" onchange="show_f_station2()">
  150. <!--<option value="[startAreaback]" style="font-size: 12px;">请选择返程出发地</option>-->
  151. </select>
  152. </div>
  153. <label class="col-sm-1 control-label" style="font-size: 12px; width: 5%; text-align: center;">到达</label>
  154. <div class="col-sm-1" style="width: 25%;">
  155. <select id="endAreaback" style="font-size: 12px; width: 220px; " onchange="choose_f_station()">
  156. <!--<option value="[endAreaback]" style="font-size: 12px;">请选择返程目的地</option>-->
  157. </select>
  158. </div>
  159. </div>
  160. <!--数量-->
  161. <div class="form-group">
  162. <label class="col-sm-1 control-label no-padding-right" style="font-size: 12px;">数&nbsp&nbsp量:</label>
  163. <div class="col-sm-1 table-responsive" style="width: 465px;">
  164. <table id="infoTable" class="table table-striped table-bordered table-hover">
  165. <thead>
  166. <tr>
  167. <th style="width: 80px;">座位类型</th>
  168. <th style="width: 120px;">票种</th>
  169. <th style="width: 90px;">价格</th>
  170. <th style="width: 105px;">数量</th>
  171. </tr>
  172. </thead>
  173. <tbody id="tableInfo">
  174. <tr id="[id]" class="[aaa]">
  175. <td style="width: 80px;">座位</td>
  176. <td style="width: 80px;">票种</td>
  177. <td style="width: 90px;">
  178. <input type="text" id="price" placeholder="价格" value="1111" />
  179. </td>
  180. <td style="width: 105px;">
  181. <select id="number_select" style="font-size: 12px; width: 60px;">
  182. <option value="default" selected="selected" style="font-size: 12px;">num</option>
  183. </select>
  184. </td>
  185. </tr>
  186. </tbody>
  187. </table>
  188. </div>
  189. </div>
  190. <!--套餐包含-->
  191. <div class="form-group">
  192. <label class="col-sm-1 control-label no-padding-right" style="font-size: 12px;">套餐产品:</label>
  193. <label class="col-sm-1 control-label" style="font-size: 12px; width: 100px;">门票价格</label>
  194. <div class="col-sm-1" style="width: 90px;padding-left: 10px; ">
  195. <input type="text" id="doorPrice" style="width: 80px;" onkeyup="value=(parseInt((value=value.replace(/\D/g,''))=='')?'':value)" onafterpaste="value=(parseInt((value=value.replace(/\D/g,''))=='')?'':value)" />
  196. </div>
  197. <label class="col-sm-1 control-label" style="font-size: 12px; width: 100px; text-align: center;margin-left: 50px;">酒店价格</label>
  198. <div class="col-sm-1" style="width: 90px;padding-left: 10px;" >
  199. <input type="text" id="hotelPrice" style="width: 80px;" onkeyup="value=(parseInt((value=value.replace(/\D/g,''))=='')?'':value)" onafterpaste="value=(parseInt((value=value.replace(/\D/g,''))=='')?'':value)"/>
  200. </div>
  201. </div>
  202. <!--联系人信息-->
  203. <div class="form-group">
  204. <label class="col-sm-1 control-label no-padding-right" style="font-size: 12px;">联系信息:</label>
  205. <div class="col-sm-2">
  206. <input class="form-control" id="username" type="text" style="font-size: 12px;" placeholder="姓名" required maxlength="20" /><span style="color:red;" id="nameinfo"></span>
  207. </div>
  208. </div>
  209. <div class="form-group">
  210. <label class="col-sm-1 control-label no-padding-right" style="font-size: 12px;"></label>
  211. <div class="col-sm-2">
  212. <input onkeyup="value=(parseInt((value=value.replace(/\D/g,''))=='')?'':value)" onafterpaste="value=(parseInt((value=value.replace(/\D/g,''))=='')?'':value)" class="form-control" type="text" style="font-size: 12px;" placeholder="手机" id="usernum" required maxlength="11" /><span style="color:red;" id="numinfo"></span>
  213. </div>
  214. </div>
  215. <div class="form-group">
  216. <label class="col-sm-1 control-label no-padding-right" style="font-size: 12px;"></label>
  217. <div class="col-sm-2">
  218. <input class="form-control" type="text" style="font-size: 12px;" placeholder="身份证" id="userid" required maxlength="18" /><span style="color:red;" id="idinfo"></span>
  219. </div>
  220. </div>
  221. <!--订单备注-->
  222. <br />
  223. <div style="font-weight:bold;">订单备注</div>
  224. <!--<hr style="width: 1200px;margin-top: 20px;"/>-->
  225. <div class="tabbable">
  226. <div class="profile-user-info profile-user-info-striped" style="margin-left:-40px;">
  227. <div class="profile-info-row">
  228. <div class="profile-info-name" style="background-color: white;"><span style="letter-spacing:24px;">备</span>注:</div>
  229. <div class="profile-info-value">
  230. <textarea id="order_remark" name="remark" rows="5" style="width: 500px;"></textarea>
  231. </div>
  232. </div>
  233. </div>
  234. </div><!--订单备注 end-->
  235. </form>
  236. </div>
  237. <!--<div class="page-header">
  238. <h1 style="font-size: 14px;">选择返程</h1>
  239. </div>
  240. <div class="row">
  241. <form class="form-horizontal" role="form">
  242. </form>
  243. </div>-->
  244. <div id="" style="display: none;">
  245. <div class="page-header">
  246. <h1 style="font-size: 14px; ">乘车人信息</h1>
  247. </div>
  248. <div id="addInfo" style="float:left;">
  249. <div id="left" style="float: left;display: none;width: 300px;height: 100px;">
  250. <div style="float: left;">乘车人</div>
  251. <div style="float: left;margin-left: 20px;">
  252. <div id="peopleName">
  253. <input type="" name="" id="" placeholder="姓名" />
  254. </div>
  255. <div id="peopleId" style="margin-top: 20px;">
  256. <input type="" name="" id="" placeholder="身份证" />
  257. </div>
  258. </div>
  259. <div style="float: left;margin-left: 20px;">
  260. <span id="delBtn" onclick='delOneLine(this.id)' style="width: 60px;height: 25px; display: inline-block;line-height: 25px;border:1px solid rgb(204,204,204); text-align: center;background-color: lightgray;cursor:pointer;">删除</span>
  261. </div>
  262. </div>
  263. </div>
  264. <div style="float: left; margin-left: 40px;">
  265. <span id="addBtn" onclick='addLine()' style="width: 80px;height: 30px; display: inline-block;line-height: 30px;border:1px solid rgb(204,204,204); text-align: center;background-color: lightgray;cursor:pointer;">+添加</span>
  266. </div>
  267. </div>
  268. <div id="" style="clear: both;">
  269. </div>
  270. <div class="form-actions" style="background: #FFFFFF; margin-top: 30px; ">
  271. <div class="col-md-1">
  272. <button class="btn btn-info" style="font-size: 12px;" id="usersubmit" onclick="submit_order()">提交</button> &nbsp; &nbsp; &nbsp;
  273. </div>
  274. <div class="col-md-1">
  275. <button class="btn" style="font-size: 12px;" onclick="javascript :history.back(-1)">返回</button>
  276. </div>
  277. </div>
  278. </div>
  279. <!--
  280. 作者:作者:刘兵
  281. 时间:2016-06-03
  282. 描述:add end
  283. update:fuhc
  284. -->
  285. </div>
  286. <!--</div>-->
  287. </body>
  288. <script type="text/javascript" src="./js/create_order.js"></script>
  289. <!--<script type="text/javascript" src="./js/master.js"></script>-->
  290. <script type="text/javascript">
  291. $(".date-picker").datepicker({
  292. autoclose: true
  293. }).next().on("click", function() {
  294. $(this).prev().focus();
  295. });
  296. </script>
  297. <script src="js/modernizr.min.js"></script>
  298. <script src="js/vendor/tabcomplete.min.js"></script>
  299. <script src="js/vendor/livefilter.min.js"></script>
  300. <script src="js/vendor/src/bootstrap-select.js"></script>
  301. <script src="js/vendor/src/filterlist.js"></script>
  302. <script src="js/plugins.js"></script>
  303. </html>