|
- <!--
- 作者:fuhongcheng_fhc@163.com
- 时间:2016-10-14
- 描述:选择产品
- -->
- <!DOCTYPE html>
- <html>
-
- <head>
- <meta charset="UTF-8">
- <title>选择产品</title>
- <script type="text/javascript" src="../js/angular.1.5.8.js" ></script>
- <link rel="stylesheet" type="text/css" href="../css/ace.min.css" />
- <link rel="stylesheet" type="text/css" href="../css/font-awesome.min.css" />
- <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css" />
- <link rel="stylesheet" type="text/css" href="../css/main.css" />
- <link rel="stylesheet" type="text/css" href="../css/master.css" />
- <link rel="stylesheet" type="text/css" href="../css/combo.select.css" />
- <link rel="stylesheet" href="../css/new_page.css" />
- <link rel="stylesheet" type="text/css" href="css/select_product.css" />
- <style type="text/css">
- th,td{
- text-align: center;
- vertical-align: middle!important;
- }
- input{
- font-size: 13px!important;
- }
- </style>
- </head>
-
-
- <body ng-app="myApp" ng-controller="myVC">
- <!--<div class="navbar navbar-default" style="margin-bottom: 0px;">
- <div class="navbar-header ">
- <a href="#" class="navbar-brand">
- <i class="icon-leaf"></i> CS System<sub style="font-size:12px;position: initial;"> <span id="version_txt"></span></sub>
- </a>
- </div>
- </div>
- <div id="show_html" style="display:none;" class="warp clearfix">
- <div class="control-bar"> </div>
- <div class="control-show" style="float: left;">-->
- <div class="select_product_box iframe_box">
- <!--top type-->
- <div class="product_content">
- <div class="top_line type_btn_cur" typevalue="255">直通巴士</div>
- <div class="top_line btn-primary" typevalue="256">穿梭巴士</div>
- <div class="top_line btn-primary" typevalue="316" style="display: none;">组合线路</div>
- </div>
- <!--middle-->
- <div class="middle" style="padding-top: 25.5px;padding-left: 35px;">
- <span>线路:</span>
- <input id="line" style="width: 200px;" placeholder=" 线路编号 / 线路名称" />
- <!--单一线路-->
- <span class="singline" style="display: inline-block;">
- <span style="margin-left: 20px;">出发地:</span>
- <input type="text" id="start_area" value="" />
- <!--<select id="start_area" style="width: 100px">
- <option value="">请选择</option>
- <option ng-repeat="x in start_area" value="{{x.id}}">{{x.name}}</option>
- </select>-->
- <span style="margin-left: 20px;">目的地:</span>
- <input type="text" id="end_area" value="" />
- <!--<select id="end_area" style="width: 100px">
- <option value="">请选择</option>
- <option ng-repeat="x in end_area" value="{{x.id}}">{{x.name}}</option>
- </select>-->
- </span>
- <!--组合线路-->
- <span class="comline" style="display: none;">
- <span style="margin-left: 20px;">产品线:</span>
- <select id="leimu" style="width: 100px">
- <option value="">请选择</option>
- <option ng-repeat="x in product_line" value="{{x.id}}">{{x.type_name}}</option>
- </select>
- </span>
- <span style="margin-left: 20px;">日期:</span>
- <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})">
- <span id="search_btn" ng-click="searchClick()" class="btn-primary search_btn">查询</span>
- </div>
- <!--table list-->
- <table id="sing-table" class="table table-bordered table-hover" style="margin-top: 20px;">
- <thead>
- <tr>
- <th style="width: 130px;">出发地</th>
- <th style="width: 130px;">目的地</th>
- <th style="width: 480px;">线路</th>
- <th style="width: 130px;">出发时间</th>
- <th style="width: 130px;">到达时间</th>
- <th style="width: 130px;">座位等级</th>
- <th style="width: 80px;">零售价</th>
- <th style="width: 80px;">库存</th>
- <th style="width: 80px;">操作</th>
- </tr>
- </thead>
- <tbody id="single-tbody" style="display: none;">
- <tr ng-repeat="x in product_list">
- <td>{{x.start_area_name}}</td>
- <td>{{x.end_area_name}}</td>
- <td>{{x.property}}{{x.prod_name}}</td>
- <td>{{x.start_time}}</td>
- <td>{{x.end_time}}</td>
- <td>{{x.seat}}</td>
- <td>{{x.price}}</td>
- <td>{{x.stock}}</td>
- <td>
- <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>
- </td>
- </tr>
- </tbody>
- </table>
- <!--com table-->
- <table id="com-table" class="table table-bordered table-hover" style="display: none;margin-top: 20px;">
- <thead>
- <tr>
- <th style="width: 380px;">线路</th>
- <th style="width: 130px;">出发时间</th>
- <th style="width: 130px;">座位等级</th>
- <th style="width: 80px;">零售价</th>
- <th style="width: 80px;">库存</th>
- <th style="width: 80px;">操作</th>
- </tr>
- </thead>
- <tbody>
- <tr ng-repeat="x in com_product_list">
- <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>
- <td>{{x.start_time}}</td>
- <td>{{x.seat_name}}</td>
- <td>{{x.cus_price}}</td>
- <td>{{x.stock}}</td>
- <td>
- <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>
- </td>
- </tr>
- </tbody>
- </table>
- <div class="bulk" style="display: none">
- <form enctype="multipart/form-data">
- <input type="file" name="file" id="file" class="file" style="display: none;"
- accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel, .csv"/>
-
- <div class="" style="display: table">
- <div class="input-group" style="cursor: pointer" onclick="$('#file').click()">
- <div class="input-group-addon" >选择文件</div>
- <input type="text" disabled style="cursor: default !important;" class="form-control" id="file_name" placeholder="请选择文件">
- </div>
- <div class="input-group-addon btn-primary" onclick="upload_import()" >导入</div>
-
- </div>
- </form>
- </div>
- <div class="pageDiv"></div>
- <div class="bulk-info infobox" id="bulk-info" style="display: none">
-
- </div>
- </div>
- <!--select_product_box end-->
-
- <!--</div>-->
- <!--control-show end-->
- <!--</div>-->
- <script type="text/javascript" src="../js/jquery-2.2.4.min.js" ></script>
- <script type="text/javascript" src="../js/common.js" ></script>
- <script type="text/javascript" src="../My97DatePicker/WdatePicker.js"></script>
- <script type="text/javascript" src="../js/jquery.page.js" ></script>
- <script type="text/javascript" src="../js/jquery.combo.select.js" ></script>
- <script src="../js/jquery.cookie.js"></script>
- <script src="../../js/base_path.js" type="text/javascript" charset="utf-8"></script>
- <!--<script src="../js/xm.js"></script>
- <script src="../js/master.js" type="text/javascript" charset="utf-8"></script>
- <script>
- login();
- </script>-->
- <script type="text/javascript" src="js/select_product.js" ></script>
- </body>
- </html>
|