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.
 
 
 
 

177 lines
7.7 KiB

  1. <!--
  2. 作者:fuhongcheng_fhc@163.com
  3. 时间:2016-10-14
  4. 描述:选择产品
  5. -->
  6. <!DOCTYPE html>
  7. <html>
  8. <head>
  9. <meta charset="UTF-8">
  10. <title>选择产品</title>
  11. <script type="text/javascript" src="../js/angular.1.5.8.js" ></script>
  12. <link rel="stylesheet" type="text/css" href="../css/ace.min.css" />
  13. <link rel="stylesheet" type="text/css" href="../css/font-awesome.min.css" />
  14. <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css" />
  15. <link rel="stylesheet" type="text/css" href="../css/main.css" />
  16. <link rel="stylesheet" type="text/css" href="../css/master.css" />
  17. <link rel="stylesheet" type="text/css" href="../css/combo.select.css" />
  18. <link rel="stylesheet" href="../css/new_page.css" />
  19. <link rel="stylesheet" type="text/css" href="css/select_product.css" />
  20. <style type="text/css">
  21. th,td{
  22. text-align: center;
  23. vertical-align: middle!important;
  24. }
  25. input{
  26. font-size: 13px!important;
  27. }
  28. </style>
  29. </head>
  30. <body ng-app="myApp" ng-controller="myVC">
  31. <!--<div class="navbar navbar-default" style="margin-bottom: 0px;">
  32. <div class="navbar-header ">
  33. <a href="#" class="navbar-brand">
  34. <i class="icon-leaf"></i> 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"> </div>
  40. <div class="control-show" style="float: left;">-->
  41. <div class="select_product_box iframe_box">
  42. <!--top type-->
  43. <div class="product_content">
  44. <div class="top_line type_btn_cur" typevalue="255">直通巴士</div>
  45. <div class="top_line btn-primary" typevalue="256">穿梭巴士</div>
  46. <div class="top_line btn-primary" typevalue="316" style="display: none;">组合线路</div>
  47. </div>
  48. <!--middle-->
  49. <div class="middle" style="padding-top: 25.5px;padding-left: 35px;">
  50. <span>线路:</span>
  51. <input id="line" style="width: 200px;" placeholder="  线路编号 / 线路名称" />
  52. <!--单一线路-->
  53. <span class="singline" style="display: inline-block;">
  54. <span style="margin-left: 20px;">出发地:</span>
  55. <input type="text" id="start_area" value="" />
  56. <!--<select id="start_area" style="width: 100px">
  57. <option value="">请选择</option>
  58. <option ng-repeat="x in start_area" value="{{x.id}}">{{x.name}}</option>
  59. </select>-->
  60. <span style="margin-left: 20px;">目的地:</span>
  61. <input type="text" id="end_area" value="" />
  62. <!--<select id="end_area" style="width: 100px">
  63. <option value="">请选择</option>
  64. <option ng-repeat="x in end_area" value="{{x.id}}">{{x.name}}</option>
  65. </select>-->
  66. </span>
  67. <!--组合线路-->
  68. <span class="comline" style="display: none;">
  69. <span style="margin-left: 20px;">产品线:</span>
  70. <select id="leimu" style="width: 100px">
  71. <option value="">请选择</option>
  72. <option ng-repeat="x in product_line" value="{{x.id}}">{{x.type_name}}</option>
  73. </select>
  74. </span>
  75. <span style="margin-left: 20px;">日期:</span>
  76. <input id="start_date" ng-model="start_date" class="Wdate" style="height: 25px;width: 110px; margin-left: 5px;" placeholder="" type="text" onclick="WdatePicker({doubleCalendar:true,readOnly:false})">
  77. <span id="search_btn" ng-click="searchClick()" class="btn-primary search_btn">查询</span>
  78. </div>
  79. <!--table list-->
  80. <table id="sing-table" class="table table-bordered table-hover" style="margin-top: 20px;">
  81. <thead>
  82. <tr>
  83. <th style="width: 130px;">出发地</th>
  84. <th style="width: 130px;">目的地</th>
  85. <th style="width: 480px;">线路</th>
  86. <th style="width: 130px;">出发时间</th>
  87. <th style="width: 130px;">到达时间</th>
  88. <th style="width: 130px;">座位等级</th>
  89. <th style="width: 80px;">零售价</th>
  90. <th style="width: 80px;">库存</th>
  91. <th style="width: 80px;">操作</th>
  92. </tr>
  93. </thead>
  94. <tbody id="single-tbody" style="display: none;">
  95. <tr ng-repeat="x in product_list">
  96. <td>{{x.start_area_name}}</td>
  97. <td>{{x.end_area_name}}</td>
  98. <td>{{x.property}}{{x.prod_name}}</td>
  99. <td>{{x.start_time}}</td>
  100. <td>{{x.end_time}}</td>
  101. <td>{{x.seat}}</td>
  102. <td>{{x.price}}</td>
  103. <td>{{x.stock}}</td>
  104. <td>
  105. <a target="view_window" style="color: #428bca;cursor: pointer;" onclick="open_new_path(this)" go_path="web/orderManager/{{create_order_url}}&run_id={{x.run_id}}&start_area_id={{x.start_area_id}}&end_area_id={{x.end_area_id}}">下单</a>
  106. </td>
  107. </tr>
  108. </tbody>
  109. </table>
  110. <!--com table-->
  111. <table id="com-table" class="table table-bordered table-hover" style="display: none;margin-top: 20px;">
  112. <thead>
  113. <tr>
  114. <th style="width: 380px;">线路</th>
  115. <th style="width: 130px;">出发时间</th>
  116. <th style="width: 130px;">座位等级</th>
  117. <th style="width: 80px;">零售价</th>
  118. <th style="width: 80px;">库存</th>
  119. <th style="width: 80px;">操作</th>
  120. </tr>
  121. </thead>
  122. <tbody>
  123. <tr ng-repeat="x in com_product_list">
  124. <td><a class="line_title" target="view_window" style="color: #428bca;cursor: pointer;" onclick="open_new_path(this)" go_path="web/orderManager/{{create_order_url}}&run_id={{x.line_id}}&run_date={{start_date}}">{{x.line_code+" "+x.line_name}}</a></td>
  125. <td>{{x.start_time}}</td>
  126. <td>{{x.seat_name}}</td>
  127. <td>{{x.cus_price}}</td>
  128. <td>{{x.stock}}</td>
  129. <td>
  130. <a target="view_window" style="color: #428bca;cursor: pointer;" onclick="open_new_path(this)" go_path="web/orderManager/{{create_order_url}}&run_id={{x.line_id}}&run_date={{start_date}}">下单</a>
  131. </td>
  132. </tr>
  133. </tbody>
  134. </table>
  135. <div class="bulk" style="display: none">
  136. <form enctype="multipart/form-data">
  137. <input type="file" name="file" id="file" class="file" style="display: none;"
  138. accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel, .csv"/>
  139. <div class="" style="display: table">
  140. <div class="input-group" style="cursor: pointer" onclick="$('#file').click()">
  141. <div class="input-group-addon" >选择文件</div>
  142. <input type="text" disabled style="cursor: default !important;" class="form-control" id="file_name" placeholder="请选择文件">
  143. </div>
  144. <div class="input-group-addon btn-primary" onclick="upload_import()" >导入</div>
  145. </div>
  146. </form>
  147. </div>
  148. <div class="pageDiv"></div>
  149. <div class="bulk-info infobox" id="bulk-info" style="display: none">
  150. </div>
  151. </div>
  152. <!--select_product_box end-->
  153. <!--</div>-->
  154. <!--control-show end-->
  155. <!--</div>-->
  156. <script type="text/javascript" src="../js/jquery-2.2.4.min.js" ></script>
  157. <script type="text/javascript" src="../js/common.js" ></script>
  158. <script type="text/javascript" src="../My97DatePicker/WdatePicker.js"></script>
  159. <script type="text/javascript" src="../js/jquery.page.js" ></script>
  160. <script type="text/javascript" src="../js/jquery.combo.select.js" ></script>
  161. <script src="../js/jquery.cookie.js"></script>
  162. <script src="../../js/base_path.js" type="text/javascript" charset="utf-8"></script>
  163. <!--<script src="../js/xm.js"></script>
  164. <script src="../js/master.js" type="text/javascript" charset="utf-8"></script>
  165. <script>
  166. login();
  167. </script>-->
  168. <script type="text/javascript" src="js/select_product.js" ></script>
  169. </body>
  170. </html>