index.html 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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_bill}</h3>
  7. </div>
  8. {include file="public/admin_items" /}
  9. </div>
  10. </div>
  11. <div class="fixed-empty"></div>
  12. <form method="get" action="" target="" name="formSearch" id="formSearch">
  13. <div class="ds-search-form">
  14. <dl>
  15. <dt>{$Think.lang.order_time_from}{$Think.lang.bill_year_search}</dt>
  16. <dd>
  17. <select name="query_year" class="querySelect">
  18. <option value="">{$Think.lang.ds_please_choose}</option>
  19. <?php for($i = date('Y',TIMESTAMP)-5; $i <= date('Y',TIMESTAMP)+2; $i++) { ?>
  20. <option value="{$i}" {if condition="$Request.param.query_year eq $i"}selected{/if}>{$i}</option>
  21. <?php } ?>
  22. </select>
  23. </dd>
  24. </dl>
  25. <dl>
  26. <dt></dt>
  27. <dd></dd>
  28. </dl>
  29. <div class="btn_group">
  30. <a href="javascript:document.formSearch.submit();" class="btn " title="">{$Think.lang.ds_query}</a>
  31. {if $filtered}
  32. <a href="{:url('Bill/index')}" class="btn btn-default" title="{$Think.lang.ds_cancel}">{$Think.lang.ds_cancel}</a>
  33. {/if}
  34. <a class="btn" href="javascript:export_xls('{:url('Bill/export_js_step1')}')"><span>{$Think.lang.ds_export}Excel</span></a>
  35. </div>
  36. </div>
  37. </form>
  38. <div class="explanation" id="explanation">
  39. <div class="title" id="checkZoom">
  40. <h4 title="{$Think.lang.ds_explanation_tip}">{$Think.lang.ds_explanation}</h4>
  41. <span id="explanationZoom" title="{$Think.lang.ds_explanation_close}" class="arrow"></span>
  42. </div>
  43. <ul>
  44. <li>{$Think.lang.bill_index_hlpe1}</li>
  45. </ul>
  46. </div>
  47. <table class="ds-default-table">
  48. <thead>
  49. <tr class="thead">
  50. <th>{$Think.lang.ds_order_sn}{$Think.lang.bill_order}({$Think.lang.ds_month})</th>
  51. <th class="align-center">{$Think.lang.order_price_from}</th>
  52. <th class="align-center">{$Think.lang.order_total_transport}</th>
  53. <th class="align-center">{$Think.lang.bill_os_commis_totals}</th>
  54. <th class="align-center">{$Think.lang.bill_os_order_returntotals}</th>
  55. <th class="align-center">{$Think.lang.bill_os_commis_returntotals}</th>
  56. <th class="align-center">{$Think.lang.bill_os_store_costtotals}</th>
  57. <th class="align-center">{$Think.lang.ob_inviter_totals}</th>
  58. <th class="align-center">{$Think.lang.bill_os_result_totals}</th>
  59. <th class="align-center">{$Think.lang.ds_handle}</th>
  60. </tr>
  61. </thead>
  62. <tbody>
  63. {notempty name="bill_list"}
  64. {foreach name="bill_list" item="bill"}
  65. <tr class="hover">
  66. <td>
  67. <?php echo substr($bill['os_month'],0,4).'-'.substr($bill['os_month'],4);?>
  68. </td>
  69. <td class="align-center">{$bill.os_order_totals}</td>
  70. <td class="align-center">{$bill.os_shipping_totals}</td>
  71. <td class="align-center">{$bill.os_commis_totals}</td>
  72. <td class="align-center">{$bill.os_order_returntotals}</td>
  73. <td class="align-center">{$bill.os_commis_returntotals}</td>
  74. <td class="align-center">{$bill.os_store_costtotals}</td>
  75. <td class="align-center">{$bill.os_inviter_totals}</td>
  76. <td class="align-center">{$bill.os_result_totals}</td>
  77. <td class="align-center">
  78. <a href="{:url('Bill/show_statis',['os_month'=>$bill.os_month])}" class="dsui-btn-view"><i class="iconfont"></i>{$Think.lang.ds_view}</a>
  79. </td>
  80. </tr>
  81. {/foreach}
  82. {else /}
  83. <tr class="no_data">
  84. <td colspan="15">{$Think.lang.ds_no_record}</td>
  85. </tr>
  86. {/notempty}
  87. </tbody>
  88. {notempty name="bill_list"}
  89. <tfoot>
  90. <tr class="tfoot">
  91. <td colspan="15" id="dataFuncs">{$show_page|raw}</td>
  92. </tr>
  93. </tfoot>
  94. {/notempty}
  95. </table>
  96. </div>
  97. <script type="text/javascript">
  98. $(function() {
  99. $('#add_time_from').datepicker({dateFormat: 'yy-mm-dd'});
  100. $('#add_time_to').datepicker({dateFormat: 'yy-mm-dd'});
  101. });
  102. </script>