pdcash_list.html 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. {include file="public/header" /}
  2. <div class="page">
  3. <div class="fixed-bar">
  4. <div class="item-title">
  5. <div class="subject">
  6. <h3>{$Think.lang.ds_predeposit}</h3>
  7. <h5></h5>
  8. </div>
  9. {include file="public/admin_items" /}
  10. </div>
  11. </div>
  12. <div class="explanation" id="explanation">
  13. <div class="title" id="checkZoom">
  14. <h4 title="{$Think.lang.ds_explanation_tip}">{$Think.lang.ds_explanation}</h4>
  15. <span id="explanationZoom" title="{$Think.lang.ds_explanation_close}" class="arrow"></span>
  16. </div>
  17. <ul>
  18. <li>{$Think.lang.admin_predeposit_cash_help1}</li>
  19. <li>{$Think.lang.admin_predeposit_cash_help2}</li>
  20. </ul>
  21. </div>
  22. <form method="get" id="formSearch">
  23. <div class="ds-search-form">
  24. <dl>
  25. <dt>{$Think.lang.admin_predeposit_membername}</dt>
  26. <dd><input type="text" name="mname" class="txt" value='{$Request.param.mname}' /></dd>
  27. </dl>
  28. <dl>
  29. <dt>{$Think.lang.admin_predeposit_apptime}</dt>
  30. <dd>
  31. <input type="text" id="stime" name="stime" class="txt date" value="{$Request.param.stime}">
  32. ~
  33. <input type="text" id="etime" name="etime" class="txt date" value="{$Request.param.etime}">
  34. </dd>
  35. </dl>
  36. <dl>
  37. <dt>{$Think.lang.admin_predeposit_cash_shoukuanname}</dt>
  38. <dd><input type="text" name="pdc_bank_user" class="txt" value='{$Request.param.pdc_bank_user}'></dd>
  39. </dl>
  40. <dl>
  41. <dt>{$Think.lang.admin_predeposit_paystate}</dt>
  42. <dd>
  43. <select id="paystate_search" name="paystate_search">
  44. <option value="">{$Think.lang.ds_please_choose}</option>
  45. <option value="0" {if condition="$Request.param.paystate_search eq '0'"}selected="selected"{/if}>{$Think.lang.admin_predeposit_rechargewaitpaying}</option>
  46. <option value="1" {if condition="$Request.param.paystate_search eq '1'"}selected="selected"{/if}>{$Think.lang.admin_predeposit_rechargepaysuccess}</option>
  47. </select>
  48. </dd>
  49. </dl>
  50. <div class="btn_group">
  51. <a href="javascript:document.getElementById('formSearch').submit();" class="btn " title="{$Think.lang.ds_query}">{$Think.lang.ds_query}</a>
  52. {if $filtered}
  53. <a href="{:url('Predeposit/pdcash_list')}" class="btn btn-default" title="{$Think.lang.ds_cancel}">{$Think.lang.ds_cancel}</a>
  54. {/if}
  55. <a class="btn btn-mini" href="javascript:export_xls('{:url('Predeposit/export_cash_step1')}')"><span>{$Think.lang.ds_export}Excel</span></a>
  56. </div>
  57. </div>
  58. </form>
  59. <table class="ds-default-table">
  60. <thead>
  61. <tr class="thead">
  62. <th>&nbsp;</th>
  63. <th>{$Think.lang.admin_predeposit_cs_sn}</th>
  64. <th>{$Think.lang.admin_predeposit_cash_shoukuantype}</th>
  65. <th>{$Think.lang.admin_predeposit_membername}</th>
  66. <th class="align-center">{$Think.lang.admin_predeposit_apptime}</th>
  67. <th class="align-center">{$Think.lang.admin_predeposit_cash_price}({$Think.lang.ds_yuan})</th>
  68. <th class="align-center">{$Think.lang.admin_predeposit_paystate}</th>
  69. <th class="align-center">{$Think.lang.ds_handle}</th>
  70. </tr>
  71. </thead>
  72. <tbody>
  73. {notempty name="predeposit_list"}
  74. {foreach name="predeposit_list" item="v" key="k" }
  75. <tr class="hover">
  76. <td class="w12">&nbsp;</td>
  77. <td>{$v.pdc_sn}</td>
  78. <td>{$Think.lang.pay_method_text[$v.pdc_bank_type]}</td>
  79. <td>{$v.pdc_member_name}</td>
  80. <td class="nowrap align-center">{notempty name="$v.pdc_addtime"}{$v.pdc_addtime|date='Y-m-d H:i:s'}{/notempty}</td>
  81. <td class="align-center">{$v.pdc_amount}</td>
  82. <td class="align-center">{if $v.pdc_payment_state eq '0'}{$Think.lang.admin_predeposit_rechargewaitpaying}{else}{$Think.lang.admin_predeposit_rechargepaysuccess}{/if}</td>
  83. <td class="w90 align-center">
  84. {if $v.pdc_payment_state == '0'}
  85. <a href="javascript:void(0)" onclick="submit_delete('{$v.pdc_id}')" class="dsui-btn-del"><i class="iconfont"></i>{$Think.lang.ds_del}</a>
  86. {/if}
  87. <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>
  88. </td>
  89. </tr>
  90. {/foreach}
  91. {else /}
  92. <tr class="no_data">
  93. <td colspan="10">{$Think.lang.ds_no_record}</td>
  94. </tr>
  95. {/notempty}
  96. </tbody>
  97. </table>
  98. {$show_page|raw}
  99. </div>
  100. <script language="javascript">
  101. $(function(){
  102. $('#stime').datepicker({dateFormat: 'yy-mm-dd'});
  103. $('#etime').datepicker({dateFormat: 'yy-mm-dd'});
  104. });
  105. </script>
  106. <script type="text/javascript">
  107. function submit_delete(ids_str) {
  108. _uri = ADMINSITEURL + "/Predeposit/pdcash_del.html?pdc_id=" + ids_str;
  109. dsLayerConfirm(_uri, '{$Think.lang.ds_ensure_del}');
  110. }
  111. </script>