qc.ifish7.com/Application/Admin/View/Order/detail.html

202 lines
9.4 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<include file="Inc:head"/>
<style>
.house_region .select2-container{ width: 20%; float: left; margin-right:10px;}
#uniform-titlepic{ width: 113px;height: 36px;}
</style>
<div class="container-fluid">
<div class="main_head">
</div>
<div style="text-align:right; float:right"></div>
<div class="row-fluid">
<div class="span12">
</div>
<div class="widget-box">
<div class="widget-title"> <span class="icon"> <i class="icon-th"></i> </span>
<h5>订单详情</h5>
</div>
<div class="widget-content nopadding">
<table class="table table-bordered table-striped">
<tbody>
<tr class="odd gradeX">
<td>订单 ID</td><td> {$r.order_id}</td>
<td>订单号: </td><td>{$r.order_num}</td>
<td>会员: </td><td><a href="{:U('Member/detail',array('member_id'=>$r[member][member_id]))}" class="iframe2">{$r.member.company_name}</a></td>
</tr>
<tr class="even gradeC">
<td>下单时间: </td><td>{:date('Y/m/d H:i:s',$r[addtime])}</td>
<td>支付状态: </td><td>
<if condition="$r['is_pay']">
<span class="label label-success">已支付</span>
<else/>
<span class="label">未发货</span>
</if>
</td>
<td>发货状态: </td><td>
<if condition="$r['is_delivery']">
<a href="{:U('kuaidi',array('com'=>$r[shop_order_address][express_company_code],'num'=>$r[shop_order_address][express_company_num]))}" class="label label-success iframe">已发货(点击查看物流)</a>
<else/>
<span class="label">未发货</span>
</if>
</td>
</tr>
<tr class="odd gradeA">
<td>订单金额: </td><td>{$r.money} </td>
<td>应付金额: </td><td>{$r.pay_money}
<if condition="$r[money] neq $r[pay_money]">
<a href="#" class="label label-danger"></a>
</if>
</td>
<td> </td><td></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="widget-box">
<div class="widget-title"> <span class="icon"> <i class="icon-th"></i> </span>
<h5>收货信息</h5>
</div>
<div class="widget-content nopadding">
<table class="table table-bordered table-striped">
<tbody>
<tr class="odd gradeX">
<td width="30%">收货人:</td><td width="70%">{$r[shop_order_address]['username']} </td>
</tr>
<tr class="odd gradeX">
<td width="30%">电话:</td><td width="70%">{$r[shop_order_address]['mobile']} </td>
</tr>
<tr class="even gradeC">
<td width="30%">收货地址: </td><td colspan='3' width="70%">{$r[shop_order_address]['provin']}{$r[shop_order_address]['city']}{$r[shop_order_address]['area']}{$r[shop_order_address]['detail']}</td>
</tr>
</tbody>
</table>
</div>
</div>
<if condition="$r[shop_order_invoice]">
<div class="widget-box">
<div class="widget-title"> <span class="icon"> <i class="icon-th"></i> </span>
<h5>开票信息</h5>
</div>
<div class="widget-content nopadding">
<table class="table table-bordered table-striped">
<tbody>
<tr class="odd gradeX"><td width="30%">发票类型:</td><td width="70%">{$r[shop_order_invoice]['type']?"增值税专用发票":"增值税普通发票"} </td></tr>
<tr class="odd gradeX"><td width="30%">公司名称:</td><td width="70%">{$r.shop_order_invoice.company_name}</td></tr>
<tr class="odd gradeX"><td width="30%">纳税人识别号:</td><td width="70%">{$r.shop_order_invoice.taxpayer_number}</td></tr>
<?php
if($r[shop_order_invoice][type]){
?>
<tr class="odd gradeX"><td width="30%">注册地址:</td><td width="70%">{$r.shop_order_invoice.registration_address}</td></tr>
<tr class="odd gradeX"><td width="30%">注册电话:</td><td width="70%">{$r.shop_order_invoice.registration_mobile}</td></tr>
<tr class="odd gradeX"><td width="30%">开户银行:</td><td width="70%">{$r.shop_order_invoice.opening_bank}</td></tr>
<tr class="odd gradeX"><td width="30%">银行招账户:</td><td width="70%">{$r.shop_order_invoice.bank_account}</td></tr>
<?php
}
?>
</tbody>
</table>
</div>
</div>
<div class="widget-box">
<div class="widget-title"> <span class="icon"> <i class="icon-th"></i> </span>
<h5>发票收货地址</h5>
</div>
<div class="widget-content nopadding">
<table class="table table-bordered table-striped">
<tbody>
<tr class="odd gradeX">
<td width="30%">收货人:</td><td width="70%">{$r[shop_order_invoice_address]['username']} </td>
</tr>
<tr class="odd gradeX">
<td width="30%">电话:</td><td width="70%">{$r[shop_order_invoice_address]['mobile']} </td>
</tr>
<tr class="even gradeC">
<td width="30%">收货地址: </td><td colspan='3' width="70%">{$r[shop_order_invoice_address]['provin']}{$r[shop_order_invoice_address]['city']}{$r[shop_order_invoice_address]['area']}{$r[shop_order_invoice_address]['detail']}</td>
</tr>
</tbody>
</table>
</div>
</div>
</if>
<div class="widget-box">
<div class="widget-title"> <span class="icon"> <i class="icon-th"></i> </span>
<h5>商品信息</h5>
</div>
<div class="widget-content nopadding">
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>商品编号</th>
<th>商品</th>
<th>数量</th>
<th>价格</th>
<th>小计</th>
</tr>
</thead>
<tbody>
<foreach name="r.shop_order_detail" item="v">
<tr class="odd gradeX">
<td class="center">{$v.product_id}</td>
<td><a href="/{$v.catid}/{$v.product_id}.html" target="_blank"><img src="{$v.thumb}" style="height:40px;" />{$v.title} </a></td>
<td class="center"> {$v.quantity}</td>
<td class="center">{$v.price}</td>
<td class="center">{$v.money}</td>
</tr>
</foreach>
</tbody>
</table>
</div>
<div class="widget-title" style="text-align:right; line-height: 40px; font-size: 16px; font-weight: 600;"> 合计: {$r.money}&nbsp;&nbsp;</div>
</div>
<div class="widget-box">
<div class="widget-title"> <span class="icon"> <i class="icon-th"></i> </span>
<h5>用户备注</h5>
</div>
<div class="widget-title" style="padding-left:20px; line-height: 30px;">{$r[remark]?$r[remark]:"无"}</div>
</div>
<?php
if(!$_GET[isPrint]){
?>
<div class="form-actions">
<a href="__SELF__&isPrint=1" class="btn btn-danger" target="_blank">打印</a>
<button type="button" class="btn btn-danger" id="closeIframe">关闭</button>
</div>
<?php
}
?>
</div>
</div>
<include file="Inc/foot"/>
<include file="Inc/info_js"/>
<?php
if($_GET[isPrint]){
?>
<script>
$(function(){
$("a").each(function(){
$(this).attr("href","#");//这里一定要把href内容过滤掉否则打印的内容会出现链接地址
})
})
window.print();
</script>
<?php
}
?>