|
|
<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: 50px;
|
|
|
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['second_party_info']['partner']}</div>
|
|
|
<div class="item">提现单号:{$data['ext_field']}</div>
|
|
|
<div class="item">订单类型:{$data['second_party_info']['settlement_type']}</div>
|
|
|
<div class="item">联系人:{$data['second_party_info']['link_man']}</div>
|
|
|
<div class="item">联系电话:{$data['second_party_info']['link_phone']}</div>
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="companys-right companys-item">
|
|
|
<div class="content">
|
|
|
<div class="item">户名:{$data['second_party_info']['bank_account_name']}</div>
|
|
|
<div class="item">银行账号:{$data['second_party_info']['bank_account']}</div>
|
|
|
<div class="item">开户行:{$data['second_party_info']['opening_bank']}</div>
|
|
|
<div class="item">邮寄地址:{$data['second_party_info']['address']}</div>
|
|
|
<div class="item">开票项目:{$data['second_party_info']['invoice_item']}</div>
|
|
|
<div class="item">发票类型:{$data['second_party_info']['invoice_type']}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<table style="margin-top: 15px" class="bill-table">
|
|
|
<!-- 表头 -->
|
|
|
<thead>
|
|
|
<tr>
|
|
|
<th>结算时间</th>
|
|
|
<th >产品</th>
|
|
|
<th >平台总额</th>
|
|
|
<if condition = "$data.second_party_info.settlement_type eq '补点订单'">
|
|
|
<th >补点比例</th>
|
|
|
<else/>
|
|
|
<th >分成比例</th>
|
|
|
</if>
|
|
|
<th >税费费率</th>
|
|
|
<th >结算金额(元)</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 or $item.statement_type eq 2">
|
|
|
|
|
|
<tr>
|
|
|
<td >-</td>
|
|
|
<td >{$item.type_name}</td>
|
|
|
<td >{$item.sum_money}</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.second_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="$data.pay_amount neq ''">{$data.pay_amount}<else/>0</if></span></td>
|
|
|
<td>-</td>
|
|
|
<td>-</td>
|
|
|
<td><if condition="$data.statement_money neq ''">{$data.statement_money}<else/>0</if></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td><span>本月分成总金额(人民币大写):</span></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">
|
|
|
<div class="companys-left companys-item" style="width: 100%">
|
|
|
<div class="content">
|
|
|
<div class="item">甲方:{$data['first_party_info']['jfCompany']}</div>
|
|
|
<div class="item">联系人:{$data['first_party_info']['jfPerson']}</div>
|
|
|
<div class="item">联系电话:{$data['first_party_info']['jfTel']}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</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> |