123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- {include file="public/header" /}
- <div class="page">
- <div class="fixed-bar">
- <div class="item-title">
- <div class="subject">
- <h3>已绑卡管理</h3>
- <h5></h5>
- </div>
- {include file="public/admin_items" /}
- </div>
- </div>
- <form method="get" name="formSearch" id="formSearch">
-
- </form>
- <table class="ds-default-table">
- <thead>
- <tr class="thead">
- <th>ID</th>
- <th >卡号</th>
- <th >状态</th>
- <th >会员</th>
- <th >初始金额</th>
- <th >卡面余额</th>
- <th >已用金额</th>
- <th >使用次数</th>
- <th >使用范围</th>
- <th >有效期</th>
- <th >操作</th>
- </tr>
- </thead>
- <tbody>
- {notempty name="list"}
- {foreach name="list" item="v"}
- <tr class="hover">
- <td>{$v.id }</td>
- <td>{$v.card_no}</td>
- <td>{$v.state_text}</td>
- <td>{$v.member}</td>
- <td>{$v.worth}</td>
- <td>{$v.balance}</td>
- <td>{$v.freeze}</td>
- <td>{$v.used_count}</td>
- <td>{$v.using_range}</td>
- <td>{:date('Y-m-d',$v.start_date)} ~ {:date('Y-m-d',$v.end_date)}</td>
- <td class="align-center">
- {if condition="$v.card_status != 5"}
- <a href="javascript:dsLayerConfirm('{:url('card/state',['id'=>$v.id,'state'=>5])}','{$Think.lang.ds_ensure_disable}')" class="dsui-btn-del"><i class="iconfont"></i>冻结</a>
- {/if}
- {if condition="$v.card_status == 5"}
- <a href="javascript:dsLayerConfirm('{:url('card/state',['id'=>$v.id,'state'=>2])}','{$Think.lang.ds_ensure_enable}')" data-state="3" class="dsui-btn-edit"><i class="iconfont"></i>解冻</a>
- {/if}
- </td>
- </tr>
- {/foreach}
- {else /}
- <tr class="no_data">
- <td colspan="11">{$Think.lang.ds_no_record}</td>
- </tr>
- {/notempty}
- </tbody>
- </table>
- {$show_page|raw}
- </div>
- <script type="text/javascript">
- </script>
|