|
|
<script type="text/javascript" src="__STATIC__/jquery-2.0.3.min.js"></script>
|
|
|
<link rel="stylesheet" href="__CSS__/select2.min.css" type="text/css" />
|
|
|
<link rel="stylesheet" href="__CSS__/pro_promote.css" type="text/css" />
|
|
|
<link rel="stylesheet" href="__CSS__/black.css" type="text/css" />
|
|
|
<script src="__STATIC__/jquery.form.js"></script>
|
|
|
<script src="__STATIC__/layer/layer.js"></script>
|
|
|
<script type="text/javascript" src="__JS__/bootstrap.min.js"></script>
|
|
|
<script type="text/javascript" src="__JS__/select2.min.js"></script>
|
|
|
<style>
|
|
|
.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;}
|
|
|
.layui-layer-dialog .layui-layer-content{color:red}
|
|
|
.companys-item{
|
|
|
float: left;
|
|
|
width: 50%;
|
|
|
}
|
|
|
.companys-item .content{
|
|
|
margin-left: 100px;
|
|
|
padding-top: 20px;
|
|
|
}
|
|
|
.companys-item .content .item{
|
|
|
padding-bottom: 20px;
|
|
|
line-height: 2rem;
|
|
|
}
|
|
|
.bill-table td{
|
|
|
text-align: center;
|
|
|
}
|
|
|
</style>
|
|
|
|
|
|
<!-- <div class="cf main-place top_nav_list navtab_list">-->
|
|
|
<!-- <h3 class="page_title">万盟对账单管理</h3>-->
|
|
|
<!-- </div>-->
|
|
|
|
|
|
<!-- 数据列表 -->
|
|
|
<div class="data_list">
|
|
|
<div class="companys">
|
|
|
<div class="companys-left companys-item">
|
|
|
<div class="content">
|
|
|
<div class="item">甲方:{$data['first_party_info']['partner']}</div>
|
|
|
<div class="item">联系人:{$data['first_party_info']['link_man']}</div>
|
|
|
<div class="item">联系电话:{$data['first_party_info']['link_phone']}</div>
|
|
|
<div class="item">邮寄地址:{$data['first_party_info']['address']}</div>
|
|
|
<div class="item">公司税号:{$data['first_party_info']['company_tax_no']}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="companys-right companys-item">
|
|
|
<div class="content">
|
|
|
<div class="item">乙方:{$data['second_party_info']['partner']}</div>
|
|
|
<div class="item">联系人:{$data['second_party_info']['link_man']}</div>
|
|
|
<div class="item">联系电话:{$data['second_party_info']['link_phone']}</div>
|
|
|
<div class="item">邮寄地址:{$data['second_party_info']['address']}</div>
|
|
|
<div class="item">公司税号:{$data['second_party_info']['company_tax_no']}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<strong style="margin-bottom: 10px">支付给:{$data['receive_company']}</strong>
|
|
|
|
|
|
<table style="margin-top: 15px" class="bill-table">
|
|
|
<!-- 表头 -->
|
|
|
<thead>
|
|
|
<tr>
|
|
|
<th>结算时间</th>
|
|
|
<th >产品</th>
|
|
|
<th >平台总额</th>
|
|
|
<th >甲方分成比例</th>
|
|
|
<th >乙方分成比例</th>
|
|
|
<th >渠道费率</th>
|
|
|
<th >税费费率</th>
|
|
|
<th >结算金额(乙)<br>结算金额=平台总额*(1-渠道费)*分成比例*(1-税费费率)</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<!-- 列表 -->
|
|
|
<tbody>
|
|
|
<style>
|
|
|
.data-table thead th, .data-table tbody td{text-align:center}
|
|
|
.data-table tbody td{border-right:1px solid #DDDDDD;}
|
|
|
.d_list .drop-down ul {z-index:999;}
|
|
|
</style>
|
|
|
<if condition = "empty($data)">
|
|
|
<tr>
|
|
|
<td colspan="14" class="text-center">aOh! 暂时还没有内容!</td>
|
|
|
</tr>
|
|
|
</if>
|
|
|
<notemtpy name = "data">
|
|
|
<volist name="data.statement_info" id="item">
|
|
|
<if condition="$item.statement_type eq 1">
|
|
|
|
|
|
<tr>
|
|
|
<td >-</td>
|
|
|
<td >{$item.type_name}</td>
|
|
|
<td >{$item.pay_amount}</td>
|
|
|
<td >-</td>
|
|
|
<td >-</td>
|
|
|
<td >-</td>
|
|
|
<td >-</td>
|
|
|
<td >{$item.sum_money}</td>
|
|
|
</tr>
|
|
|
|
|
|
<else/>
|
|
|
|
|
|
<tr>
|
|
|
<td >{$item.statement_begin_time}-{$item.statement_end_time}</td>
|
|
|
<td >{$item.game_name}</td>
|
|
|
<td >{$item.pay_amount}</td>
|
|
|
<td >{$item.first_ratio}%</td>
|
|
|
<td >{$item.second_ratio}%</td>
|
|
|
<td >{$item.promote_ratio}%</td>
|
|
|
<td >{$item.fax_ratio}%</td>
|
|
|
<td >{$item.sum_money}</td>
|
|
|
</tr>
|
|
|
|
|
|
</if>
|
|
|
|
|
|
</volist>
|
|
|
<tr>
|
|
|
<td><span>总计</span></td>
|
|
|
<td><span>-</span></td>
|
|
|
<td ><span><if condition="$all_pay_amount neq ''">{$all_pay_amount}<else/>-</if></span></td>
|
|
|
<td>-</td>
|
|
|
<td>-</td>
|
|
|
<td>-</td>
|
|
|
<td>-</td>
|
|
|
<td><if condition="$all_sum_money neq ''">{$all_sum_money}<else/>0</if></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td><span>本月分成总金额(人民币大写):</span></td>
|
|
|
<td>-</td>
|
|
|
<td >-</td>
|
|
|
<td>-</td>
|
|
|
<td>-</td>
|
|
|
<td>-</td>
|
|
|
<td>-</td>
|
|
|
<td><if condition="$big_all_sum_money neq ''">{$big_all_sum_money}<else/>零</if></td>
|
|
|
</tr>
|
|
|
</notemtpy>
|
|
|
|
|
|
</tbody>
|
|
|
</table>
|
|
|
|
|
|
<div class="companys">
|
|
|
<?php if($data['pay_type'] == 1):?>
|
|
|
<div class="companys-left companys-item">
|
|
|
<div class="content">
|
|
|
<div class="item">收款方名称:{$data['first_party_info']['partner']}</div>
|
|
|
<div class="item">银行账号:{$data['first_party_info']['bank_account']}</div>
|
|
|
<div class="item">开户行:{$data['first_party_info']['opening_bank']}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="companys-right companys-item">
|
|
|
<div class="content">
|
|
|
<div class="item">付款方名称:{$data['second_party_info']['partner']}</div>
|
|
|
<div class="item">银行账号:{$data['second_party_info']['bank_account']}</div>
|
|
|
<div class="item">开户行:{$data['second_party_info']['opening_bank']}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<?php else:?>
|
|
|
<div class="companys-left companys-item">
|
|
|
<div class="content">
|
|
|
<div class="item">收款方名称:{$data['second_party_info']['partner']}</div>
|
|
|
<div class="item">银行账号:{$data['second_party_info']['bank_account']}</div>
|
|
|
<div class="item">开户行:{$data['second_party_info']['opening_bank']}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="companys-right companys-item">
|
|
|
<div class="content">
|
|
|
<div class="item">付款方名称:{$data['first_party_info']['partner']}</div>
|
|
|
<div class="item">银行账号:{$data['first_party_info']['bank_account']}</div>
|
|
|
<div class="item">开户行:{$data['first_party_info']['opening_bank']}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<?php endif?>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<form id="form" action="{:U('confirm')}" method="post" class="form-horizontal">
|
|
|
<input type="hidden" name="id" value="{$data.id}" id="id">
|
|
|
<input type="hidden" name="is_confirm" value="{$data.is_confirm}" id="is_confirm">
|
|
|
</form>
|
|
|
|
|
|
<?php if(empty($from)):?>
|
|
|
<div class="form-item cf">
|
|
|
|
|
|
<button class="submit_btn ajax-post" id="confirm" type="button" target-form="form-horizontal" style="float: right;
|
|
|
margin-right: 20px;margin-bottom: 20px;">
|
|
|
确认订单
|
|
|
</button>
|
|
|
</div>
|
|
|
<?php endif?>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
<block name="script">
|
|
|
<script>
|
|
|
<volist name=":I('get.')" id="vo">
|
|
|
Think.setValue('{$key}',"{$vo}");
|
|
|
</volist>
|
|
|
</script>
|
|
|
<script type="text/javascript">
|
|
|
//导航高亮
|
|
|
$(".show").click(function () {
|
|
|
var url = $(this).data('url');
|
|
|
layer.open({
|
|
|
type: 2,
|
|
|
title: '海南万盟天下有限公司',
|
|
|
shadeClose: true,
|
|
|
shade: 0.8,
|
|
|
area: ['70%', '80%'],
|
|
|
content: url
|
|
|
});
|
|
|
});
|
|
|
|
|
|
|
|
|
$(function(){
|
|
|
$('#confirm').click(function () {
|
|
|
if (parseInt($('#is_confirm').val()) == 1) {
|
|
|
alert('账单已确认');
|
|
|
return false;
|
|
|
}
|
|
|
var url = "{:U('confirm')}";
|
|
|
$.post(url,{id:$('#id').val()}, function (res) {
|
|
|
console.log(res)
|
|
|
if (res.status) {
|
|
|
alert(res.info);
|
|
|
setTimeout(function () {
|
|
|
window.parent.location.reload();
|
|
|
}, 500)
|
|
|
} else {
|
|
|
alert(res.info);
|
|
|
}
|
|
|
})
|
|
|
})
|
|
|
})
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
</block> |