Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 
 

222 rader
10 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?v0002');
  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_upt.js?v20171124');
  21. ?>
  22. <body>
  23. <div id="">
  24. <div class="addtime" style="display: none">
  25. <div class="page-header">
  26. <label style="font-size:20px;">
  27. 修改班次
  28. </label>
  29. </div>
  30. <from class="form-horizontal">
  31. <div class="form-group replaceline">
  32. <input type="text" style="display: none" class="run_id" value="<?php echo $run_id?>">
  33. <lable class="col-sm-3 control-label">线路:</lable>
  34. <lable class="col-sm-9 add-line" name="line" runid="alineid" style="text-align:left;padding-top: 7px;">linename
  35. </lable>
  36. </div>
  37. <div class="form-group">
  38. <lable class="col-sm-3 control-label">出发时间:</lable>
  39. <div class="input-group col-sm-3" style="padding-left:11px;padding-right: 11px;float: left">
  40. <input class="form-control date-picker startime" id="id-date-picker-1" type="text" data-date-format="yyyy-mm-dd" name="startime">
  41. <span class="input-group-addon">
  42. <i class="icon-calendar bigger-110"></i>
  43. </span>
  44. <span class="data-erro" style="color:#e60012;"></span>
  45. </div>
  46. </div>
  47. <div class="form-group">
  48. <lable class="col-sm-3 control-label">途经站点:</lable>
  49. <div class="col-sm-9">
  50. <table width="100%" class="table addline-info table-bordered">
  51. <thead>
  52. <tr>
  53. <th width="25%">时间</th>
  54. <th >站点</th>
  55. <th width="13%">上下类型</th>
  56. <th width="13%">检票口</th>
  57. </tr>
  58. </thead>
  59. <tbody class="replace-lineinfo">
  60. <tr>
  61. <td class="td1" >
  62. <select name="" id="" class="hour">
  63. <option value="" >hour</option>
  64. </select>:
  65. <select name="" id="" class="minute">
  66. <option value="">minute</option>
  67. </select>
  68. </td>
  69. <td class="td2"> 上海黄浦旅游集散站</td>
  70. <td class="td3" >
  71. <select style="width:50px;" name="" id="" class="entry">
  72. <option value="">entry</option>
  73. </select>
  74. </td>
  75. <td style="display:none">
  76. <select style="width:55px;" name="" id="" class="mouth">
  77. <option value="">mouth</option>
  78. </select>
  79. </td>
  80. </tr>
  81. </tbody>
  82. </table>
  83. </div>
  84. </div>
  85. <div class="form-group">
  86. <lable class="col-sm-3 control-label">线路总长:</lable>
  87. <p class="col-sm-9" style="margin-top:10px;">
  88. <span id="disp_line_distance" name="disp_line_distance" >-</span>
  89. </p>
  90. </div>
  91. <div class="form-group">
  92. <lable class="col-sm-3 control-label">车次:</lable>
  93. <p class="col-sm-9">
  94. <button class="btn btn-primary add-cartype">添加+</button>
  95. </p>
  96. <lable class="col-sm-3 control-label"></lable>
  97. <div class="car-type col-sm-9">
  98. <div class="car-select">
  99. <i>num</i>
  100. <select class="car-brand" style="display: none;">
  101. <option selected value="288">金龙</option>
  102. <option value="289">宇通</option>
  103. <option value="290">申龙</option>
  104. <option value="291">江淮</option>
  105. <option value="292">全顺</option>
  106. <option value="293">广汽</option>
  107. <option value="294">梅格</option>
  108. </select>
  109. <select class="car-item" onchange="auto_update_cost(this)" >
  110. cartype
  111. </select>
  112. <!--<select class="supplier-list" onchange="auto_update_cost(this)" >-->
  113. supplier_list
  114. <!--</select>-->
  115. <!--<select class="cost-type" onchange="auto_update_cost(this)" >-->
  116. cost_type
  117. <!--</select>-->
  118. <!--<input class="cost_price" type="text" value="cost-price">元-->
  119. cost-price
  120. <select class="ifseat" style="display: none;">
  121. selseat
  122. </select>
  123. <span class="del">删除</span>
  124. </div>
  125. </div>
  126. <span class="car-erro" style="color:#e60012;"></span>
  127. </div>
  128. <div class="form-group">
  129. <lable class="col-sm-3 control-label">可售票种:</lable>
  130. <div class="col-sm-9">
  131. <table width="100%" class="table addline-info table-bordered">
  132. <thead>
  133. <tr>
  134. <th >出发地</th>
  135. <th >目的地</th>
  136. <th >座位</th>
  137. <th style="display:none;">人群</th>
  138. <!--<th >最多可售</th>-->
  139. <th style="display: none;">库存</th>
  140. <th >选择</th>
  141. </tr>
  142. </thead>
  143. <tbody class="able-ticket">
  144. <tr class="adult" >
  145. <td class="stararea" starareaid = "SID">START_AREA</td>
  146. <td class="endarea" endareaid= "EID">END_AREA</td>
  147. <td class="seatid" seatid="aseatid">SEAT</td>
  148. <td class="crowdid" crowdid="acrowdid" style="display:none;">CROWD</td>
  149. <!--<td class="ticketnum"><input type="number" value="0" max="ticketnum" min="0"></td>-->
  150. <td style="display: none;" class="ticketnum">Freesale</td>
  151. <td><input type="checkbox" checked="checked"
  152. class="ticket_sel" value="PROD_ID"></td>
  153. </tr>
  154. <tr class="child" style="display:none">
  155. <td></td>
  156. <td></td>
  157. <td></td>
  158. <td></td>
  159. <td>零售价</td>
  160. <!--<td><input type="number" value="ticketnum" max="ticketnum" min="0"></td>-->
  161. <td style="display: none;">Freesale</td>
  162. <td><input type="checkbox" checked="checked" value="child"></td>
  163. </tr>
  164. <tr class="noble" style="display:none">
  165. <td></td>
  166. <td></td>
  167. <td>座位</td>
  168. <td style="display: none;">人群</td>
  169. <td>零售价</td>
  170. <td><input type="number" value="ticketnum" max="ticketnum" min="0"></td>
  171. <td><input type="checkbox" checked="checked" value="ticketval"></td>
  172. </tr>
  173. </tbody>
  174. </table>
  175. </table>
  176. <span class="ticket-erro" style="color:#e60012;"></span>
  177. </div>
  178. </div>
  179. <div class="form-group" style="display: none;">
  180. <lable class="col-sm-3 control-label">预售天数:</lable>
  181. <div class="col-sm-9">
  182. <input type="number" name="sellday" class="col-sm-2 sellday" min="1" value="7">
  183. </div>
  184. </div>
  185. <div class="page-header"></div>
  186. <div class="form-group">
  187. <lable class="col-sm-3 control-label"></lable>
  188. <p class="col-sm-9">
  189. <bttton class="btn btn-primary storage" value="">保存</bttton>
  190. </p>
  191. </div>
  192. </from>
  193. </div>
  194. </div>
  195. <!--</div>-->
  196. </body>