Commit 254994fb by 冷斌

test

parent 930271d8
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<body> <body>
<div class="wrap"> <div class="wrap">
<ul class="nav nav-tabs"> <ul class="nav nav-tabs">
<li class="active"><a >充值记录</a></li> <li class="active"><a >充值记录2</a></li>
</ul> </ul>
<form class="well form-search" name="form1" method="post" style="float:left" action=""> <form class="well form-search" name="form1" method="post" style="float:left" action="">
...@@ -19,30 +19,30 @@ ...@@ -19,30 +19,30 @@
<option value="">全部</option> <option value="">全部</option>
<volist name="promoterlist" id="v"> <volist name="promoterlist" id="v">
<option value="{$v['id']}" <if condition="$formget.promoterid eq $v['id']">selected</if> >{$v['user_nicename']}</option> <option value="{$v['id']}" <if condition="$formget.promoterid eq $v['id']">selected</if> >{$v['user_nicename']}</option>
</volist> </volist>
</select> </select>
</if> </if>
订单状态: 订单状态:
<select class="select_2" name="status"> <select class="select_2" name="status">
<option value="">全部</option> <option value="">全部</option>
<option value="1" <if condition="$formget.status eq '1'">selected</if> >已完成</option> <option value="1" <if condition="$formget.status eq '1'">selected</if> >已完成</option>
<option value="0" <if condition="$formget.status eq '0'">selected</if> >未支付</option> <option value="0" <if condition="$formget.status eq '0'">selected</if> >未支付</option>
</select> </select>
提交时间: 提交时间:
<input type="text" name="start_time" class="js-date date" id="start_time" value="{$formget.start_time}" style="width: 80px;" autocomplete="off">- <input type="text" name="start_time" class="js-date date" id="start_time" value="{$formget.start_time}" style="width: 80px;" autocomplete="off">-
<input type="text" class="js-date date" name="end_time" id="end_time" value="{$formget.end_time}" style="width: 80px;" autocomplete="off"> &nbsp; &nbsp; <input type="text" class="js-date date" name="end_time" id="end_time" value="{$formget.end_time}" style="width: 80px;" autocomplete="off"> &nbsp; &nbsp;
关键字: 关键字:
<input type="text" name="keyword" style="width: 200px;" value="{$formget.keyword}" placeholder="请输入会员id、订单号..."> <input type="text" name="keyword" style="width: 200px;" value="{$formget.keyword}" placeholder="请输入会员id、订单号...">
<input type="button" class="btn btn-primary" value="搜索" onclick="form1.action='{:U('Charge/index')}';form1.submit();"/> <input type="button" class="btn btn-primary" value="搜索" onclick="form1.action='{:U('Charge/index')}';form1.submit();"/>
<input type="button" class="btn btn-primary" style="background-color: #1dccaa;" value="导出" onclick="form1.action='{:U('Charge/export')}';form1.submit();"/> <input type="button" class="btn btn-primary" style="background-color: #1dccaa;" value="导出" onclick="form1.action='{:U('Charge/export')}';form1.submit();"/>
<div style="margin-top:10px"> <div style="margin-top:10px">
人民币金额统计:{$moneysum|default=0} 元 (根据筛选条件统计) 人民币金额统计:{$moneysum|default=0} 元 (根据筛选条件统计)
</div> </div>
</form> </form>
<form method="post" class="js-ajax-form" > <form method="post" class="js-ajax-form" >
<table class="table table-hover table-bordered"> <table class="table table-hover table-bordered">
<thead> <thead>
<tr> <tr>
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
<foreach name="lists" item="vo"> <foreach name="lists" item="vo">
<tr> <tr>
<td align="center">{$vo.id}</td> <td align="center">{$vo.id}</td>
<td>{$vo['userinfo']['user_nicename']} ( {$vo['uid']} )</td> <td>{$vo['userinfo']['user_nicename']} ( {$vo['uid']} )</td>
<td>{$vo['money']}</td> <td>{$vo['money']}</td>
<td>{$vo['coin']}</td> <td>{$vo['coin']}</td>
<td>{$vo['coin_give']}</td> <td>{$vo['coin_give']}</td>
...@@ -75,9 +75,9 @@ ...@@ -75,9 +75,9 @@
<td>{$vo['trade_no']}</td> <td>{$vo['trade_no']}</td>
<td>{$status[$vo['status']]}</td> <td>{$status[$vo['status']]}</td>
<td>{$vo.addtime|date="Y-m-d H:i:s",###}</td> <td>{$vo.addtime|date="Y-m-d H:i:s",###}</td>
<td align="center"> <td align="center">
<if condition="$vo['status'] eq 0 && $isshowset eq 1"> <if condition="$vo['status'] eq 0 && $isshowset eq 1">
<a href="{:U('Charge/setPay',array('id'=>$vo['id']))}" class="js-ajax-dialog-btn" data-msg="您确定确认支付吗?">确认支付</a> <a href="{:U('Charge/setPay',array('id'=>$vo['id']))}" class="js-ajax-dialog-btn" data-msg="您确定确认支付吗?">确认支付</a>
</if> </if>
</td> </td>
</tr> </tr>
...@@ -96,8 +96,8 @@ ...@@ -96,8 +96,8 @@
if(list){ if(list){
lists=typeof(list)=='object'?list:JSON.parse(list); lists=typeof(list)=='object'?list:JSON.parse(list);
} }
function cteateProxyid(){ function cteateProxyid(){
if(!lists){ if(!lists){
return !1; return !1;
...@@ -111,19 +111,19 @@ ...@@ -111,19 +111,19 @@
proxy_html+='<option value="'+v.id+'">'+v.user_nicename+'</option>'; proxy_html+='<option value="'+v.id+'">'+v.user_nicename+'</option>';
} }
} }
$("#proxyid").html(proxy_html); $("#proxyid").html(proxy_html);
if(proxyid){ if(proxyid){
cteatePromoterid(); cteatePromoterid();
} }
} }
function cteatePromoterid(){ function cteatePromoterid(){
if(!lists){ if(!lists){
return !1; return !1;
} }
var promoter_html='<option value="">全部</option>'; var promoter_html='<option value="">全部</option>';
if(proxyid){ if(proxyid){
var list2=lists[proxyid]['list']; var list2=lists[proxyid]['list'];
...@@ -134,7 +134,7 @@ ...@@ -134,7 +134,7 @@
}else{ }else{
promoter_html+='<option value="'+v.id+'">'+v.user_nicename+'</option>'; promoter_html+='<option value="'+v.id+'">'+v.user_nicename+'</option>';
} }
} }
} }
$("#promoterid").html(promoter_html); $("#promoterid").html(promoter_html);
...@@ -146,7 +146,7 @@ ...@@ -146,7 +146,7 @@
proxyid=$(this).val(); proxyid=$(this).val();
cteatePromoterid(); cteatePromoterid();
}) })
</script> </script>
</body> </body>
</html> </html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment