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.

181 lines
6.4 KiB
HTML

5 years ago
<extend name="Public/manage" />
<block name="head">
<link href="__CSS__/pagination.css" rel="stylesheet">
<link href="__CSS__/datetimepicker.css" rel="stylesheet">
<link href="__CSS__/dropdown.css" rel="stylesheet">
<link href="__CSS__/user_zxy.css" rel="stylesheet">
<script src="__JS__/bootstrap-datetimepicker.min.js"></script>
<script src="__JS__/bootstrap-datetimepicker.zh-CN.js"></script>
<script src="__JS__/bootstrap-select.min.js"></script>
</block>
<block name="location">
<a class="z_nav" href="{:U('Query/incomesettlement')}">订单结算</a>
<a class="z_nav curt_nav" href="{:U('Query/ordersearch')}">收入结算</a>
</block>
<block name="body">
<div class="matter_right_content border_right">
<div class="tabcontent">
<form action="" method="get">
<div class=" matter_right_search server_search clearfix jssearch">
<div class="mrc_colum0_8_3 mrc form-group right" style="margin-right: 0;">
<a class="btn btn_primary user_btn export_btn matter_export" href="{:U('Export/expUser',array(
'id'=>1,
'pay_status'=>1,
'developers'=>$uid,
'pay_way'=>I('pay_way'),
'game_id'=>I('game_id'),
'start_time'=>I('start_time'),
'end_time'=>I('end_time'),
))}"><i class="export_icon"></i><span>导出数据</span></a>
</div>
<div class="mrc_colum0_8_3 mrc form-group">
<a class="sch-btn btn btn_primary user_btn" href="javascript:;" id="search" url="{:U('Query/ordersearch','model='.$model['name'],false)}">搜索</a>
</div>
<div class="mrc_colum1_3_3 mrc form-group">
<input type="text" name="user_account" value="{:I('user_account')}" class="form-control egretFormFont13" placeholder="用户名称">
</div>
<div class="mrc_colum1_3_3 mrc form-group">
<select id="pay_way_id" name="pay_way" class="form-control selectpicker">
<option value="">充值方式</option>
<volist name=":get_pay_way_list()" id="vo">
<option value="{$vo.key}">{$vo.value}</option>
</volist>
</select>
</div>
<div class="mrc mrc_colum3_5 form-group registerdetail form-inline">
<div class="input-group" style="margin-right: 10px;">
<input id="startDate" class="form-control fwsub hasDatepicker" type="text" name="start_time" value="{:I('start_time')}" placeholder="开始时间">
<span class="arrow_icon"></span>
</div>
<div class="input-group">
<input id="endDate" class="form-control fwsub hasDatepicker" type="text" name="end_time" value="{:I('end_time')}" placeholder="结束时间">
<span class="arrow_icon"></span>
</div>
</div>
<div class="mrc_colum1_3_3 mrc form-group">
<select id="gameId" name="game_id" class="form-control selectpicker" data-live-search="true">
<option value="">全部游戏</option>
<volist name=":getDevelopGameList(UID)" id="vo">
<option value="{$vo.id}">{$vo.game_name}</option>
</volist>
</select>
</div>
</div>
</form>
<div id="tab1" class="matter_right_manager settlement">
<div class="table_container server_table">
<div class="table_responsive">
<table class="table table_striped table_hover table_control control">
<thead>
<tr>
<th>订单号</th>
<th>玩家账号</th>
<th>游戏名称</th>
<th>系统</th>
<th>充值金额(元)</th>
<th>充值方式</th>
<th>通知状态</th>
<th>充值时间</th>
</tr>
</thead>
<tbody>
<volist name="data" id="vo">
<tr>
<td>{$vo.pay_order_number}</td>
<td>{$vo.user_account}</td>
<td>
<a class="must_blue" href="javascript:;" style="cursor:default;">{:get_game_name($vo['game_id'])}</a>
</td>
<td>{:get_systems_name($vo['sdk_version'])}</td>
<td>{$vo.pay_amount}</td>
<td>{:get_pay_way_name($vo['pay_way'])}</td>
<td>{:get_info_status($vo['pay_game_status'],14)}</td>
<td>{$vo.pay_time|date='Y-m-d H:i:s',###}</td>
</tr>
</volist>
</tbody>
<tfoot>
<tr>
<td colspan="9"><span class="tit">充值金额:</span><span class="blue_txt">¥{:$amount?:'0.00'}</span></td>
</tr>
</tfoot>
</table>
<div class="pagination_wrap">
{$_page}
</div>
<p class="text_format hidden">暂无数据</p>
</div>
</div>
</div>
</div>
</div>
<script> Think.setValue('game_id',"{:I('game_id')}"); Think.setValue('pay_way',"{:I('pay_way')}");
$("#search").click(function() {
var starttime = $.trim($('#startDate').val());
var endtime = $.trim($('#endDate').val());
if(starttime && endtime && starttime>endtime) {layer.msg("开始时间必须小于等于结束时间");return false;}
var url = $(this).attr('url');
var query = $('.jssearch').find('input').serialize();
query += "&" + $('.jssearch').find('select').serialize();
query = query.replace(/(&|^)(\w*?\d*?\-*?_*?)*?=?((?=&)|(?=$))/g, '');
query = query.replace(/^&/g, '');
if(url.indexOf('?') > 0) {
url += '&' + query;
} else {
url += '?' + query;
}
window.location.href = url;
});
$('.tabtitle .jbtn').on('click', function() {
var that = $(this),
href = that.attr('href');
that.addClass('active').siblings().removeClass('active');
$(href).removeClass('hidden').siblings().addClass('hidden');
});
$('#chanId').selectpicker({
size: 15
// noneSelectedText: "所有游戏",
});
$('#gameId').selectpicker({
size: 15
// noneSelectedText: "所有游戏",
});
$('#pay_way_id').selectpicker({
size: 15
});
$(function() {
$('input[name=start_time]').datetimepicker({
format: 'yyyy-mm-dd',
language: "zh-CN",
minView: 2,
autoclose: true
});
$('input[name=end_time]').datetimepicker({
format: 'yyyy-mm-dd',
language: "zh-CN",
minView: 2,
autoclose: true
});
});
$.VMenu.show('#menu');
$.VMenu.open('m4.2');
</script>
</block>