Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 
 

264 строки
9.8 KiB

  1. <?php
  2. use backend\modules\zzcs\assets\ZzcsAsset;
  3. ZzcsAsset::addCss($this, '/global/css/font-awesome.min.css');
  4. //ZzcsAsset::addCss($this, '/global/css/ace.min.css');
  5. //ZzcsAsset::addCss($this, '/global/css/master.css?v3000');
  6. ZzcsAsset::addCss($this, '/global/css/main.css');
  7. ZzcsAsset::addCss($this, '/global/css/bootstrap.min.css');
  8. ZzcsAsset::addCss($this, '/global/css/sweetalert2.min.css');
  9. ZzcsAsset::addCss($this, '/global/css/bootstrap-timepicker.css');
  10. ZzcsAsset::addCss($this, '/global/css/datepicker.css');
  11. ZzcsAsset::addCss($this, '/global/css/daterangepicker.css');
  12. ZzcsAsset::addCss($this, '/run-bus/css/run_add.css?');
  13. ZzcsAsset::addScript($this, '/global/js/jquery.page.js');
  14. //ZzcsAsset::addScript($this, '/global/js/jquery.cookie.js');
  15. //ZzcsAsset::addScript($this, '/global/js/jquery-2.2.4.min.js');
  16. ZzcsAsset::addScript($this, '/global/js/date-time/bootstrap-datepicker.min.js');
  17. ZzcsAsset::addScript($this, '/global/js/date-time/bootstrap-timepicker.min.js');
  18. ZzcsAsset::addScript($this, '/global/js/sweetalert2.min.js');
  19. ZzcsAsset::addScript($this, '/plug/layer/layer.js');
  20. ZzcsAsset::addScript($this, '/run-bus/js/run_add.js?v0056');
  21. ?>
  22. <body>
  23. <div id="">
  24. <div class="addtime">
  25. <div class="page-header">
  26. <label style="font-size: 20px;">添加班次</label>
  27. </div>
  28. <from class="form-horizontal">
  29. <div class="form-group">
  30. <lable class="col-sm-3 control-label run_line_test">线路:</lable>
  31. <div class="col-sm-9 line-box">
  32. <input style="height: 34px;" type="text" class="col-sm-5 add-line" name="line" dataid = "">
  33. <ul class="line-item" style="margin: 0 0 0 0 ">
  34. </ul>
  35. <span class="addline-erro" style="color:#e60012;"></span>
  36. </div>
  37. </div>
  38. <div class="form-group">
  39. <lable class="col-sm-3 control-label">出发时间:</lable>
  40. <div class="col-sm-9">
  41. <div class="input-group col-sm-3" style="margin-left: -11px;padding-left:11px;padding-right: 11px;float: left">
  42. <input class="form-control date-picker startime" id="id-date-picker-1" type="text" data-date-format="yyyy-mm-dd" name="startime">
  43. <span class="input-group-addon">
  44. <i class="icon-calendar bigger-110"></i>
  45. </span>
  46. </div>
  47. <div class="fl lineheight">至</div>
  48. <div class="input-group col-sm-3" style="float: left;padding-left:11px;padding-right: 11px;">
  49. <input class="form-control date-picker endtime" id="id-date-picker-2" type="text" data-date-format="yyyy-mm-dd" name="endtime">
  50. <span class="input-group-addon">
  51. <i class="icon-calendar bigger-110"></i>
  52. </span>
  53. </div>
  54. <span class="data-erro" style="color:#e60012;"></span>
  55. </div>
  56. <lable class="col-sm-3 control-label"></lable>
  57. </div>
  58. <div class="form-group">
  59. <lable class="col-sm-3 control-label"></lable>
  60. <div class="col-sm-9 weeklist">
  61. <label>
  62. <input name="weekall" type="checkbox" class="ace allweek" checked="checked">
  63. <span class="lbl">全部</span>
  64. </label>
  65. <label>
  66. <input name="week1" type="checkbox" class="ace week1 aday" value="1" checked="checked">
  67. <span class="lbl">周一</span>
  68. </label>
  69. <label>
  70. <input name="week2" type="checkbox" class="ace week2 aday" value="2" checked="checked">
  71. <span class="lbl">周二</span>
  72. </label>
  73. <label>
  74. <input name="week2" type="checkbox" class="ace week3 aday" value="3" checked="checked">
  75. <span class="lbl">周三</span>
  76. </label>
  77. <label>
  78. <input name="week4" type="checkbox" class="ace week4 aday" value="4" checked="checked">
  79. <span class="lbl">周四</span>
  80. </label>
  81. <label>
  82. <input name="week5" type="checkbox" class="ace week5 aday" value="5" checked="checked">
  83. <span class="lbl">周五</span>
  84. </label>
  85. <label>
  86. <input name="week6" type="checkbox" class="ace week6 aday" value="6" checked="checked">
  87. <span class="lbl">周六</span>
  88. </label>
  89. <label>
  90. <input name="week7" type="checkbox" class="ace week7 aday" value="0" checked="checked">
  91. <span class="lbl">周日</span>
  92. </label>
  93. <span class="week-erro" style="color:#e60012;"></span>
  94. </div>
  95. </div>
  96. <div class="form-group">
  97. <lable class="col-sm-3 control-label">途经站点:</lable>
  98. <div class="col-sm-9">
  99. <table width="100%" class="table addline-info table-bordered">
  100. <thead>
  101. <tr>
  102. <th width="25%">时间</th>
  103. <th >站点</th>
  104. <th width="20%">上下类型</th>
  105. <th width="13%">检票口</th>
  106. </tr>
  107. </thead>
  108. <tbody class="replace-lineinfo">
  109. <tr>
  110. <td class="td1" style="display:none">
  111. <select name="" id="" class="hour">
  112. <option value="" >hour</option>
  113. </select>:
  114. <select name="" id="" class="minute">
  115. <option value="">minute</option>
  116. </select>
  117. </td>
  118. <td class="td2" style="display:none"> 上海黄浦旅游集散站</td>
  119. <td class="td3" style="display:none">
  120. <select style="width: 100px" name="" id="" class="entry">
  121. <option value="">entry</option>
  122. </select>
  123. </td>
  124. <td style="display:none">
  125. <select style="width: 55px;" name="" id="" class="mouth">
  126. <option value="">mouth</option>
  127. </select>
  128. </td>
  129. </tr>
  130. </tbody>
  131. </table>
  132. </div>
  133. </div>
  134. <div class="form-group">
  135. <lable class="col-sm-3 control-label">线路总长:</lable>
  136. <p class="col-sm-9" style="margin-top:10px;">
  137. <span id="disp_line_distance" name="disp_line_distance" >-</span>
  138. </p>
  139. </div>
  140. <div class="form-group">
  141. <lable class="col-sm-3 control-label">车次:</lable>
  142. <p class="col-sm-9">
  143. <button class="btn btn-primary add-cartype">添加+</button>
  144. </p>
  145. <lable class="col-sm-3 control-label"></lable>
  146. <div class="car-type col-sm-9">
  147. <div class="car-select">
  148. <select class="car-brand" style="display: none;">
  149. <option value="288">金龙</option>
  150. <option value="289">宇通</option>
  151. <option value="290">申龙</option>
  152. <option value="291">江淮</option>
  153. <option value="292">全顺</option>
  154. <option value="293">广汽</option>
  155. <option value="294">梅格</option>
  156. </select>
  157. <select class="car-item" onchange="auto_update_cost(this)">
  158. cartype
  159. </select>
  160. <select class="supplier-list" onchange="auto_update_cost(this)">
  161. supplier_list
  162. </select>
  163. <select class="cost-type" onchange="auto_update_cost(this)">
  164. cost_type
  165. </select>
  166. <input class="cost_price" type="text">元
  167. <input class="car_number" style="display: none;" type="number" value="1" min="1">
  168. <select class="ifseat" style="display: none;">
  169. <option value="156">可选</option>
  170. <option value="157">不可选</option>
  171. </select>
  172. <span class="del">删除</span>
  173. </div>
  174. </div>
  175. <span class="car-erro" style="color:#e60012;"></span>
  176. </div>
  177. <div class="form-group">
  178. <lable class="col-sm-3 control-label">票种:</lable>
  179. <div class="col-sm-9">
  180. <table width="100%" class="table addline-info table-bordered">
  181. <thead>
  182. <tr>
  183. <th >出发地</th>
  184. <th >目的地</th>
  185. <th >座位等级</th>
  186. <th style="display: none">人群</th>
  187. <!--<th >最多可售</th>-->
  188. <th style="display: none;">库存</th>
  189. <th >选择</th>
  190. </tr>
  191. </thead>
  192. <tbody class="able-ticket">
  193. <tr class="adult" >
  194. <td class="stararea" starareaid = "SID">START_AREA</td>
  195. <td class="endarea" endareaid= "EID">END_AREA</td>
  196. <td class="seatid" seatid="aseatid">SEAT</td>
  197. <td style="display: none;" class="crowdid" crowdid="acrowdid">CROWD</td>
  198. <!--<td class="ticketnum"><input type="number" value="0" max="ticketnum" min="0"></td>-->
  199. <td style="display: none;" class="ticketnum">Freesale</td>
  200. <td><input type="checkbox" checked="checked"
  201. class="ticket_sel" value="PROD_ID"></td>
  202. </tr>
  203. <tr class="child" style="display:none">
  204. <td></td>
  205. <td></td>
  206. <td></td>
  207. <td></td>
  208. <td>零售价</td>
  209. <!--<td><input type="number" value="ticketnum" max="ticketnum" min="0"></td>-->
  210. <td style="display: none;">Freesale</td>
  211. <td><input type="checkbox" checked="checked" value="child"></td>
  212. </tr>
  213. <tr class="noble" style="display:none">
  214. <td></td>
  215. <td></td>
  216. <td>座位</td>
  217. <td style="display: none;">人群</td>
  218. <td>零售价</td>
  219. <td><input type="number" value="ticketnum" max="ticketnum" min="0"></td>
  220. <td><input type="checkbox" checked="checked" value="ticketval"></td>
  221. </tr>
  222. </tbody>
  223. </table>
  224. <span class="ticket-erro" style="color:#e60012"></span>
  225. </div>
  226. </div>
  227. <div class="form-group" style="display: none;">
  228. <lable class="col-sm-3 control-label">预售天数:</lable>
  229. <div class="col-sm-9">
  230. <input type="number" class="col-sm-2 sellday" max="7" min="1" value="7" name="sellday">
  231. </div>
  232. </div>
  233. <div class="page-header"></div>
  234. <div class="form-group">
  235. <lable class="col-sm-3 control-label"></lable>
  236. <p class="col-sm-9">
  237. <bttton class="btn btn-primary storage" value="">保存</bttton>
  238. </p>
  239. </div>
  240. </from>
  241. </div>
  242. </div>
  243. <!--</div>-->
  244. </body>