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

95 lines
6.0 KiB
HTML

<include file="Inc:header"/>
<div class="container-fluid">
<div class="main_head">
<div class="main_tab" style="width:30%; margin-top:10px;">
<a href="{:U('refundOrder')}" class="btn {$_GET[status_code]?'':'on'}">所有</a>
<a href="{:U('refundOrder',array('status_code'=>301))}" class="btn {$_GET[status_code]==301?'on':''}">待处理(<span>{$readCount}</span>)</a>
<a href="{:U('refundOrder',array('status_code'=>302))}" class="btn {$_GET[status_code]==302?'on':''}">同意退款的订单(<span>{$agreeCount}</span>)</a>
<a href="{:U('refundOrder',array('status_code'=>311))}" class="btn {$_GET[status_code]==311?'on':''}">不同意退款的订单(<span>{$disagreeCount}</span>)</a>
</div>
<div class="main_add" style="width:70%;">
<form action="__ACTION__" method="get">
<input type="hidden" name="status_code" value="{$_GET[status_code]}">
<label>订单号:<input name="order_num" value="{:I('get.order_num')}" class="span2"></label>
<button class="btn btn-inverse">搜索</button>
</form>
</div>
</div>
<div style="text-align:right; float:right"></div>
<div class="row-fluid">
<div class="span12">
<div class="widget-box">
<div class="widget-content nopadding">
<form method="post" action="__SELF__" onsubmit="return save_form2(this);" class="modelIndex">
<table class="table table-striped">
<thead>
<tr>
<th width="5%">ID</th>
<th width="10%">订单编号</th>
<th width="10%">会员</th>
<th width="5%">总金额</th>
<th width="5%">应付金额</th>
<th width="8%">支付状态</th>
<th width="8%">发货状态</th>
<th width="8%">订单状态</th>
<th width="10%">下单时间</th>
<th width="13%">操作</th>
</tr>
</thead>
<tbody>
<foreach name="data" item="v" >
<tr>
<td style="text-align: center;">{$v.order_id}</inpu></td>
<td class="center tab-title"><a href="{:U('detail',array('order_id'=>$v['order_id']))}" class="iframe" width="70%" height="80%">{$v.order_num}</a></td>
<td class="center tab-title"><a href="{:U('Member/detail',array('member_id'=>$v[member_id]))}" class="iframe" class="iframe" width="70%" height="80%">{$v.member.company_name}</a></td>
<td class="center">{$v.money}</td>
<td class="center">{$v.pay_money}
<if condition="$v[money] neq $v[pay_money]">
<a href="#" class="label label-danger"></a>
</if>
</td>
<td class="center">
<if condition="$v['is_pay'] eq 0 ">
<span class="label ">未支付</span>
<else/>
<span class="label label-success">已支付</span>
</if>
</td>
<td class="center">
<if condition="$v['is_delivery']">
<a href="{:kuaidi($v[distribution_mode],$v[logistics_number])}" target="_blank" class="label label-success">已发货</a>
<else/>
<span class="label">未发货</span>
</if>
</td>
<td class="center"><span class="badge badge-info">{$v.status_name}</span></td>
<td class="center">{:date('m/d H:i:s',$v[addtime])}</td>
<td >
<a href="{:U('detail',array('order_id'=>$v['order_id']))}" class="btn btn-inverse btn-mini iframe" width="70%" height="80%">查看</a>
<a href="{:U('log',array('order_id'=>$v['order_id']))}" class="btn btn-inverse btn-mini iframe" width="40%" height="50%">日志</a>
<?php
if($v['status_code']==301){
?>
<a href="{:U('agree_refund',array('order_id'=>$v['order_id']))}" class="btn btn-inverse btn-mini ajax_del" confirm_info="同意退款后,费用将原路返还!您确定要操作吗?" width="40%" height="50%">同意</a>
<a href="{:U('disagree_refund',array('order_id'=>$v['order_id']))}" class="btn btn-inverse btn-mini ajax_del" confirm_info="您确定不同意用户的退款申请吗?" width="40%" height="50%">不同意</a>
<?php
}
?>
</td>
</tr>
</foreach>
</tbody>
</table>
</form>
</div>
</div>
</div>
<div class="pagination alternate">
<ul>{$listpage}</ul>
</div>
</div>
</div>
<include file="Inc/footer"/>