www.lightcourse.com/app/home/view/default/member/memberrefund/index.html

103 lines
4.4 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{extend name="default/base/base_member" /}
{block name="member_main"}
<form method="get" action="">
<table class="dsm-search-table">
<tr>
<td>&nbsp;</td>
<th>{$Think.lang.refund_buyer_add_time}</th>
<td class="w240">
<input name="add_time_from" id="add_time_from" type="text" class="text w70" value="{$Request.param.add_time_from}" /><label class="add-on"><i class="iconfont">&#xe8d6;</i></label>
&nbsp;&#8211;&nbsp;
<input name="add_time_to" id="add_time_to" type="text" class="text w70" value="{$Request.param.add_time_to}" /><label class="add-on"><i class="iconfont">&#xe8d6;</i></label>
</td>
<th><select name="type">
<option value="order_sn" {if condition="$Request.param.type eq 'order_sn'"}selected{/if}>{$Think.lang.refund_order_ordersn}</option>
<option value="refund_sn" {if condition="$Request.param.type eq 'refund_sn'"}selected{/if}>{$Think.lang.refund_order_refundsn}</option>
<option value="goods_name" {if condition="$Request.param.type eq 'goods_name'"}selected{/if}>{$Think.lang.ds_goods_name}</option>
</select></th>
<td class="w160"><input type="text" class="text w150" name="key" value="{$Request.param.key}" /></td>
<td class="w70 tc">
<input type="submit" class="submit" value="{$Think.lang.ds_search}" />
</td>
</tr>
</table>
</form>
<table class="dsm-default-table order">
<thead>
<tr>
<th class="w10"></th>
<th colspan="2">{$Think.lang.ds_goods}</th>
<th class="w100">{$Think.lang.refund_order_refund}{$Think.lang.ds_yuan}</th>
<th class="w100">{$Think.lang.refund_state}</th>
<th class="w100">{$Think.lang.platform_confirmation}</th>
<th class="w100">{$Think.lang.ds_handle}</th>
</tr>
</thead>
{notempty name="refund_list"}
<tbody>
{foreach name="refund_list" item="val" key="key" }
<tr>
<td colspan="20" class="sep-row"></td>
</tr>
<tr>
<th colspan="20"> <span class="ml10">{$Think.lang.refund_order_refundsn}{$Think.lang.ds_colon}{$val.refund_sn}</span><span>{$Think.lang.refund_buyer_add_time}{$Think.lang.ds_colon}{$val.add_time|date="Y-m-d H:i:s"}</span>
</th>
</tr>
<tr class="bd-line" >
<td class="bdl"></td>
{if $val['goods_id'] > 0}
<td class="w50"><div class="pic-thumb"><a href="{:url('Goods/index',['goods_id'=>$val.goods_id])}" target="_blank"><img src="{:goods_thumb($val,240)}" /></a></div></td>
<td class="tl">
<dl class="goods-name">
<dt><a href="{:url('Goods/index',['goods_id'=>$val.goods_id])}" target="_blank">{$val.goods_name}</a></dt>
<dd>{$Think.lang.refund_order_ordersn}{$Think.lang.ds_colon}<a href="{:url('Memberorder/show_order',['order_id'=>$val.order_id])}" target="_blank">{$val.order_sn}</a></dd>
</dl>
</td>
{else/}
<td class="tl" colspan="2">
<dl class="goods-name">
<dt>{$val.goods_name}</dt>
<dd>{$Think.lang.refund_order_ordersn}{$Think.lang.ds_colon}<a href="{:url('Memberorder/show_order',['order_id'=>$val.order_id])}" target="_blank">{$val.order_sn}</a></dd>
</dl>
</td>
{/if}
<td>{$val.refund_amount}</td>
<td>{$val.refund_state==1?'处理中':'已完成'}</td>
<td>{$val.examine_type==1?'未审核':($val.examine_type==2?'同意':'不同意')}</td>
<td class="bdr"><a href="{:url('Memberrefund/view',['refund_id'=>$val.refund_id])}" class="dsm-btn">{$Think.lang.ds_view} </a></td>
</tr>
{/foreach}
</tbody>
<tfoot>
<tr>
<td colspan="20"><div class="pagination">{$show_page|raw}</div></td>
</tr>
</tfoot>
{else/}
<tbody>
<tr>
<td colspan="20" class="norecord"><div class="warning-option"><i>&nbsp;</i><span>{$Think.lang.no_record}</span></div></td>
</tr>
</tbody>
{/notempty}
</table>
<script type="text/javascript">
$(function(){
$('#add_time_from').datepicker({dateFormat: 'yy-mm-dd'});
$('#add_time_to').datepicker({dateFormat: 'yy-mm-dd'});
});
</script>
{/block}