You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
269 lines
11 KiB
HTML
269 lines
11 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<meta charset="UTF-8">
|
|
<title></title>
|
|
<link rel="stylesheet" type="text/css" href="__CSS__/base.css" media="all">
|
|
<link rel="stylesheet" type="text/css" href="__CSS__/common.css" media="all">
|
|
<link rel="stylesheet" type="text/css" href="__CSS__/style.css" media="all">
|
|
<link rel="stylesheet" type="text/css" href="__CSS__/default_color.css" media="all">
|
|
<link href="__STATIC__/datetimepicker/css/datetimepicker.css" rel="stylesheet" type="text/css">
|
|
<link href="__STATIC__/datetimepicker/css/dropdown.css" rel="stylesheet" type="text/css">
|
|
<link rel="stylesheet" href="__CSS__/select2.min.css" type="text/css" />
|
|
|
|
<script type="text/javascript" src="__STATIC__/jquery-2.0.3.min.js"></script>
|
|
<script type="text/javascript" src="__JS__/select2.min.js"></script>
|
|
<script type="text/javascript" src="__STATIC__/layer3/layer.js"></script>
|
|
<script type="text/javascript" src="__STATIC__/datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
|
|
<script type="text/javascript" src="__STATIC__/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js"charset="UTF-8"></script>
|
|
<script src="__STATIC__/juicer-min.js" type="text/javascript"></script>
|
|
<script src="__STATIC__/table2excel.js"></script>
|
|
</head>
|
|
<style>
|
|
html {
|
|
min-width:100%;
|
|
}
|
|
body {
|
|
padding: 0px 10px 150px 10px;
|
|
/* width: 960px; */
|
|
margin: auto;
|
|
}
|
|
/* .tabcon1711 table{
|
|
width: 480px;
|
|
} */
|
|
table{
|
|
|
|
margin: auto;
|
|
}
|
|
tr{
|
|
border-bottom: dotted 1px #c7c7c7;
|
|
}
|
|
.hidebox{
|
|
display: none;
|
|
}
|
|
.r{
|
|
width: 300px;
|
|
}
|
|
.l{
|
|
width: 180px;
|
|
}
|
|
.select2-container--default .select2-selection--single {
|
|
color: #000;
|
|
resize: none;
|
|
border-width: 1px;
|
|
border-style: solid;
|
|
border-color: #a7b5bc #ced9df #ced9df #a7b5bc;
|
|
box-shadow: 0px 3px 3px #F7F8F9 inset;
|
|
height: 35px;
|
|
height: 28px;
|
|
border-radius: 3px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.select2-container--default .select2-selection--single .select2-selection__rendered {
|
|
line-height: 35px;
|
|
line-height: 28px;
|
|
}
|
|
|
|
.select2-container--default .select2-selection--single .select2-selection__arrow {
|
|
height: 26px;
|
|
}
|
|
|
|
.select2-container--default .select2-search--dropdown .select2-search__field {
|
|
height: 26px;
|
|
line-height: 26px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.select2-results__option[aria-selected] {
|
|
font-size: 12px;
|
|
}
|
|
.input-list, .i_list {
|
|
float: left;
|
|
margin: 0;
|
|
}
|
|
|
|
</style>
|
|
<body>
|
|
<!-- <div style="width: 100%;line-height: 100px;font-size: 25px;font-weight: 600;text-align: center;">
|
|
海南万盟天下科技有限公司
|
|
</div> -->
|
|
|
|
<div class="data_list box_mt" style="margin-top: 10px;">
|
|
<div class="">
|
|
<table id="exporttable">
|
|
<!-- 表头 -->
|
|
<thead>
|
|
<tr>
|
|
<th>归属团体</th>
|
|
<th>下游名称</th>
|
|
<th>下游性质</th>
|
|
<th>产品</th>
|
|
<th>产品类型</th>
|
|
<th>结算时间</th>
|
|
<th>推广流水</th>
|
|
<th>分成比例</th>
|
|
<th>税率</th>
|
|
<th>奖励</th>
|
|
<th>罚款</th>
|
|
<th>结算金额</th>
|
|
<if condition="$is_payment eq 2">
|
|
<th>开户名</th>
|
|
<th>银行卡号</th>
|
|
<th>开户支行</th>
|
|
<th>帐户类型</th>
|
|
</if>
|
|
<if condition="$is_payment eq 1">
|
|
<th>支付宝真实姓名</th>
|
|
<th>支付宝账号</th>
|
|
</if>
|
|
|
|
<th>备注</th>
|
|
<th>是否结算</th>
|
|
<if condition="!$is_export">
|
|
<th>操作</th>
|
|
</if>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody id="statementShow">
|
|
<foreach name="data" item="com">
|
|
<tr>
|
|
<td rowspan="{$com.statement_count}">{$com.company_belong_name}</td>
|
|
<td rowspan="{$com.statement_count}">{$com.company_name}</td>
|
|
|
|
<td rowspan="{$com.statement_count}">聚合</td>
|
|
|
|
<td>{$com['statement_info'][0]['game_name']}</td>
|
|
<td>{$com['statement_info'][0]['game_type']}</td>
|
|
<td>{$com['statement_info'][0]['begintime']} - {$com['statement_info'][0]['endtime']}</td>
|
|
<td>{$com['statement_info'][0]['money']}</td>
|
|
<if condition="$com['statement_info'][0]['statement_type'] neq 0">
|
|
<td></td>
|
|
<td></td>
|
|
<else />
|
|
<td>{$com['statement_info'][0]['ratio']|default=0}%</td>
|
|
<td>{$com['statement_info'][0]['fax_ratio']|default=0}%</td>
|
|
</if>
|
|
|
|
<!-- <td>{$com['statement_info'][0]['reward']}</td>-->
|
|
<!-- <td>{$com['statement_info'][0]['fine']}</td>-->
|
|
<td>0</td>
|
|
<td>0</td>
|
|
<td>{$com['statement_info'][0]['ratio_money']}</td>
|
|
|
|
<if condition="$is_payment eq 2">
|
|
<td rowspan="{$com.statement_count}">{$com.company_info.payee_name}</td>
|
|
<td rowspan="{$com.statement_count}"> {$com.company_info.bank_account}</td>
|
|
<td rowspan="{$com.statement_count}">{$com.company_info.opening_bank}</td>
|
|
<td rowspan="{$com.statement_count}">企业账户</td>
|
|
</if>
|
|
|
|
<if condition="$is_payment eq 1">
|
|
<td rowspan="{$com.statement_count}">{$com.company_info.ali_user}</td>
|
|
<td rowspan="{$com.statement_count}">{$com.company_info.ali_account}</td>
|
|
</if>
|
|
|
|
<td rowspan="{$com.statement_count}">{$com.remark}</td>
|
|
<td rowspan="{$com.statement_count}"><if condition="$com['st'] eq 0">否 <else /> 是 </if></td>
|
|
<if condition="!$is_export">
|
|
<td rowspan="{$com.statement_count}">
|
|
<if condition="($com['st'] eq 1 ) AND ($pool_status lt 1)">
|
|
<a data-id="{$com['id']}" class='butn no_statement' style="cursor:pointer">不结算</a>
|
|
</if>
|
|
</td>
|
|
</if>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
<foreach name="com.statement_info" item="it" key="k">
|
|
<if condition="$k neq 0">
|
|
<tr>
|
|
<td>{$it['game_name']}</td>
|
|
<td>{$it['game_type']}</td>
|
|
<td>{$it['begintime']} - {$it['endtime']}</td>
|
|
<td>{$it['money']}</td>
|
|
|
|
<if condition="$it['statement_type'] neq 0">
|
|
<td></td>
|
|
<td></td>
|
|
<else />
|
|
<td>{$it['ratio']|default=0}%</td>
|
|
<td>{$it['fax_ratio']|default=0}%</td>
|
|
</if>
|
|
|
|
<!-- <td>{$it['reward']}</td>-->
|
|
<!-- <td>{$it['fine']}</td>-->
|
|
<td>0</td>
|
|
<td>0</td>
|
|
<td>{$it['ratio_money']}</td>
|
|
|
|
</tr>
|
|
</if>
|
|
</foreach>
|
|
</foreach>
|
|
<tr>
|
|
<td colspan=6 >合计:</td>
|
|
<td>{$count.platform_amount|default=0}</td>
|
|
<td></td>
|
|
<td></td>
|
|
<td></td>
|
|
<td></td>
|
|
<td>{$count.sum_money|default=0}</td>
|
|
<if condition="$is_payment eq 2">
|
|
<td></td>
|
|
<td></td>
|
|
<td></td>
|
|
<td></td>
|
|
</if>
|
|
<if condition="$is_payment eq 1">
|
|
<td></td>
|
|
<td></td>
|
|
</if>
|
|
<td></td>
|
|
<td></td>
|
|
<if condition="!$is_export">
|
|
<td></td>
|
|
</if>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
<script>
|
|
<if condition="$is_export">
|
|
$(function(){
|
|
$("#exporttable").table2excel({
|
|
filename: "{$title}.xls", // do include extension
|
|
preserveColors: false // set to true if you want background colors and font colors preserved
|
|
});
|
|
});
|
|
</if>
|
|
$(".no_statement").on("click",function(){
|
|
var id = $(this).data('id');
|
|
$.ajax({
|
|
type: "POST",
|
|
url: "{:U('cancelStatement')}",
|
|
dataType: 'json',
|
|
async: false,
|
|
data: {id:id},
|
|
success:function(data){
|
|
if(data.status==1){
|
|
layer.msg("<font style='color:white'>" + data.info + "</font>");
|
|
setTimeout(function(){
|
|
window.location.reload();
|
|
},1500);
|
|
}else{
|
|
layer.msg("<font style='color:white'>" + data.info + "</font>");
|
|
return false;
|
|
}
|
|
}
|
|
});
|
|
})
|
|
</script>
|
|
</html>
|