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

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