<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}</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> <if condition="$one.step eq 5||$one.step eq 9"> {:date('Y-m-d H:i',$one.end_time)} <elseif condition="$one.step lt 5"> 订单未完成 <elseif condition="$one.step gt 5&&$one.step neq 9"> 退款未完成 </if> </span> </td> </tr> <tr> <th>订单金额</th> <td> <span>{$one.whole}</span> </td> </tr> <tr> <th>订单积分</th> <td> <span>{$one.whole_num}</span> </td> </tr> <if condition="$one.step gt 2 && $one.kid neq 0"> <tr> <th>物流轨迹</th> <td> <foreach name="kdgj" item="vo"> <p><span>{$vo.AcceptTime}</span> {$vo.AcceptStation}</p> </foreach> </td> </tr> </if> </table> <if condition="$one.step gt 5"> <table class="table table-bordered"> <tr> <th style="width: 40%;">申请退款时间</th> <td> <span> <if condition="$one.refund_time neq 0"> {:date('Y-m-d H:i',$one.refund_time)} </if> </span> </td> </tr> <tr> <th>退款原因</th> <td> <span>{$one.cause}</span> </td> </tr> <tr> <th>退款快递</th> <td> <span>{$one.company}</span> </td> </tr> <tr> <th>退款快递单号</th> <td> <span>{$one.com_order}</span> </td> </tr> <tr> <th>订单退款完成备注</th> <td> <if condition="$one.remarkt neq ''"> <span>{$one.remarkt}</span> </if> </td> </tr> </table> </if> </div> <div class="col-md-5"> <form action="{:url('detailPost')}" method="post" class="form-horizontal js-ajax-form margin-top-20"> <table class="table table-bordered"> <if condition="$one.step eq 2||$one.step eq 1"> <tr> <th>收货人</th> <td> <input type="text" name="name" value="{$one.name}" class="form-control"> </td> </tr> <tr> <th>收货手机号</th> <td> <input type="number" name="mobile" value="{$one.mobile}" class="form-control"> </td> </tr> <tr> <th>收货地址</th> <td> <input type="text" name="site" value="{$one.site}" class="form-control"> </td> </tr> <elseif condition="$one.step gt 2&&$one.step lt 5"> <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> <select name="kid" class="form-control" style="width: 120px;"> <option value="0">自提</option> <foreach name="kd" item="vo"> <option value="{$vo.id}" <eq name="$one.kid" value="$vo.id">selected</eq>>{$vo.name}</option> </foreach> </select> </td> </tr> <tr> <th>快递单号</th> <td> <input type="text" name="kd_num" value="{$one.kd_num}" class="form-control"> </td> </tr> <elseif condition="$one.step gt 5"> <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.kname}</span> </td> </tr> <tr> <th>快递单号</th> <td> <span>{$one.kd_num}</span> </td> </tr> </if> </table> <if condition="$one.step elt 5"> <input type="hidden" value="{$one.id}" name="id"> <input type="hidden" value="{$one.step}" name="step"> <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}" class="btn btn-primary" >返回</a> </div> </div> </if> </form> </div> </div> </div> <script type="text/javascript" src="__STATIC__/js/admin.js"></script> </body> </html>