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.
 
 
 
 

346 rivejä
19 KiB

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>班次调度</title>
  6. <link rel="stylesheet" href="css/font-awesome.min.css" charset="UTF-8">
  7. <link rel="stylesheet" href="css/bootstrap.min.css" charset="UTF-8">
  8. <link rel="stylesheet" href="css/master.css" charset="UTF-8">
  9. <link rel="stylesheet" href="css/branchmoney.css" charset="UTF-8">
  10. <link rel="stylesheet" type="text/css" href="css/bootstrap-timepicker.css" />
  11. <!--<link rel="stylesheet" type="text/css" href="css/bootstrap-datapicker.css" />-->
  12. <link rel="stylesheet" type="text/css" href="css/datepicker.css" />
  13. <link rel="stylesheet" type="text/css" href="css/Page.css" />
  14. <script src="js/jquery-2.2.4.min.js"></script>
  15. <script src="js/Page.js"></script>
  16. <!-- <script src="js/bootstrap.min.js"></script> -->
  17. <script src="js/date-time/bootstrap-datepicker.min.js"></script>
  18. <script src="js/date-time/bootstrap-timepicker.min.js"></script>
  19. <script src="js/branchmoney.js"></script>
  20. <script src="js/jquery.cookie.js"></script>
  21. <script src="js/base_path.js" type="text/javascript" charset="utf-8"></script>
  22. <!--<script src="js/xm.js"></script>
  23. <script>
  24. login();
  25. </script>-->
  26. </head>
  27. <body>
  28. <!--<div class="navbar navbar-default" style="margin-bottom: 0px;">
  29. <div class="navbar-header ">
  30. <a href="#" class="navbar-brand">
  31. <i class="icon-leaf"></i>
  32. CS System<sub style="font-size:12px;position: initial;">&nbsp;<span id="version_txt"></span></sub>
  33. </a>
  34. </div>
  35. </div>
  36. <div id="show_html" style="display:none;" class="warp clearfix">
  37. <div class="control-bar">
  38. </div>
  39. <div class="control-show" style="margin-top: 30px;width: 1200px;">-->
  40. <div class="iframe_box" id="">
  41. <div class = "allot" style="width: 1500px;">
  42. <div class="search clearfix">
  43. <div class="col-sm-5" style="width: 33%;">
  44. <lable style="margin-left:14px;" class="control-label">出发地:</lable>
  45. <input style="height:30px; width:70px;" type="text" class="h34" id="start_area">
  46. <lable class="control-label" style="margin-left:5px;">目的地:</lable>
  47. <input style="height:30px; width:70px;" type="text" class="h34" id="end_area">
  48. <lable class="control-label" style="margin-left:5px;">线路:</lable>
  49. <input style="height:30px; width:100px;" type="text" class="h34" id="prod">
  50. </div>
  51. <div style="width:59%;display: block; overflow: hidden; margin-left:-50px;" class="input-group col-sm-4">
  52. <input style="width: 100px; height: 30px; float: left;" class="form-control date-picker" id="id-date-picker-1" type="text" data-date-format="yyyy-mm-dd">
  53. <span class="input-group-addon" style="float: left; height: 30px; width: 40px;">
  54. <i class="icon-calendar bigger-110"></i>
  55. </span>
  56. <span class="input-group-addon" style="border: 0; background: #fff; padding-top: 0; padding: 0; padding-bottom: 0; float: left; line-height: 28px; margin-left: 10px; margin-right: 10px; width:15px;">至</span>
  57. <input style="height: 30px; width: 100px; float: left;" class="form-control date-picker" id="id-date-picker-2" type="text" data-date-format="yyyy-mm-dd">
  58. <span class="input-group-addon" style="float: left; height: 30px; width: 40px;">
  59. <i class="icon-calendar bigger-110"></i>
  60. </span>
  61. <lable class="control-label" style="margin-left:5px;">线路类型:</lable>
  62. <select style="margin-left:10px;height: 28px;" name="bus_type" id="bus_type">
  63. <option value="0">全部</option>
  64. <option value="255">直通巴士</option>
  65. <option value="256">穿梭巴士</option>
  66. <option value="284">城际商务车</option>
  67. </select>
  68. <lable class="control-label" style="margin-left:5px;">线路组合:</lable>
  69. <select style="margin-left:10px;height: 28px;" name="bus_group" id="bus_group">
  70. <option value="0">全部</option>
  71. </select>
  72. <bttton class="btn btn-primary add-cartype searchbtn" style="height: 30px; padding-top: 4px; padding-bottom: 4px;" value="">查询</bttton>
  73. </div>
  74. </div>
  75. <div class="filter clearfix" style="margin-top:30px; margin-bottom:10px;">
  76. <ul>
  77. <li style="margin-left:-15px;"><a style="cursor: pointer;" class="active" onclick="getList(0)">全部</a></li>
  78. <li><a style="cursor: pointer;" onclick="getList(1)">未派</a></li>
  79. <li><a style="cursor: pointer;" onclick="getList(2)">已派</a></li>
  80. <!--<li style="margin-left:30px;"><a style="cursor: pointer;">复制</a></li>-->
  81. <li class="btn btn-primary" style="height:30px; line-height:19px; margin-top:-6px;"><a style="cursor: pointer; background:none; border:none; text-decoration: none; color:#fff;padding:0px;" onclick="reset()">重置</a></li>
  82. <!--<li class="leftmore"><a style="cursor: pointer;" onclick="lock()">锁定</a></li>-->
  83. <!--<li class="leftmore"><a style="cursor: pointer;" onclick="unlock()">解锁</a></li>-->
  84. </ul>
  85. <ul>
  86. <li><a style="cursor: pointer; margin-left: 471px;" onclick="sort(1)">时间排序</a></li>
  87. <li><a style="cursor: pointer;" onclick="sort(2)">已售排序</a></li>
  88. <li><a style="cursor: pointer;" onclick="sort(0)">默认排序</a></li>
  89. </ul>
  90. </div>
  91. <div class="datashow col-sm-12 clearfix">
  92. <div class="col-sm-8" style="width: 72%;">
  93. <table width="100%" class="table table-bordered all-lineinfo">
  94. <thead style="color:#707070;" >
  95. <tr>
  96. <th style=" text-align:center; background: #f2f2f2; background-image: -webkit-gradient(linear, left 0, left 100%, from(#f8f8f8), to(#ececec));" ><input class="ace" onclick="select_checked('0')" type="checkbox" value="lineid"></th>
  97. <th style=" text-align:center; background: #f2f2f2; background-image: -webkit-gradient(linear, left 0, left 100%, from(#f8f8f8), to(#ececec));">线路</th>
  98. <th style=" text-align:center; background: #f2f2f2; background-image: -webkit-gradient(linear, left 0, left 100%, from(#f8f8f8), to(#ececec));" width="12%">出发日期</th>
  99. <th style=" text-align:center; background: #f2f2f2; background-image: -webkit-gradient(linear, left 0, left 100%, from(#f8f8f8), to(#ececec));" width="10%">出发时间</th>
  100. <th style=" text-align:center; background: #f2f2f2; background-image: -webkit-gradient(linear, left 0, left 100%, from(#f8f8f8), to(#ececec));" width="6%">车次</th>
  101. <th style=" text-align:center; background: #f2f2f2; background-image: -webkit-gradient(linear, left 0, left 100%, from(#f8f8f8), to(#ececec));" width="8%">座位数</th>
  102. <th style=" text-align:center; background: #f2f2f2; background-image: -webkit-gradient(linear, left 0, left 100%, from(#f8f8f8), to(#ececec));" width="10%">已售人数</th>
  103. <th style=" text-align:center; background: #f2f2f2; background-image: -webkit-gradient(linear, left 0, left 100%, from(#f8f8f8), to(#ececec));" width="10%">车辆</th>
  104. <th style=" text-align:center; background: #f2f2f2; background-image: -webkit-gradient(linear, left 0, left 100%, from(#f8f8f8), to(#ececec));" width="10%">司机</th>
  105. <th style=" text-align:center; background: #f2f2f2; background-image: -webkit-gradient(linear, left 0, left 100%, from(#f8f8f8), to(#ececec));" width="10%">成本总价</th>
  106. <th style=" text-align:center; background: #f2f2f2; background-image: -webkit-gradient(linear, left 0, left 100%, from(#f8f8f8), to(#ececec));" width="6%">短信</th>
  107. </tr>
  108. </thead>
  109. <tbody class="replace-lineinfo alldrag">
  110. <tr class='line-info'>
  111. <td style=" text-align:center;"><input class="ace" onclick="select_checked('1')" type="checkbox" value="lineid"></td>
  112. <td style=" text-align:center;">line</td>
  113. <td style=" text-align:center;">godate</td>
  114. <td style=" text-align:center;">gotime</td>
  115. <td style=" text-align:center;">carnum</td>
  116. <td style=" text-align:center;">seat</td>
  117. <td style=" text-align:center;">sold</td>
  118. <td style=" text-align:center;" class="cardrap">cartype</td>
  119. <!-- <td class="cardrap">
  120. <div class="acar" st="">
  121. <p class="car-show" dataid="carid">carnum</p>
  122. <span clsss="hide">carname</span>
  123. <span clsss="hide">carseat</span>
  124. </div>
  125. </td> -->
  126. <td style=" text-align:center;" class="driverdrap">drivername</td>
  127. <td style=" text-align:center;" class="costtoale">costtotale</td>
  128. <td style=" text-align:center;" class="sendbutton">sendbutton</td>
  129. </tr>
  130. </tbody>
  131. </table>
  132. <div id="zpage"></div>
  133. </div>
  134. <div class="col-sm-4" style="width: 28%;">
  135. <div class="carinfo" style="width: 100%;">
  136. <label style="font-size: 18px;font-weight: bold;">车辆</label>
  137. <input style="margin-left: 20px;" type="text" name="carNo" id="carNo" value="" oninput="car_change(this.value)" placeholder="车牌号" />
  138. <select style="margin-left:10px;height: 28px;" name="car_company" id="car_company" onchange="car_company_change(this.options[this.selectedIndex].value)">
  139. <option value="0">全部</option>
  140. <option value="1">第一家车公司</option>
  141. </select>
  142. <div class="carfilter clearfix" style="margin-top: -10px">
  143. <div class="col-sm-6" style="width: 100%;margin-bottom: 20px;">
  144. <!--<label class="control-label" style="line-height: 28px;">车牌号:</label>-->
  145. <!--<input type="text" name="carNo" id="carNo" value="" oninput="car_change(this.value)" placeholder="车牌号" />-->
  146. <!--<lable class="control-label">类型:</lable>
  147. <select class="form-control dinline w108" id="">
  148. <option value="">不限</option>
  149. <option value="">自有</option>
  150. <option value="">外调</option>
  151. </select>-->
  152. </div>
  153. <!--<div class="col-sm-6">
  154. <lable class="control-label">公司</lable>
  155. <select class="form-control dinline w108" id="">
  156. <option value="">&nbsp;</option>
  157. </select>
  158. </div>
  159. </div>-->
  160. <div class="carinfodata clearfix" style="height: 400px;margin-bottom: 20px;">
  161. <div class="acar" >
  162. <p class="car-show" dataid="carid">carnum</p>
  163. <span clsss="hide">carname</span>
  164. <span clsss="hide">carseat</span>
  165. </div>
  166. </div>
  167. <label style="font-size: 18px;font-weight: bold;">司机</label>
  168. <input style="margin-left: 20px;" type="text" name="driver" id="driver" value="" oninput="driver_change(this.value)" placeholder="司机姓名/手机号" />
  169. <select style="margin-left:10px;height: 28px;" name="driver_company" id="driver_company" onchange="driver_company_change(this.options[this.selectedIndex].value)">
  170. <option value="0">全部</option>
  171. <option value="1">第一家车公司</option>
  172. </select>
  173. <div class="carfilter clearfix">
  174. <div class="col-sm-6" style="width: 100%;">
  175. <!--<label class="control-label" style="line-height: 28px;">司机:</label>-->
  176. <!--<input type="text" name="driver" id="driver" value="" oninput="driver_change(this.value)" placeholder="司机姓名/手机号" />-->
  177. <!--<lable class="control-label">类型</lable>
  178. <select class="form-control dinline w108" id="">
  179. <option value="">不限</option>
  180. <option value="">自有</option>
  181. <option value="">外调</option>
  182. </select>-->
  183. </div>
  184. <!--<div class="col-sm-6">
  185. <lable class="control-label">公司</lable>
  186. <select class="form-control dinline w108" id="">
  187. </select>
  188. </div>-->
  189. </div>
  190. <div class="driverinfodata clearfix " style="height: 400px;margin-top: -10px;">
  191. <div class="adriver" >
  192. <p class="adriver-show" dataid="driverid">drivername</p>
  193. <span clsss="hide">drivernum</span>
  194. <span clsss="hide">driverphone</span>
  195. </div>
  196. </div>
  197. </div>
  198. </div>
  199. </div>
  200. </div>
  201. <!--结算方式-->
  202. <div class="update_cost_price" style="display:none;width: 640px;padding-bottom: 20px;padding-top:20px;border: 1px solid darkgray;border-radius: 5px;overflow: hidden;">
  203. <span style="width:76px;display: inline-block;text-align: center;">结算方式:</span>
  204. <span style="margin-right: 50px;"><label><input onchange="change_type(this.value)" type="radio" checked="checked" name="type" value="130" />车辆结算</label></span>
  205. <span><label><input onchange="change_type(this.value)" type="radio" name="type" value="129" />车座结算</label></span>
  206. <div style="margin-top:10px;margin-bottom: 20px;height: 1px;border-bottom: 1px dashed lightgray;"></div>
  207. <div id="start_end_area" style="text-align: left;margin-bottom: 20px;">
  208. <!--<span style="margin-left: 20px;"><input type="radio" checked="checked" name="area" value="" />上海-乌镇</span>-->
  209. <span style="margin-left: 20px;"><label><input type="radio" name="area" value="[value]" />[上海-乌镇]</label></span>
  210. <!--<span style="margin-left: 20px;"><input type="radio" name="area" value="" />上海-乌镇</span>-->
  211. </div>
  212. <div id="col_1" class="col-sm-8" style="width: 100%;">
  213. <table width="100%" class="table table-bordered all-lineinfo">
  214. <thead style="color:#707070;" >
  215. <tr>
  216. <th colspan="2" style="text-align:left; background: #f2f2f2; background-image: -webkit-gradient(linear, left 0, left 100%, from(#f8f8f8), to(#ececec));" width="40%">
  217. <span>
  218. <b style="color: red;float: left;">*</b>
  219. <label style="float: left;margin-right: 23px;">成本总价:</label>
  220. <input style="float: left;" type="text" name="" id="cost_price" value="" />
  221. </span>
  222. </th>
  223. </tr>
  224. <tr>
  225. <th style=" text-align:center; background: #f2f2f2; background-image: -webkit-gradient(linear, left 0, left 100%, from(#f8f8f8), to(#ececec));" width="45%">
  226. <span>
  227. <label style="float: left;">&nbsp;车&nbsp;&nbsp;&nbsp;&nbsp;费:</label>
  228. <input oninput="update_price(1)" type="text" name="" id="car_price" value="" />
  229. </span>
  230. </th>
  231. <th style=" text-align:center; background: #f2f2f2; background-image: -webkit-gradient(linear, left 0, left 100%, from(#f8f8f8), to(#ececec));" width="45%">
  232. <span>
  233. <label style="float: left;">&nbsp;司机补贴:</label>
  234. <input oninput="update_price(1)" type="text" name="" id="driver_subsidies" value="" />
  235. </span>
  236. </th>
  237. </tr>
  238. <tr>
  239. <th style=" text-align:center; background: #f2f2f2; background-image: -webkit-gradient(linear, left 0, left 100%, from(#f8f8f8), to(#ececec));" width="45%">
  240. <span>
  241. <label style="float: left;">&nbsp;油&nbsp;&nbsp;&nbsp;&nbsp;费:</label>
  242. <input oninput="update_price(1)" type="text" name="" id="oil_price" value="" />
  243. </span>
  244. </th>
  245. <th style=" text-align:center; background: #f2f2f2; background-image: -webkit-gradient(linear, left 0, left 100%, from(#f8f8f8), to(#ececec));" width="45%">
  246. <span>
  247. <label style="float: left;">&nbsp;餐&nbsp;饮&nbsp;费:</label>
  248. <input oninput="update_price(1)" type="text" name="" id="food_price" value="" />
  249. </span>
  250. </th>
  251. </tr>
  252. <tr>
  253. <th style=" text-align:center; background: #f2f2f2; background-image: -webkit-gradient(linear, left 0, left 100%, from(#f8f8f8), to(#ececec));" width="45%">
  254. <span>
  255. <label style="float: left;">&nbsp;路&nbsp;桥&nbsp;费:</label>
  256. <input oninput="update_price(1)" type="text" name="" id="road_bridge_price" value="" />
  257. </span>
  258. </th>
  259. <th style=" text-align:center; background: #f2f2f2; background-image: -webkit-gradient(linear, left 0, left 100%, from(#f8f8f8), to(#ececec));" width="45%">
  260. <span>
  261. <label style="float: left;">&nbsp;住&nbsp;宿&nbsp;费:</label>
  262. <input oninput="update_price(1)" type="text" name="" id="sleep_price" value="" />
  263. </span>
  264. </th>
  265. </tr>
  266. </thead>
  267. <!--<tbody class="replace-lineinfo alldrag">
  268. <tr class='line-info'>
  269. <td style=" text-align:center;"><input class="ace" onclick="select_checked('1')" type="checkbox" value="lineid"></td>
  270. </tr>
  271. </tbody>-->
  272. </table>
  273. </div>
  274. <!--<div class="profile-info-row">
  275. <div class="profile-info-name" style="background-color: white;">成本总价:</div>
  276. <div class="profile-info-value">
  277. <input name="refund_balance" type="text" style="width: 150px;height: 25px;" />
  278. </div>
  279. </div>-->
  280. <div id="car_seat_line" style="display: none;text-align: left;">
  281. <span style="width:50px;margin-left: 25px;margin-right: 10px;display: inline-block;text-align: center;word-spacing: 3px;">线&nbsp;&nbsp;&nbsp;&nbsp;路:</span>
  282. <span id="seat_line" style="display: inline-block;width: 80%;float: right;">上海-西塘-乌镇</span>
  283. </div>
  284. <div id="car_seat_price" style="display:none;text-align: left;overflow: hidden;margin-top: 10px;">
  285. <span style="width:75px;margin-left: 20px;display: inline-block;text-align: center;">成本单价:</span>
  286. <div id="car_seat_every_price" style="float: right;width: 80%;">
  287. <div style="margin-bottom: 5px;margin-top: 5px;">
  288. <span style="display:inline-block;width:150px;">上海-西塘</span>
  289. <input oninput="update_price(2)" type="text" name="" id="" value="" />
  290. </div>
  291. <span style="display: inline-block;float: right;margin-right: 70px;">成本总价:<b id="car_seat_total_price" style="color: red;">0</b>元</span>
  292. </div>
  293. </div>
  294. <!--车成本备注-->
  295. <br />
  296. <div style="text-align: center;">
  297. <div style="font-weight:bold;text-align: left;margin-left: 15px;">备注</div>
  298. <!--<hr style="width: 1200px;margin-top: 20px;"/>-->
  299. <textarea id="cost_remark" name="remark" rows="5" style="width: 90%;"></textarea>
  300. </div>
  301. <!--车成本备注 end-->
  302. <hr style="width: 1200px;margin-top: 20px;" />
  303. <div style="text-align: center;">
  304. <span id="btn_update_cost_price" style="cursor: pointer;width: 100px;height: 30px;line-height:30px;text-align: center;background-color: gray;display: inline-block;border-radius: 3px;">保存</span>
  305. <span id="btn_shutdown" onclick="click_cancel(null,'.update_cost_price')" style="cursor: pointer;margin-left:10px;width: 100px;height: 30px;line-height:30px;text-align: center;background-color: lightgray;display: inline-block;border-radius: 3px;">关闭</span>
  306. </div>
  307. </div>
  308. <!--结算方式end-->
  309. <!--蒙板-->
  310. <div class="mask" onclick="hide_all()" style="display: none;top: 0;left: 0;margin: 0px;padding: 0px;width: 100%;height: 100%;position: absolute;z-index: 2;background: #000000;opacity: 0.5;"></div>
  311. </div>
  312. </div>
  313. <!--</div>-->
  314. </body>
  315. <!--<script src="js/master.js"></script> -->
  316. <script type="text/javascript">
  317. $(".date-picker").datepicker({
  318. autoclose: true
  319. }).next().on("click", function() {
  320. $(this).prev().focus();
  321. });
  322. </script>
  323. </html>