Commit 13608596 by 冷斌

update

parent 45aeebc6
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
</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="">
<!--
<if condition="$showlevel eq 0"> <if condition="$showlevel eq 0">
代理商: 代理商:
<select class="select_2" name="proxyid" id="proxyid"> <select class="select_2" name="proxyid" id="proxyid">
...@@ -23,28 +23,28 @@ ...@@ -23,28 +23,28 @@
</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>
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,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>
...@@ -77,9 +77,9 @@ ...@@ -77,9 +77,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>
...@@ -98,8 +98,8 @@ ...@@ -98,8 +98,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;
...@@ -113,19 +113,19 @@ ...@@ -113,19 +113,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'];
...@@ -136,7 +136,7 @@ ...@@ -136,7 +136,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);
...@@ -148,7 +148,7 @@ ...@@ -148,7 +148,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