123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- {include file="public/header" /}
- <div class="page">
- <div class="fixed-bar">
- <div class="item-title">
- <div class="subject">
- <h3>{$Think.lang.ds_predeposit}</h3>
- <h5></h5>
- </div>
- {include file="public/admin_items" /}
- </div>
- </div>
- <div class="explanation" id="explanation">
- <div class="title" id="checkZoom">
- <h4 title="{$Think.lang.ds_explanation_tip}">{$Think.lang.ds_explanation}</h4>
- <span id="explanationZoom" title="{$Think.lang.ds_explanation_close}" class="arrow"></span>
- </div>
- <ul>
- <li>{$Think.lang.admin_predeposit_cash_help1}</li>
- <li>{$Think.lang.admin_predeposit_cash_help2}</li>
- </ul>
- </div>
- <form method="get" id="formSearch">
- <div class="ds-search-form">
- <dl>
- <dt>{$Think.lang.admin_predeposit_membername}</dt>
- <dd><input type="text" name="mname" class="txt" value='{$Request.param.mname}' /></dd>
- </dl>
- <dl>
- <dt>{$Think.lang.admin_predeposit_apptime}</dt>
- <dd>
- <input type="text" id="stime" name="stime" class="txt date" value="{$Request.param.stime}">
- ~
- <input type="text" id="etime" name="etime" class="txt date" value="{$Request.param.etime}">
- </dd>
- </dl>
- <dl>
- <dt>{$Think.lang.admin_predeposit_cash_shoukuanname}</dt>
- <dd><input type="text" name="pdc_bank_user" class="txt" value='{$Request.param.pdc_bank_user}'></dd>
- </dl>
- <dl>
- <dt>{$Think.lang.admin_predeposit_paystate}</dt>
- <dd>
- <select id="paystate_search" name="paystate_search">
- <option value="">{$Think.lang.ds_please_choose}</option>
- <option value="0" {if condition="$Request.param.paystate_search eq '0'"}selected="selected"{/if}>{$Think.lang.admin_predeposit_rechargewaitpaying}</option>
- <option value="1" {if condition="$Request.param.paystate_search eq '1'"}selected="selected"{/if}>{$Think.lang.admin_predeposit_rechargepaysuccess}</option>
- </select>
- </dd>
- </dl>
- <div class="btn_group">
- <a href="javascript:document.getElementById('formSearch').submit();" class="btn " title="{$Think.lang.ds_query}">{$Think.lang.ds_query}</a>
- {if $filtered}
- <a href="{:url('Predeposit/pdcash_list')}" class="btn btn-default" title="{$Think.lang.ds_cancel}">{$Think.lang.ds_cancel}</a>
- {/if}
- <a class="btn btn-mini" href="javascript:export_xls('{:url('Predeposit/export_cash_step1')}')"><span>{$Think.lang.ds_export}Excel</span></a>
- </div>
- </div>
- </form>
- <table class="ds-default-table">
- <thead>
- <tr class="thead">
- <th> </th>
- <th>{$Think.lang.admin_predeposit_cs_sn}</th>
- <th>{$Think.lang.admin_predeposit_cash_shoukuantype}</th>
- <th>{$Think.lang.admin_predeposit_membername}</th>
- <th class="align-center">{$Think.lang.admin_predeposit_apptime}</th>
- <th class="align-center">{$Think.lang.admin_predeposit_cash_price}({$Think.lang.ds_yuan})</th>
- <th class="align-center">{$Think.lang.admin_predeposit_paystate}</th>
- <th class="align-center">{$Think.lang.ds_handle}</th>
- </tr>
- </thead>
- <tbody>
- {notempty name="predeposit_list"}
- {foreach name="predeposit_list" item="v" key="k" }
- <tr class="hover">
- <td class="w12"> </td>
- <td>{$v.pdc_sn}</td>
- <td>{$Think.lang.pay_method_text[$v.pdc_bank_type]}</td>
- <td>{$v.pdc_member_name}</td>
- <td class="nowrap align-center">{notempty name="$v.pdc_addtime"}{$v.pdc_addtime|date='Y-m-d H:i:s'}{/notempty}</td>
- <td class="align-center">{$v.pdc_amount}</td>
- <td class="align-center">{if $v.pdc_payment_state eq '0'}{$Think.lang.admin_predeposit_rechargewaitpaying}{else}{$Think.lang.admin_predeposit_rechargepaysuccess}{/if}</td>
- <td class="w90 align-center">
- {if $v.pdc_payment_state == '0'}
- <a href="javascript:void(0)" onclick="submit_delete('{$v.pdc_id}')" class="dsui-btn-del"><i class="iconfont"></i>{$Think.lang.ds_del}</a>
- {/if}
- <a href="javascript:dsLayerOpen('{:url('Predeposit/pdcash_view',['id'=>$v.pdc_id])}','{$Think.lang.ds_view}')" class="dsui-btn-view"><i class="iconfont"></i>{$Think.lang.ds_view}</a>
- </td>
- </tr>
- {/foreach}
- {else /}
- <tr class="no_data">
- <td colspan="10">{$Think.lang.ds_no_record}</td>
- </tr>
- {/notempty}
- </tbody>
- </table>
- {$show_page|raw}
- </div>
- <script language="javascript">
- $(function(){
- $('#stime').datepicker({dateFormat: 'yy-mm-dd'});
- $('#etime').datepicker({dateFormat: 'yy-mm-dd'});
- });
- </script>
- <script type="text/javascript">
- function submit_delete(ids_str) {
- _uri = ADMINSITEURL + "/Predeposit/pdcash_del.html?pdc_id=" + ids_str;
- dsLayerConfirm(_uri, '{$Think.lang.ds_ensure_del}');
- }
- </script>
|