show_statis.html 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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.bill_billing_list}</h3>
  7. </div>
  8. {include file="public/admin_items" /}
  9. </div>
  10. </div>
  11. <div class="fixed-empty"></div>
  12. <form method="get" action="" name="formSearch" id="formSearch">
  13. <div class="ds-search-form">
  14. <dl>
  15. <dt>{$Think.lang.ds_store_name}ID/{$Think.lang.bill_store_name}</dt>
  16. <dd><input class="txt-short" type="text" value="{$Request.param.query_store}" name="query_store" id="query_store"/></dd>
  17. </dl>
  18. <dl>
  19. <dt>{$Think.lang.bill_state}</dt>
  20. <dd>
  21. <select name="bill_state">
  22. <option>{$Think.lang.ds_please_choose}</option>
  23. <option {if condition="$Request.param.bill_state eq BILL_STATE_CREATE"}selected{/if} value="{$Think.BILL_STATE_CREATE}">{$Think.lang.bill_state_create}</option>
  24. <option {if condition="$Request.param.bill_state eq BILL_STATE_STORE_COFIRM"}selected{/if} value="{$Think.BILL_STATE_STORE_COFIRM}">{$Think.lang.bill_srate_store_cofirm}</option>
  25. <option {if condition="$Request.param.bill_state eq BILL_STATE_SUCCESS"}selected{/if} value="{$Think.BILL_STATE_SUCCESS}">{$Think.lang.bill_state_success}</option>
  26. </select>
  27. </dd>
  28. </dl>
  29. <div class="btn_group">
  30. <a href="javascript:document.formSearch.submit();" class="btn " title="{$Think.lang.ds_query}">{$Think.lang.ds_query}</a>
  31. <a href="{:url('Bill/show_statis')}" class="btn btn-default" title="{$Think.lang.ds_cancel}">{$Think.lang.ds_cancel}</a>
  32. <a class="btn" href="javascript:export_xls('{:url('Bill/export_zd_step1')}')"><span>{$Think.lang.ds_export}Excel</span></a>
  33. </div>
  34. </div>
  35. </form>
  36. <div class="explanation" id="explanation">
  37. <div class="title" id="checkZoom">
  38. <h4 title="{$Think.lang.ds_explanation_tip}">{$Think.lang.ds_explanation}</h4>
  39. <span id="explanationZoom" title="{$Think.lang.ds_explanation_close}" class="arrow"></span>
  40. </div>
  41. <ul>
  42. <li>{$Think.lang.bill_show_statis_help1}</li>
  43. <li>{$Think.lang.bill_show_statis_help2}</li>
  44. </ul>
  45. </div>
  46. <table class="ds-default-table">
  47. <thead>
  48. <tr class="thead">
  49. <th>{$Think.lang.bill_ob_no}</th>
  50. <th class="align-center">{$Think.lang.bill_os_startdate}</th>
  51. <th class="align-center">{$Think.lang.bill_os_enddate}</th>
  52. <th class="align-center">{$Think.lang.order_price_from}</th>
  53. <th class="align-center">{$Think.lang.order_total_transport}</th>
  54. <th class="align-center">{$Think.lang.bill_print_commision}</th>
  55. <th class="align-center">{$Think.lang.bill_ob_order_return_totals}</th>
  56. <th class="align-center">{$Think.lang.bill_os_commis_returntotals}</th>
  57. <th class="align-center">{$Think.lang.ob_inviter_totals}</th>
  58. <th class="align-center">{$Think.lang.bill_ob_vr_order_totals}</th>
  59. <th class="align-center">{$Think.lang.bill_ob_vr_order_return_totals}</th>
  60. <th class="align-center">{$Think.lang.bill_ob_vr_commis_totals}</th>
  61. <th class="align-center">{$Think.lang.bill_ob_vr_commis_return_totals}</th>
  62. <th class="align-center">{$Think.lang.bill_ob_vr_inviter_totals}</th>
  63. <th class="align-center">{$Think.lang.bill_os_store_costtotals}</th>
  64. <th class="align-center">{$Think.lang.bill_os_mallvoucher_totals}</th>
  65. <th class="align-center">{$Think.lang.bill_os_result_totals}</th>
  66. <th class="align-center">{$Think.lang.bill_out_date}</th>
  67. <th class="align-center">{$Think.lang.bill_state}</th>
  68. <th class="align-center">{$Think.lang.ds_store_name}</th>
  69. <th class="align-center">{$Think.lang.ds_handle}</th>
  70. </tr>
  71. </thead>
  72. <tbody>
  73. {notempty name="bill_list"}
  74. {foreach name="bill_list" item="bill_info"}
  75. <tr class="hover">
  76. <td>{$bill_info.ob_no}</td>
  77. <td class="nowrap align-center">{$bill_info.ob_startdate|date='Y-m-d'}</td>
  78. <td class="nowrap align-center">{$bill_info.ob_enddate|date='Y-m-d'}</td>
  79. <td class="align-center">{$bill_info.ob_order_totals}</td>
  80. <td class="align-center">{$bill_info.ob_shipping_totals}</td>
  81. <td class="align-center">{$bill_info.ob_commis_totals}</td>
  82. <td class="align-center">{$bill_info.ob_order_return_totals}</td>
  83. <td class="align-center">{$bill_info.ob_commis_return_totals}</td>
  84. <td class="align-center">{$bill_info.ob_inviter_totals}</td>
  85. <td class="align-center">{$bill_info.ob_vr_order_totals}</td>
  86. <td class="align-center">{$bill_info.ob_vr_order_return_totals}</td>
  87. <td class="align-center">{$bill_info.ob_vr_commis_totals}</td>
  88. <td class="align-center">{$bill_info.ob_vr_commis_return_totals}</td>
  89. <td class="align-center">{$bill_info.ob_vr_inviter_totals}</td>
  90. <td class="align-center">{$bill_info.ob_store_cost_totals}</td>
  91. <td class="align-center">{$bill_info.ob_mall_voucher_totals}</td>
  92. <td class="align-center">{$bill_info.ob_result_totals}</td>
  93. <td class="align-center">{$bill_info.ob_createdate|date='Y-m-d'}</td>
  94. <td class="align-center">{:get_bill_state($bill_info['ob_state'])}</td>
  95. <td class="align-center">{$bill_info.ob_store_name}<br/>id:{$bill_info.ob_store_id}</td>
  96. <td class="align-center">
  97. <a href="javascript:dsLayerOpen('{:url('Bill/show_bill',['ob_no'=>$bill_info.ob_no])}','{$Think.lang.ds_view}-{$bill_info.ob_no}')" class="dsui-btn-view"><i class="iconfont"></i>{$Think.lang.ds_view}</a>
  98. </td>
  99. </tr>
  100. {/foreach}
  101. {else /}
  102. <tr class="no_data">
  103. <td colspan="19">{$Think.lang.ds_no_record}</td>
  104. </tr>
  105. {/notempty}
  106. </tbody>
  107. </table>
  108. <div>{$show_page|raw}</div>
  109. </div>
  110. <script type="text/javascript">
  111. $(function(){
  112. $('#bill_month').datepicker({dateFormat:'yy-mm'});
  113. });
  114. </script>