From 8cd3418f8cd8d61493316db2b091c9c812d547dd Mon Sep 17 00:00:00 2001 From: chenl <461625388@qq.com> Date: Fri, 28 Dec 2018 15:37:39 +0800 Subject: [PATCH] 代理商修改 --- application/admin/template/user_order_list/index.htm | 85 +++++++++++++++++++++++++++++++----------- 1 files changed, 63 insertions(+), 22 deletions(-) diff --git a/application/admin/template/user_order_list/index.htm b/application/admin/template/user_order_list/index.htm index 16b986a..49d67f1 100644 --- a/application/admin/template/user_order_list/index.htm +++ b/application/admin/template/user_order_list/index.htm @@ -8,7 +8,8 @@ <div class="flexigrid"> <div class="mDiv"> <div class="ftitle"> - <h3>用户订单</h3> + <h3>{notempty name="agentName"} {$agentName}-->{/notempty}用户订单</h3> + <h5>(共{$pager->totalRows}条记录)</h5> </div> <div title="刷新数据" class="pReload"><i class="fa fa-refresh"></i></div> </div> @@ -17,20 +18,32 @@ <table cellspacing="0" cellpadding="0" style="width: 100%"> <thead> <tr> - <th abbr="article_title" style="width: 5%"> - <div style="text-align:center">ID</div> + <th abbr="article_title" style="width: 10%"> + <div style="text-align:center">年月</div> </th> - <th abbr="article_title" style="width: 15%" > - <div style="text-align:center">购物人</div> + <th abbr="article_title" style="width: 10%" > + <div style="text-align:center">有效订单数</div> </th> - <th abbr="article_title" style="width: 15%"> - <div style="text-align:center">支付方式</div> + <th abbr="article_title" style="width: 10%"> + <div style="text-align:center">有效订单金额</div> </th> - <th abbr="article_title" style="width: 15%"> - <div style="text-align:center">交易金额</div> + <th abbr="article_title" style="width: 10%"> + <div style="text-align:center">退款订单数</div> </th> - <th abbr="article_title" style="width: 15%" > - <div style="text-align:center">商品名</div> + <th abbr="article_title" style="width: 10%" > + <div style="text-align:center">退款订单金额</div> + </th> + <th abbr="article_title" style="width: 10%" > + <div style="text-align:center">已结算金额</div> + </th> + <th abbr="article_title" style="width: 10%" > + <div style="text-align:center">待结算金额</div> + </th> + <th abbr="article_title" style="width: 10%" > + <div style="text-align:center">操作</div> + </th> + <th abbr="article_title" style="width: 10%" > + <div style="text-align:center">订单明细</div> </th> </tr> </thead> @@ -50,29 +63,49 @@ {else/} {foreach name="list" item="vo" key="k" } <tr> - <td style="width: 5%"> + <td style="width: 10%"> <div style="text-align:center"> - {$vo.order_id} + {$vo.date} </div> </td> - <td style="width: 15%"> + <td style="width: 10%"> <div style="text-align:center"> - {$vo.user_name} + {$vo.order_count} </div> </td> - <td style="width: 15%"> + <td style="width: 10%"> <div style="text-align:center"> - {$vo.pay_name} + {$vo.amount_sum} </div> </td> - <td style="width: 15%"> + <td style="width: 10%"> <div style="text-align:center"> - {$vo.goods_amount} + {$vo.refund_order} </div> </td> - <td style="width: 15%"> + <td style="width: 10%"> <div style="text-align:center"> - {$vo.goods_name} + {$vo.refund_amount_sum} + </div> + </td> + <td style="width: 10%"> + <div style="text-align:center"> + {$vo.settled_amount_sum} + </div> + </td> + <td style="width: 10%"> + <div style="text-align:center"> + {$vo.settlement_amount_sum} + </div> + </td> + <td style="width: 10%"> + <div style="text-align:center"> + <a href="">结算</a> + </div> + </td> + <td style="width: 10%"> + <div style="text-align:center"> + <a href="login.php?m=admin&c=UserOrderDetail&a=index&date={$vo.date}&uuid={$uuid}&agentName={$agentName}">查看</a> </div> </td> </tr> @@ -84,7 +117,15 @@ <div class="iDiv" style="display: none;"></div> </div> <!--分页位置--> + {$page} </div> </div> - +<script type="text/javascript"> + $(document).ready(function(){ + // 点击刷新数据 + $('.fa-refresh').click(function(){ + location.href = location.href; + }); + }); +</script> {include file="public/footer" /} \ No newline at end of file -- Gitblit v1.8.0