固定表头

webUi
赵桐华 5 years ago
parent 69eca5debd
commit e7243683b8
  1. 210
      frontend/views/finance/ticheng-jisuan.php

@ -131,179 +131,57 @@ use \common\libs\MyLib;
</form> </form>
</div> </div>
</div> </div>
</div>
<div class="wrapper wrapper-content animated fadeInRight">
<div class="ibox float-e-margins"> <div class="ibox float-e-margins">
<div class="ibox-title"> <div class="ibox-content">
<h5>车险提成管理</h5> <div class="row">
<div class="ibox-tools"> <div class="col-md-12">
<a class="btn btn-primary btn-xs edit-btn" data-id="0" href="javascript:void(0);" onclick="$('#listTable').bootstrapTable('refresh');"> <table id="listTable">
<i class="fa fa-refresh"></i> 刷新 <thead class="bg-warning">
</a> <tr>
</div> <th data-field="state" data-checkbox="true"></th>
</div> <th width="50" data-field="id">ID</th>
<div class="ibox-content"> <th data-field="car_no">车牌号</th>
<form role="form" id="searchFrm" class="form-inline" onsubmit="return search();"> <th data-field="id_man">被保险人</th>
<div class="form-group" style="margin-bottom: 8px;"> <th data-field="company_name">保险公司</th>
<label for="car_no">业务员</label> <th data-field="insurer_no">保单号</th>
<div class="input-group"> <th data-field="print_date">出单日期</th>
<input type="text" id="user_names" name="user_names" class="form-control"> <th data-field="total_clear">商业净保费</th>
<a class="input-group-addon" onclick="selUserDlg('user_names')">+</a> <th data-field="total_rate">手续费比例</th>
</div> <th data-field="yeji_rate">基本提成比例</th>
</div> <th data-field="yeji_ticheng">基本提成</th>
<div class="form-group" style="margin-bottom: 8px;"> <th data-field="ticheng_zong_rate">加点提成比例</th>
<label for="engine_no">车牌类型</label> <th data-field="ticheng_money">加点提成</th>
<select name="car_no_type" class="form-control"> <th data-field="gift1_price">自费礼品</th>
<option value="0" >所有类型</option> <th data-field="gift2_price">自费礼券</th>
<option value="1">京牌</option> <th data-field="yuangong_money">自费减免金额</th>
<option value="2">非京牌</option> <th data-field="yewu_ticheng">提成</th>
</select> <th data-field="op_user">业务员</th>
</div> <th data-field="first_xinbao_ticheng">原新保提成</th>
<div class="form-group" style="margin-bottom: 8px;"> <th data-field="op_user1">原新保业务员</th>
<label for="engine_no">保险公司</label> <th data-field="hebao_ticheng">核保提成</th>
<select name="company_id" class="form-control"> <th data-field="op1_user">核保业务员</th>
<option value="0">全部</option> <th data-field="zhengben_ticheng">正本提成</th>
<?php <th data-field="op2_user">正本业务员</th>
foreach($company_items as $item) { <th data-field="dz_ticheng1">团队长组1提成</th>
echo '<option value="'.$item->id.'">'.$item->name.'</option>'; <th data-field="dz_names1">团队长组1</th>
} <th data-field="dz_ticheng2">团队长组2提成</th>
?> <th data-field="dz_names2">团队长组2</th>
</select> <th data-field="dz_ticheng3">团队长组3提成</th>
</div> <th data-field="dz_names3">团队长组3</th>
<div class="form-group" style="margin-bottom: 8px;"> <th data-field="dz_ticheng4">团队长组4提成</th>
<label for="engine_no">险种类型</label> <th data-field="dz_names4">团队长组4</th>
<select name="insurer_type" class="form-control"> <th data-field="dz_ticheng5">团队长组5提成</th>
<option value="1">商业</option> <th data-field="dz_names5">团队长组5</th>
<option value="2">商业+交强</option> </tr>
</select> </thead>
</div> </table>
<div class="form-group" style="margin-bottom: 8px;">
<label for="engine_no">车牌号</label>
<input type="text" id="car_no" name="car_no" class="form-control">
</div>
<div class="form-group" style="margin-bottom: 8px;">
<label for="datepicker1">出单日期</label>
<div class="input-group input-daterange" id="datepicker1">
<input type="text" class="input-sm form-control" id="begin_date" name="begin_date" value="" autocomplete="off" />
<span class="input-group-addon"></span>
<input type="text" class="input-sm form-control" id="end_date" name="end_date" value="" autocomplete="off" />
</div>
</div>
<div class="form-group" style="margin-bottom: 8px;">
<label for="engine_no">商业净保费</label>
<div class="input-group">
<input type="text" id="begin_totalclear" name="begin_totalclear" class="form-control">
<div class="input-group-addon">-</div>
<input type="text" id="end_totalclear" name="end_totalclear" class="form-control">
</div> </div>
</div> </div>
<div class="form-group" style="margin-bottom: 8px;">
<label for="engine_no">级别</label>
<select name="group_id" class="form-control">
<option value="0">全部</option>
<?php
foreach($group_items as $item) {
echo '<option value="'.$item->id.'">'.$item->name.'</option>';
}
?>
</select>
</div>
<button type="submit" class="btn btn-primary mb-8">搜索</button>
<button type="button" class="btn btn-primary mb-8">导出</button>
<hr>
<div class="form-group" style="margin-bottom: 8px;">
<label for="engine_no">基本提成比例</label>
<input type="text" id="yeji_rate" name="yeji_rate" class="form-control">
</div>
<div class="form-group" style="margin-bottom: 8px;">
<label for="engine_no">团队长组</label>
<select name="dz_group" class="form-control">
<option value="0">请选择</option>
<option value="1">团队长组1</option>
<option value="2">团队长组2</option>
<option value="3">团队长组3</option>
<option value="4">团队长组4</option>
<option value="5">团队长组5</option>
</select>
</div>
<div class="form-group" style="margin-bottom: 8px;">
<label for="engine_no">团队长提成比例</label>
<input type="text" id="dz_rate" name="dz_rate" class="form-control">
</div>
<div class="form-group" style="margin-bottom: 8px;">
<label for="engine_no">团队长</label>
<div class="input-group">
<input type="text" id="dz_names" name="dz_names" class="form-control">
<a class="input-group-addon" onclick="selUserDlg('dz_names')">+</a>
</div>
</div>
<div class="form-group" style="margin-bottom: 8px;">
<label for="engine_no">核保提成</label>
<input type="text" id="hebao_ticheng" name="hebao_ticheng" class="form-control">
</div>
<div class="form-group" style="margin-bottom: 8px;">
<label for="engine_no">正本提成</label>
<input type="text" id="zhengben_ticheng" name="zhengben_ticheng" class="form-control">
</div>
<div class="form-group" style="margin-bottom: 8px;">
<label for="engine_no">送单提成</label>
<input type="text" id="songdan_ticheng" name="songdan_ticheng" class="form-control">
</div>
<div class="form-group" style="margin-bottom: 8px;">
<label for="engine_no">原新保提成比例</label>
<input type="text" id="first_xinbao_rate" name="first_xinbao_rate" class="form-control">
</div>
<button type="button" class="btn btn-primary mb-8 calc-btn">计算</button>
<hr>
</form>
<div class="row">
<div class="col-md-12">
<table id="listTable">
<thead class="bg-warning">
<tr>
<th data-field="state" data-checkbox="true"></th>
<th width="50" data-field="id">ID</th>
<th data-field="car_no">车牌号</th>
<th data-field="id_man">被保险人</th>
<th data-field="company_name">保险公司</th>
<th data-field="insurer_no">保单号</th>
<th data-field="print_date">出单日期</th>
<th data-field="total_clear">商业净保费</th>
<th data-field="total_rate">手续费比例</th>
<th data-field="yeji_rate">基本提成比例</th>
<th data-field="yeji_ticheng">基本提成</th>
<th data-field="ticheng_zong_rate">加点提成比例</th>
<th data-field="ticheng_money">加点提成</th>
<th data-field="gift1_price">自费礼品</th>
<th data-field="gift2_price">自费礼券</th>
<th data-field="yuangong_money">自费减免金额</th>
<th data-field="yewu_ticheng">提成</th>
<th data-field="op_user">业务员</th>
<th data-field="first_xinbao_ticheng">原新保提成</th>
<th data-field="op_user1">原新保业务员</th>
<th data-field="hebao_ticheng">核保提成</th>
<th data-field="op1_user">核保业务员</th>
<th data-field="zhengben_ticheng">正本提成</th>
<th data-field="op2_user">正本业务员</th>
<th data-field="dz_ticheng1">团队长组1提成</th>
<th data-field="dz_names1">团队长组1</th>
<th data-field="dz_ticheng2">团队长组2提成</th>
<th data-field="dz_names2">团队长组2</th>
<th data-field="dz_ticheng3">团队长组3提成</th>
<th data-field="dz_names3">团队长组3</th>
<th data-field="dz_ticheng4">团队长组4提成</th>
<th data-field="dz_names4">团队长组4</th>
<th data-field="dz_ticheng5">团队长组5提成</th>
<th data-field="dz_names5">团队长组5</th>
</tr>
</thead>
</table>
</div>
</div> </div>
</div> </div>
</div>
</div> </div>
<?php $this->beginBlock('footer_js'); ?> <?php $this->beginBlock('footer_js'); ?>
<script src="/assets/js/plugins/bootstrap-table/bootstrap-table.min.js"></script> <script src="/assets/js/plugins/bootstrap-table/bootstrap-table.min.js"></script>
<script src="/assets/js/plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script> <script src="/assets/js/plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script>

Loading…
Cancel
Save