check.html 5.4 KB
<include file="public@header"/>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="javascript:;">订单详情</a></li>
    </ul>
    <div class="row">
        <div class="col-md-5">

            <table class="table table-bordered">

                <tr>
                    <th style="width: 40%;">订单编号</th>
                    <td>
                        <span>{$one.order_num}</span>
                    </td>
                </tr>
                <tr>
                    <th>订单状态</th>
                    <td>
                        <span>
                            <if condition="$one.step eq 1">
                            待支付
                            <elseif condition="$one.step eq 2">
                                待发货
                                <elseif condition="$one.step eq 3">
                                    待收货
                                    <elseif condition="$one.step eq 4">
                                        待评价
                                        <elseif condition="$one.step eq 5">
                                            已完成
                                            <elseif condition="$one.step eq 6">
                                                待审核
                                                <elseif condition="$one.step eq 7">
                                                    待退货
                                                    <elseif condition="$one.step eq 8">
                                                        待退款
                                                        <elseif condition="$one.step eq 9">
                                                            已退款
                        </if>
                        </span>
                    </td>
                </tr>
                <tr>
                    <th>下单用户</th>
                    <td>
                        <span>{$one.user_nickname}</span>
                    </td>
                </tr>
                <tr>
                    <th>下单时间</th>
                    <td>
                        <span>{:date('Y-m-d H:i',$one.create_time)}</span>
                    </td>
                </tr>
                <tr>
                    <th>所购商品</th>
                    <td>
                        <foreach name="all" item="vo">
                            <span>{$vo.name}*{$vo.num}  单价{$vo.price}</span><br/>
                        </foreach>
                    </td>
                </tr>
                <tr>
                    <th>支付时间</th>
                    <td>
                        <span>{:date('Y-m-d H:i',$one.pay_time)}</span>
                    </td>
                </tr>
                <tr>
                    <th>支付方式</th>
                    <td>
                        <span>
                            <if condition="$one.pay_type eq 1">
                            微信支付
                            <elseif condition="$one.pay_type eq 2">
                                组合支付
                                <elseif condition="$one.pay_type eq 3">
                                    积分支付
                        </if>
                        </span>
                    </td>
                </tr>
                <tr>
                    <th>订单金额</th>
                    <td>
                        <span>{$one.whole}</span>
                    </td>
                </tr>
            </table>

        </div>
        <div class="col-md-5">
            <form action="{:url('checkPost')}" method="post" class="form-horizontal js-ajax-form margin-top-20">
                <table class="table table-bordered">
                    <tr>
                        <th>收货人</th>
                        <td>
                            <span>{$one.name}</span>
                        </td>
                    </tr>
                    <tr>
                        <th>收货手机号</th>
                        <td>
                            <span>{$one.mobile}</span>
                        </td>
                    </tr>
                    <tr>
                        <th>收货地址</th>
                        <td>
                            <span>{$one.site}</span>
                        </td>
                    </tr>
                    <tr>
                        <th>快递单号</th>
                        <td>
                            <span>{$one.kd_num}</span>
                        </td>
                    </tr>
                    <tr>
                        <th>退款原因</th>
                        <td>
                            <span>{$one.cause}</span>
                        </td>
                    </tr>
                </table>
                <input type="hidden" value="{$one.id}" name="id">
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                        <button type="submit" class="btn btn-primary js-ajax-submit">通过</button>
                        <a href="{:url('checkPost',array('id'=>$one['id'],'sta'=>1))}" class="btn btn-primary js-ajax-dialog-btn" data-msg="确定驳回退款申请?">不通过</a>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<script type="text/javascript" src="__STATIC__/js/admin.js"></script>
</body>
</html>