選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 

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