Commit 49e281bf by 冷斌

fix bug

parent dd630a80
......@@ -22,10 +22,10 @@
<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="type">
<option value="">全部</option>
<volist name="type" id="v">
......@@ -33,7 +33,7 @@
</volist>
</select> &nbsp;&nbsp;
收支行为:
收支行为:
<select class="select_2" name="action">
<option value="">全部</option>
<volist name="action" id="v">
......@@ -43,15 +43,15 @@
赠送时间:
<input type="text" name="start_time" class="js-date date" value="{$formget.start_time}" style="width: 80px;" autocomplete="off">-
<input type="text" class="js-date date" name="end_time" value="{$formget.end_time}" style="width: 80px;" autocomplete="off"> &nbsp; &nbsp;
会员:
会员:
<input type="text" name="uid" style="width: 200px;" value="{$formget.uid}" placeholder="请输入会员ID值...">
主播:
主播:
<input type="text" name="touid" style="width: 200px;" value="{$formget.touid}" placeholder="请输入主播ID值...">
<input type="submit" class="btn btn-primary" value="搜索">
</form>
</form>
<form method="post" class="js-ajax-form">
<table class="table table-hover table-bordered">
<thead>
<tr>
......@@ -63,6 +63,7 @@
<th>行为说明 (ID)</th>
<th>数量</th>
<th>总价</th>
<th>余额</th>
<th>直播id</th>
<th>时间</th>
......@@ -70,7 +71,7 @@
</tr>
</thead>
<tbody>
<foreach name="lists" item="vo">
<tr>
<td align="center">{$vo.id}</td>
......@@ -82,7 +83,7 @@
<td>{$vo['giftcount']}</td>
<td>{$vo['totalcoin']}</td>
<td>{$vo['showid']}</td>
<td>{$vo['coin']}</td>
<td>{$vo.addtime|date="Y-m-d H:i:s",###}</td>
<!-- <td align="center"> -->
......@@ -106,8 +107,8 @@
if(list){
lists=typeof(list)=='object'?list:JSON.parse(list);
}
function cteateProxyid(){
if(!lists){
return !1;
......@@ -121,19 +122,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'];
......@@ -144,7 +145,7 @@
}else{
promoter_html+='<option value="'+v.id+'">'+v.user_nicename+'</option>';
}
}
}
$("#promoterid").html(promoter_html);
......@@ -156,7 +157,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