zhifu_post.html
4.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{template 'common/header'}
<ul class="nav nav-tabs">
<li><a href="{php echo $this->createWebUrl('commission', array('op'=>'display'))}">佣金审核提现操作</a></li>
<li><a href="{php echo $this->createWebUrl('commission', array('op'=>'applyed'))}">已结算订单</a></li>
<li><a href="{php echo $this->createWebUrl('commission', array('op'=>'invalid'))}">审核无效</a></li>
<li><a href="{php echo create_url('site/entry', array('do' => 'zhifu', 'op' => 'list','m' => 'wwx_fxxt','uniacid'=>$_W['uniacid']))}">代理提现报表</a></li>
{if $_GPC['from_user']}<li class="active"><a >代理提现明细</a></li>{/if}
</ul>
<div class="main">
<div class="panel panel-info">
<div class="panel-heading">会员打款</div>
<div class="panel-body">
<form action="" method="post" class="form-horizontal form" enctype="multipart/form-data" onsubmit="return validate(this);">
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">真实姓名:</label>
<div class="col-sm-3 col-xs-12">
<input type="text" class="form-control" value="{if $profile['realname']!=''} {$profile['realname']}{else}--{/if}" readonly="readonly" autocomplete="off"/>
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">联系方式:</label>
<div class="col-sm-3 col-xs-12">
<input type="text" class="form-control" value="{$profile['mobile']}" readonly="readonly" autocomplete="off"/>
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">已结佣金:</label>
<div class="col-sm-3 col-xs-12">
<input type="text" class="form-control" value="{php echo round($profile['zhifu'],2)}" readonly="readonly" autocomplete="off"/>
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">未结佣金:</label>
<div class="col-sm-3 col-xs-12">
<input type="text" class="form-control" value="{php echo round($profile['commission'] - $profile['zhifu'],2)}" readonly="readonly" autocomplete="off"/>
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">管理员打款:</label>
<div class="col-sm-3 col-xs-12">
<input type="text" name="chargenum" onkeyup="value=this.value.replace(/\D+/g,'')" class="form-control" value="0"/>
</div>
</div>
<div class="form-group">
<label class="col-xs-12 col-sm-3 col-md-2 control-label">说明:</label>
<div class="col-sm-5 col-xs-12">
<textarea style="height:100px;" id="content" name="content" class="form-control" cols="60"></textarea>
<div class="help-block"><span class="label label-success">此处是为客户补充打款之处(只支持微信企业实时打款)</span></div>
<input type="hidden" name="from_user" value="{$_GPC['from_user']}" />
<input type="hidden" name="realname" value="{$profile['realname']}" />
<input type="hidden" name="id" value="{$profile['id']}" />
<input type="hidden" name="token" value="{$_W['token']}" /><br/>
<input name="submit" type="submit" value="补充打款" class="btn btn-primary span2">
</div>
</div>
</form>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">打款明细:<span class="label label-success">{$total}</span></div>
<div class="panel-body table-responsive">
<table class="table table-hover">
<thead class="navbar-inner">
<tr>
<th style="text-align:left">日期</th>
<th style="text-align:left">类型</th>
<th style="text-align:left">金额</th>
<th style="text-align:left">说明</th>
</tr>
</thead>
<tbody>
{loop $list $v}
<tr>
<td style="text-align: left;">{$v['tid']}</td>
<td style="text-align: left;">打款</td>
<td style="text-align: left;">{$v['fee']} </td>
<td style="text-align: left;">{$v['tag']}</td>
</tr>
{/loop}
</tbody>
</table>
{$pager}
</div>
</div>
</div>
{template 'common/footer'}