|
- <?php
- use backend\modules\zzcs\assets\ZzcsAsset;
-
- ZzcsAsset::addCss($this, '/global/css/font-awesome.min.css');
- //ZzcsAsset::addCss($this, '/global/css/ace.min.css');
- //ZzcsAsset::addCss($this, '/global/css/master.css?v3000');
- ZzcsAsset::addCss($this, '/global/css/main.css');
- ZzcsAsset::addCss($this, '/global/css/bootstrap.min.css');
- ZzcsAsset::addCss($this, '/global/css/sweetalert2.min.css');
- ZzcsAsset::addCss($this, '/global/css/bootstrap-timepicker.css');
- ZzcsAsset::addCss($this, '/global/css/datepicker.css');
- ZzcsAsset::addCss($this, '/global/css/daterangepicker.css');
- ZzcsAsset::addCss($this, '/run-bus/css/run_add.css?');
-
- ZzcsAsset::addScript($this, '/global/js/jquery.page.js');
- //ZzcsAsset::addScript($this, '/global/js/jquery.cookie.js');
- //ZzcsAsset::addScript($this, '/global/js/jquery-2.2.4.min.js');
- ZzcsAsset::addScript($this, '/global/js/date-time/bootstrap-datepicker.min.js');
- ZzcsAsset::addScript($this, '/global/js/date-time/bootstrap-timepicker.min.js');
- ZzcsAsset::addScript($this, '/global/js/sweetalert2.min.js');
- ZzcsAsset::addScript($this, '/plug/layer/layer.js');
- ZzcsAsset::addScript($this, '/run-bus/js/run_add.js?v0056');
- ?>
-
- <body>
- <div id="">
-
- <div class="addtime">
- <div class="page-header">
- <label style="font-size: 20px;">添加班次</label>
- </div>
- <from class="form-horizontal">
- <div class="form-group">
- <lable class="col-sm-3 control-label run_line_test">线路:</lable>
- <div class="col-sm-9 line-box">
- <input style="height: 34px;" type="text" class="col-sm-5 add-line" name="line" dataid = "">
- <ul class="line-item" style="margin: 0 0 0 0 ">
- </ul>
- <span class="addline-erro" style="color:#e60012;"></span>
- </div>
- </div>
- <div class="form-group">
- <lable class="col-sm-3 control-label">出发时间:</lable>
- <div class="col-sm-9">
- <div class="input-group col-sm-3" style="margin-left: -11px;padding-left:11px;padding-right: 11px;float: left">
- <input class="form-control date-picker startime" id="id-date-picker-1" type="text" data-date-format="yyyy-mm-dd" name="startime">
- <span class="input-group-addon">
- <i class="icon-calendar bigger-110"></i>
- </span>
- </div>
- <div class="fl lineheight">至</div>
- <div class="input-group col-sm-3" style="float: left;padding-left:11px;padding-right: 11px;">
- <input class="form-control date-picker endtime" id="id-date-picker-2" type="text" data-date-format="yyyy-mm-dd" name="endtime">
- <span class="input-group-addon">
- <i class="icon-calendar bigger-110"></i>
- </span>
- </div>
- <span class="data-erro" style="color:#e60012;"></span>
- </div>
- <lable class="col-sm-3 control-label"></lable>
- </div>
- <div class="form-group">
- <lable class="col-sm-3 control-label"></lable>
- <div class="col-sm-9 weeklist">
- <label>
- <input name="weekall" type="checkbox" class="ace allweek" checked="checked">
- <span class="lbl">全部</span>
- </label>
- <label>
- <input name="week1" type="checkbox" class="ace week1 aday" value="1" checked="checked">
- <span class="lbl">周一</span>
- </label>
- <label>
- <input name="week2" type="checkbox" class="ace week2 aday" value="2" checked="checked">
- <span class="lbl">周二</span>
- </label>
- <label>
- <input name="week2" type="checkbox" class="ace week3 aday" value="3" checked="checked">
- <span class="lbl">周三</span>
- </label>
- <label>
- <input name="week4" type="checkbox" class="ace week4 aday" value="4" checked="checked">
- <span class="lbl">周四</span>
- </label>
- <label>
- <input name="week5" type="checkbox" class="ace week5 aday" value="5" checked="checked">
- <span class="lbl">周五</span>
- </label>
- <label>
- <input name="week6" type="checkbox" class="ace week6 aday" value="6" checked="checked">
- <span class="lbl">周六</span>
- </label>
- <label>
- <input name="week7" type="checkbox" class="ace week7 aday" value="0" checked="checked">
- <span class="lbl">周日</span>
- </label>
- <span class="week-erro" style="color:#e60012;"></span>
- </div>
-
- </div>
- <div class="form-group">
- <lable class="col-sm-3 control-label">途经站点:</lable>
- <div class="col-sm-9">
- <table width="100%" class="table addline-info table-bordered">
- <thead>
- <tr>
- <th width="25%">时间</th>
- <th >站点</th>
- <th width="20%">上下类型</th>
- <th width="13%">检票口</th>
- </tr>
- </thead>
- <tbody class="replace-lineinfo">
- <tr>
- <td class="td1" style="display:none">
- <select name="" id="" class="hour">
- <option value="" >hour</option>
- </select>:
- <select name="" id="" class="minute">
- <option value="">minute</option>
- </select>
-
- </td>
- <td class="td2" style="display:none"> 上海黄浦旅游集散站</td>
- <td class="td3" style="display:none">
- <select style="width: 100px" name="" id="" class="entry">
- <option value="">entry</option>
- </select>
- </td>
- <td style="display:none">
- <select style="width: 55px;" name="" id="" class="mouth">
- <option value="">mouth</option>
- </select>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- <div class="form-group">
- <lable class="col-sm-3 control-label">线路总长:</lable>
- <p class="col-sm-9" style="margin-top:10px;">
- <span id="disp_line_distance" name="disp_line_distance" >-</span>
- </p>
- </div>
- <div class="form-group">
- <lable class="col-sm-3 control-label">车次:</lable>
- <p class="col-sm-9">
- <button class="btn btn-primary add-cartype">添加+</button>
- </p>
- <lable class="col-sm-3 control-label"></lable>
- <div class="car-type col-sm-9">
-
- <div class="car-select">
- <select class="car-brand" style="display: none;">
- <option value="288">金龙</option>
- <option value="289">宇通</option>
- <option value="290">申龙</option>
- <option value="291">江淮</option>
- <option value="292">全顺</option>
- <option value="293">广汽</option>
- <option value="294">梅格</option>
- </select>
- <select class="car-item" onchange="auto_update_cost(this)">
- cartype
- </select>
- <select class="supplier-list" onchange="auto_update_cost(this)">
- supplier_list
- </select>
- <select class="cost-type" onchange="auto_update_cost(this)">
- cost_type
- </select>
- <input class="cost_price" type="text">元
- <input class="car_number" style="display: none;" type="number" value="1" min="1">
-
- <select class="ifseat" style="display: none;">
- <option value="156">可选</option>
- <option value="157">不可选</option>
- </select>
- <span class="del">删除</span>
- </div>
-
- </div>
- <span class="car-erro" style="color:#e60012;"></span>
- </div>
- <div class="form-group">
- <lable class="col-sm-3 control-label">票种:</lable>
- <div class="col-sm-9">
-
- <table width="100%" class="table addline-info table-bordered">
- <thead>
- <tr>
- <th >出发地</th>
- <th >目的地</th>
- <th >座位等级</th>
- <th style="display: none">人群</th>
-
- <!--<th >最多可售</th>-->
- <th style="display: none;">库存</th>
- <th >选择</th>
- </tr>
- </thead>
- <tbody class="able-ticket">
- <tr class="adult" >
- <td class="stararea" starareaid = "SID">START_AREA</td>
- <td class="endarea" endareaid= "EID">END_AREA</td>
- <td class="seatid" seatid="aseatid">SEAT</td>
- <td style="display: none;" class="crowdid" crowdid="acrowdid">CROWD</td>
-
- <!--<td class="ticketnum"><input type="number" value="0" max="ticketnum" min="0"></td>-->
- <td style="display: none;" class="ticketnum">Freesale</td>
- <td><input type="checkbox" checked="checked"
- class="ticket_sel" value="PROD_ID"></td>
- </tr>
- <tr class="child" style="display:none">
- <td></td>
- <td></td>
- <td></td>
- <td></td>
- <td>零售价</td>
- <!--<td><input type="number" value="ticketnum" max="ticketnum" min="0"></td>-->
- <td style="display: none;">Freesale</td>
- <td><input type="checkbox" checked="checked" value="child"></td>
- </tr>
- <tr class="noble" style="display:none">
- <td></td>
- <td></td>
- <td>座位</td>
- <td style="display: none;">人群</td>
- <td>零售价</td>
- <td><input type="number" value="ticketnum" max="ticketnum" min="0"></td>
- <td><input type="checkbox" checked="checked" value="ticketval"></td>
- </tr>
- </tbody>
- </table>
- <span class="ticket-erro" style="color:#e60012"></span>
-
-
- </div>
-
-
- </div>
- <div class="form-group" style="display: none;">
- <lable class="col-sm-3 control-label">预售天数:</lable>
- <div class="col-sm-9">
- <input type="number" class="col-sm-2 sellday" max="7" min="1" value="7" name="sellday">
- </div>
-
- </div>
-
- <div class="page-header"></div>
- <div class="form-group">
- <lable class="col-sm-3 control-label"></lable>
- <p class="col-sm-9">
- <bttton class="btn btn-primary storage" value="">保存</bttton>
- </p>
- </div>
- </from>
- </div>
- </div>
- <!--</div>-->
-
- </body>
|