index.html 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {extend name="default/base/base_seller" /}
  2. {block name="seller_main"}
  3. <div class="alert"><span class="mr30">{$Think.lang.sellerdeposit_avaliable_money}{$Think.lang.ds_colon}<strong class="mr5 red" style="font-size: 18px;">{$store_info.store_avaliable_deposit}</strong>{$Think.lang.ds_yuan}</span><span class='mr30'>{$Think.lang.sellerdeposit_freeze_money}{$Think.lang.ds_colon}<strong class="mr5 blue" style="font-size: 18px;">{$store_info.store_freeze_deposit}</strong>{$Think.lang.ds_yuan}</span></div>
  4. <form method="get" target="_self">
  5. <table class="dsm-search-table">
  6. <input type="hidden" name= "recycle" value="{$Request.param.recycle}" />
  7. <tr>
  8. <td>&nbsp;</td>
  9. <th>{$Think.lang.sellerdeposit_changetime}</th>
  10. <td class="w240">
  11. <input type="text" class="text w70" name="query_start_date" id="query_start_date" value="{$Request.param.query_start_date}"/>
  12. <label class="add-on"><i class="iconfont">&#xe8d6;</i></label>&nbsp;&#8211;&nbsp;
  13. <input type="text" class="text w70" name="query_end_date" id="query_end_date" value="{$Request.param.query_end_date}"/>
  14. <label class="add-on"><i class="iconfont">&#xe8d6;</i></label>
  15. </td>
  16. <th>{$Think.lang.sellerdeposit_log_desc}</th>
  17. <td class="w160"><input type="text" class="text w150" name="storedepositlog_desc" value="{$Request.param.storedepositlog_desc}"></td>
  18. <td class="w70 tc">
  19. <input type="submit" class="submit" value="{$Think.lang.ds_search}"/>
  20. </td>
  21. </tr>
  22. </table>
  23. </form>
  24. <table class="dssc-default-table">
  25. <thead>
  26. <tr>
  27. <th>{$Think.lang.sellerdeposit_changetime}</th>
  28. <th class="tl">{$Think.lang.sellerdeposit_avaliable_money}({$Think.lang.ds_yuan})</th>
  29. <th class="tl">{$Think.lang.sellerdeposit_freeze_money}({$Think.lang.ds_yuan})</th>
  30. <th class="tl">{$Think.lang.sellerdeposit_payable_money}({$Think.lang.ds_yuan})</th>
  31. <th class="tl">{$Think.lang.sellerdeposit_log_desc}</th>
  32. </tr>
  33. </thead>
  34. <tbody>
  35. {notempty name="list_log"}
  36. {foreach name="list_log" item="v" key="k" }
  37. <tr class="bd-line">
  38. <td>{notempty name="$v.storedepositlog_add_time"}{$v.storedepositlog_add_time|date='Y-m-d H:i:s'}{/notempty}</td>
  39. <td class="tl"><?php echo floatval($v['store_avaliable_deposit']) ? (floatval($v['store_avaliable_deposit']) > 0 ? '+' : null ).$v['store_avaliable_deposit'] : null;?></td>
  40. <td class="tl"><?php echo floatval($v['store_freeze_deposit']) ? (floatval($v['store_freeze_deposit']) > 0 ? '+' : null ).$v['store_freeze_deposit'] : null;?></td>
  41. <td class="tl"><?php echo floatval($v['store_payable_deposit']) ? (floatval($v['store_payable_deposit']) > 0 ? '+' : null ).$v['store_payable_deposit'] : null;?></td>
  42. <td class="tl">{$v.storedepositlog_desc}
  43. </td>
  44. </tr>
  45. {/foreach}
  46. {else /}
  47. <tr>
  48. <td colspan="5" class="norecord"><div class="warning-option"><i>&nbsp;</i><span>{$Think.lang.no_record}</span></div></td>
  49. </tr>
  50. {/notempty}
  51. </tbody>
  52. <tfoot>
  53. {notempty name="list_log"}
  54. <tr>
  55. <td colspan="5"><div class="pagination">{$show_page|raw}</div></td>
  56. </tr>
  57. {/notempty}
  58. </tfoot>
  59. </table>
  60. <script type="text/javascript">
  61. $(function(){
  62. $('#query_start_date').datepicker({dateFormat: 'yy-mm-dd'});
  63. $('#query_end_date').datepicker({dateFormat: 'yy-mm-dd'});
  64. });
  65. </script>
  66. {/block}