groupfinance.html 9.19 KB
{template 'public/header'}
{template 'public/comhead'}
<link rel="stylesheet" type="text/css" href="../addons/zh_cjdianc/template/public/ygcsslist.css">
<style type="text/css">
    .ygrow{margin-top: 20px;font-size: 12px;}
    .ygmartop{margin-top: 30px;font-size: 12px;}
    .ygmartop2{margin-bottom: 10px;}
    .yg5_key>div{float: left;line-height: 34px;}
    .store_td1{height: 45px;}
    .store_list_img{width: 60px;height: 60px;}
    .yg5_tabel{border-color: #e5e5e5;outline: 1px solid #e5e5e5;}
    .yg5_tr2>td{padding: 15px;border: 1px solid #e5e5e5;text-align: center;background-color: white;}
    .yg5_tr1>td{
        border: 1px solid #e5e5e5;
/*        padding-left: 15px;
*/        background-color: #FAFAFA;
        font-weight: bold;
        text-align: center;
    }
    .yg5_btn{background-color: #EEEEEE;color: #333;border: 1px solid #E4E4E4;border-radius: 6px;width: 100px;height: 34px;}
    .yg5_btn2{background-color: white;color: #333;border: 1px solid white;border-radius: 6px;width: 100px;height: 34px;}
    .yg13_img{width: 50px;height: 50px;border-radius: 4px;}
    .yg_name{width: 30%;height: 34px;line-height: 34px;color: #333;float: left;background-color: white;border: 1px solid #E4E4E4;text-align: center;}
    .yg_left{float: left;}
    .form-control{width: 70%;}
    .ygseledi{width: 60%;}
    .dishes{display: flex;align-items: center;}
    .dishes_font{font-size: 20px;}
    .dishes_inp{width: 195px;height: 23px;border: none;}
    .dishes_inp2{margin-right: 20px;}
    .input_box{border: 2px solid #5bc0de;border-radius: 4px;padding: 5px;margin-right: 10px;background-color: #5bc0de;color: white;}
    .store_inp{margin-left: 5px;}
    .dish_left{margin-right: 20px;}
    .dish_btn>button,.dish_btn>a{margin-bottom: 10px;}
    .ygboxl{margin-bottom: 15px;}
    .table_list{border:1px solid #ccc;margin:20px 0;}
    .table_list td{text-align: center;font-weight: bold}
    .table_list td span{color:#f65b1a;font-weight: bold}
    .data_list{float: left;}
    .data_list a{border:1px solid #e7e7eb;float: left;padding:10px;background: #fff;}
    .data_list a.active{background:#3dc6b6; color:#fff;}
    .daterange-time{padding: 6px;}
    .fuhao{font-size: 26px}
    /*.ygboxl>.input-group{border:1px solid green;}*/


</style>
<ul class="nav nav-tabs" style="float: left;margin-bottom: 20px;">
    <li><span class="ygxian"></span></li>
    <li><div class="ygdangq">当前位置:</div></li>
    <li {if $type=='yesterday'} class="active" {/if}><a href="{php echo $this->createWebUrl('groupfinance',array('type'=>yesterday));}">昨天</a></li>
    <li {if $type=='today'} class="active" {/if}><a href="{php echo $this->createWebUrl('groupfinance',array('type'=>today));}">今天</a></li>
    <li {if $type=='week'} class="active" {/if}><a href="{php echo $this->createWebUrl('groupfinance',array('type'=>week));}">近七天</a></li>
    <li {if $type=='month'} class="active" {/if}><a href="{php echo $this->createWebUrl('groupfinance',array('type'=>month));}">本月</a></li>
</ul>
<div class="row ygrow" style="float: left;margin-top: 30px;">
    <div class="col-lg-12">
        <form action="" method="get" class="col-md-4">
                   <input type="hidden" name="c" value="site" />
                   <input type="hidden" name="a" value="entry" />
                   <input type="hidden" name="m" value="zh_cjdianc" />
                   <input type="hidden" name="do" value="groupfinance" />
            <div class="input-group" style="width: 100px">
                {php echo tpl_form_field_daterange('time',$_GPC['time']);}
                <span class="input-group-btn">
                    <input type="submit" class="btn btn-default" name="submit2" value="查找"/>
                </span>
                 <span class="input-group-btn">
                    <input type="submit" class="btn btn-default" name="export_submit" value="导出"/>
                </span>
            </div><!-- /input-group -->
            <input type="hidden" name="token" value="{$_W['token']}"/>
        </form>
<!--       <form action="" method="POST">
        <div class="col-md-4">        
        <input type="submit" class="btn btn-sm ordersucess" name="export_submit" value="导出"/>
        <input type="hidden" name="token" value="{$_W['token']}"/>
        
        </div>
        </form> --> 
    </div><!-- /.col-lg-6 -->
</div>  

<table class="table table-striped table_list">
    <tr>
        <td>
            <p>消费金额</p>
            <span>¥{php echo empty($statArr['pay_price'])?0.00:$statArr['pay_price']}</span>
        </td>
        <td>
            <p class="fuhao"></p>
        </td>

        <td>
            <p>配送费</p>
            <span>¥{php echo empty($statArr['delivery_fee'])?0.00:$statArr['delivery_fee']}</span>
        </td>
        <td>
            <p class="fuhao"></p>
        </td>
        <td>
            <p>退款</p>
            <span>¥{php echo empty($statArr['refund_price'])?0.00:$statArr['refund_price']}</span>
        </td>
        <td>
            <p class="fuhao"></p>
        </td>
        <td>
            <p>微信支付服务费</p>
            <span>¥{php echo empty($statArr['wx_pay_fee'])?0.00:$statArr['wx_pay_fee']}</span>
        </td>
        <td>
            <p class="fuhao"></p>
        </td>
        <td>
            <p>平台服务费</p>
            <span>¥{php echo empty($statArr['refund_price'])?0.00:$statArr['refund_price']}</span>
        </td>        
    </tr>
</table>
 <div class="main">
    <div class="panel panel-default">

        <div class="panel-body" style="padding: 0px 15px;">
            <div class="row">
                <table class="yg5_tabel col-md-12">
                    <tr class="yg5_tr1">
                    	<td class="store_td1 col-md-2">
   <!--                          <input type="checkbox" class="allcheck" />
                            <span class="store_inp">全选</span> -->
                            订单编号
                        </td>
                        <td class="col-md-1">支付时间</td>
                        <td class="col-md-1">支付渠道</td>
                        <td class="col-md-1">消费金额</td>
                        <td class="col-md-1">配送费</td>
                        <td class="col-md-1">退款金额</td>
                        <td class="col-md-1">微信支付费率</td>
                        <td class="col-md-1">平台服务费</td>
                         <td class="col-md-1">状态</td>
                    </tr>
                     {loop $list $key $item}
                    <tr class="yg5_tr2">
                    	<td>
                            {$item['order_num']}
                        </td>
                        <td>
                           {$item['time']}
                        </td>

                      <td>
                          {if $item['pay_type']==1}
                            <span class="label storeinfo">微信支付</span>
                          {elseif $item['pay_type']==2}
                            <span class="label storesuccess">余额支付</span>
                          {elseif $item['pay_type']==3}
                            <span class="label storewarning">积分支付</span>
                          {elseif $item['pay_type']==4}
                            <span class="label storewarning">货到付款</span>
                          {/if}
                      </td>

                        <td class="num{$item['id']}">
                            {php echo empty($item['pay_price'])?'0':$item['pay_price']} 元
                        </td>

                        <td class="num{$item['id']}">
                            {php echo empty($item['delivery_fee'])?'0':$item['delivery_fee']} 元
                        </td>


                         <td >{php echo empty($item['refund_price'])?0:$item['refund_price']} 元</td>
                       
                        <td class="money{$item['id']}">{php echo empty($item['wx_pay_fee'])?0:$item['wx_pay_fee']} 元</td>
                        <td class="{$item['id']}">{php echo empty($item['service_fee'])?0:$item['service_fee']} 元</td>
                       <td class="{$item['id']}">
                        {if $item['state']==4 or $item['state']==5 or $item['state']==10}
                            <span class="label storesuccess">  已入账</span>
                        {elseif $item['state']==2 or $item['state']== 3 or $item['state']==8}
                           <span class="label storeinfo">未入账 </span>
                        {elseif $item['state']==7 or $item['state']== 9}
                            <span class="label storewarning">已退款</span>
                        {/if}
                         </td>
                    </tr>

                {/loop}
                {if empty($list)}
                <tr class="yg5_tr2">
                    <td colspan="9">
                      暂无资金信息
                    </td>
                </tr>
                {/if}
                </table>
            </div>
        </div>
    </div>
</div>
<div class="text-right we7-margin-top">{$pager}</div>
<script type="text/javascript">
    $(function(){
        // $("#frame-2").addClass("in");
        $("#frame-6").show();
        $("#yframe-6").addClass("wyactive");
        
    })
</script>
{template 'common/footer'}