Commit 254994fb by 冷斌

test

parent 930271d8
......@@ -3,7 +3,7 @@
<body>
<div class="wrap">
<ul class="nav nav-tabs">
<li class="active"><a >充值记录</a></li>
<li class="active"><a >充值记录2</a></li>
</ul>
<form class="well form-search" name="form1" method="post" style="float:left" action="">
......@@ -19,30 +19,30 @@
<option value="">全部</option>
<volist name="promoterlist" id="v">
<option value="{$v['id']}" <if condition="$formget.promoterid eq $v['id']">selected</if> >{$v['user_nicename']}</option>
</volist>
</volist>
</select>
</if>
订单状态:
<select class="select_2" name="status">
<option value="">全部</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>
提交时间:
<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" 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" style="background-color: #1dccaa;" value="导出" onclick="form1.action='{:U('Charge/export')}';form1.submit();"/>
<div style="margin-top:10px">
人民币金额统计:{$moneysum|default=0} 元 (根据筛选条件统计)
</div>
</form>
</div>
</form>
<form method="post" class="js-ajax-form" >
<table class="table table-hover table-bordered">
<thead>
<tr>
......@@ -65,7 +65,7 @@
<foreach name="lists" item="vo">
<tr>
<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['coin']}</td>
<td>{$vo['coin_give']}</td>
......@@ -75,9 +75,9 @@
<td>{$vo['trade_no']}</td>
<td>{$status[$vo['status']]}</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">
<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>
</td>
</tr>
......@@ -96,8 +96,8 @@
if(list){
lists=typeof(list)=='object'?list:JSON.parse(list);
}
function cteateProxyid(){
if(!lists){
return !1;
......@@ -111,19 +111,19 @@
proxy_html+='<option value="'+v.id+'">'+v.user_nicename+'</option>';
}
}
$("#proxyid").html(proxy_html);
if(proxyid){
cteatePromoterid();
}
}
function cteatePromoterid(){
if(!lists){
return !1;
}
var promoter_html='<option value="">全部</option>';
if(proxyid){
var list2=lists[proxyid]['list'];
......@@ -134,7 +134,7 @@
}else{
promoter_html+='<option value="'+v.id+'">'+v.user_nicename+'</option>';
}
}
}
$("#promoterid").html(promoter_html);
......@@ -146,7 +146,7 @@
proxyid=$(this).val();
cteatePromoterid();
})
</script>
</body>
</html>
\ No newline at end of file
</html>
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