Commit 13608596 by 冷斌

update

parent 45aeebc6
......@@ -7,7 +7,7 @@
</ul>
<form class="well form-search" name="form1" method="post" style="float:left" action="">
<!--
<if condition="$showlevel eq 0">
代理商:
<select class="select_2" name="proxyid" id="proxyid">
......@@ -23,28 +23,28 @@
</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>
......@@ -67,7 +67,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>
......@@ -77,9 +77,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>
......@@ -98,8 +98,8 @@
if(list){
lists=typeof(list)=='object'?list:JSON.parse(list);
}
function cteateProxyid(){
if(!lists){
return !1;
......@@ -113,19 +113,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'];
......@@ -136,7 +136,7 @@
}else{
promoter_html+='<option value="'+v.id+'">'+v.user_nicename+'</option>';
}
}
}
$("#promoterid").html(promoter_html);
......@@ -148,7 +148,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