123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168 |
- {extend name="common/common2" /}
- {block name="main"}
- <div class="row">
- <div class="col-sm-12">
- <div class="ibox float-e-margins">
- <div class="ibox-content">
- <table class="table table-bordered">
- <tbody>
- <tr>
- <th style="width:120px ">订单号</th><td>{$info['order_sn']}</td>
- </tr>
- <tr>
- <th>订单金额</th><td>{$info['amount']}</td>
- </tr>
- <tr>
- <th>收货人</th><td>{$info['name']}</td>
- </tr>
- <tr>
- <th>联系电话</th><td>{$info['phone']}</td>
- </tr>
- <tr>
- <th>详细地址</th><td>{$info['address']}</td>
- </tr>
- <tr>
- <th>创建日期</th><td>{$info['create_time']}</td>
- </tr>
- {if in_array($info.status,[1,2,3,5])}
- <tr>
- <th>支付类型</th>
- <td>{if $info.pay_type==1}微信支付{/if}</td>
- </tr>
- <tr>
- <th>支付日期</th><td>{$info['pay_time']}</td>
- </tr>
- {/if}
- {if in_array($info.status,[2,3,5])}
- <tr>
- <th>发货日期</th><td>{$info['send_time']}</td>
- </tr>
- {/if}
- {if in_array($info.status,[3,5])}
- <tr>
- <th>完成日期</th><td>{$info['finish_time']}</td>
- </tr>
- {/if}
- {if $info.status==4}
- <tr>
- <th>取消日期</th><td>{$info['cancel_time']}</td>
- </tr>
- {/if}
- <!--<tr>-->
- <!--<th>送达时间</th>-->
- <!--<td>{$info.delivery_date}</td>-->
- <!--</tr>-->
- <tr>
- <th>配送类型</th>
- <td>{if $info.delivery_type==1}商家配送{/if}</td>
- </tr>
- <tr>
- <th>订单备注</th>
- <td>{$info.order_remark}</td>
- </tr>
- <tr>
- <th>状态</th>
- <td>{$info.status_name}</td>
- </tr>
- <tr>
- <th>订单类型</th>
- {if $info.order_type==0}
- <td>普通订单</td>
- {else}
- <td>桶装水订单</td>
- {/if}
- </tr>
- {if $info.order_type==1}
- {if $info.is_has_barrel==0}
- <tr>
- <th>是否有空桶</th>
- <td>没有</td>
- </tr>
- <tr>
- <th>押金</th>
- <td>{$info.cash_price}</td>
- </tr>
- <tr>
- <th>押金备注</th>
- <td>{$info.remark}</td>
- </tr>
- {else}
- <tr>
- <th>是否有空桶</th>
- <td>有</td>
- </tr>
- {/if}
- {/if}
- {if $info['is_can_refund']==1}
- <tr>
- <th>操作</th><td><a href="javascript:;" url="{:url('WxOrdersRefund/goodsRefund',['id'=>$info['id'],'type'=>1])}" data-title="退款" onclick="layer_open(this,2)" class="btn btn-xs btn-danger">申请退款</a>
- </td>
- </tr>
- {/if}
- </tbody>
- </table>
- </div>
- {if $info.status==5}
- <div class="ibox-content">
- <table class="table table-bordered">
- <thead>
- <tr>
- <th>分值</th>
- <th>评价内容</th>
- <th>评价时间</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>{$info['comment']['score']}</td>
- <td>{$info['comment']['content']}</td>
- <td>{$info['comment']['create_time']}</td>
- </tr>
- </tbody>
- </table>
- </div>
- {/if}
- <div class="ibox-content">
- <table class="table table-bordered">
- <thead>
- <tr>
- <th>图片</th>
- <th>商品名称</th>
- <th>价格</th>
- <th>购买数量</th>
- <th>售后状态</th>
- <th>操作</th>
- </tr>
- </thead>
- <tbody>
- {volist name="info['goods']" id='v'}
- <tr>
- <td><img src="{$v['img']}" alt="" onclick="open_img(this)" style="width: 40px;" ></td>
- <td>{$v['title']}</td>
- <td>{$v['price']}</td>
- <td>{$v['num']}</td>
- <td>{if $v['is_refund'] >1}
- <a href="javascript:;" url="{:url('WxOrdersRefund/details',['id'=>$info['id'],'goodsId'=>$v['goods_id'],'type'=>0])}" data-title="售后详情" onclick="layer_open(this,2)" class="btn btn-xs {if $v.is_refund==3} btn-danger {else}btn-success {/if} " >{$v['refund_status_name']}</a>
- {else}
- 暂无售后
- {/if}</td>
- <td>
- {if $v['is_refund'] ==1}
- <a href="javascript:;" url="{:url('WxOrdersRefund/goodsRefund',['id'=>$info['id'],'goodsId'=>$v['goods_id']])}" data-title="申请退款" onclick="layer_open(this,2)" class="btn btn-xs btn-danger">申请退款</a>
- {/if}
- </td>
- </tr>
- {/volist}
- </tbody>
- </table>
- </div>
- </div>
- </div>
- </div>
- {/block}
|