index.html 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {extend name="default/base/base_seller" /}
  2. {block name="seller_main"}
  3. <form method="get" action="" target="_self">
  4. <table class="search-form">
  5. <tr>
  6. <td></td>
  7. <th>{$Think.lang.billing_status}</th>
  8. <td class="w160">
  9. <select name="bill_state">
  10. <option>{$Think.lang.ds_please_choose}</option>
  11. <option {if condition="$Request.param.bill_state eq BILL_STATE_CREATE"}selected{/if} value="{$Think.BILL_STATE_CREATE}">{$Think.lang.has_chuzhang}</option>
  12. <option {if condition="$Request.param.bill_state eq BILL_STATE_STORE_COFIRM"}selected{/if} value="{$Think.BILL_STATE_STORE_COFIRM}">{$Think.lang.merchant_has_confirme}</option>
  13. <option {if condition="$Request.param.bill_state eq BILL_STATE_SUCCESS"}selected{/if} value="{$Think.BILL_STATE_SUCCESS}">{$Think.lang.settlement_completion}</option>
  14. </select>
  15. </td>
  16. <th>{$Think.lang.settlement_number}</th>
  17. <td class="w160"><input type="text" class="text w150" name="ob_no" value="{$Request.param.ob_no}" /></td>
  18. <td class="w70 tc">
  19. <input type="submit" class="submit" value="{$Think.lang.ds_common_search}" />
  20. </td>
  21. </tr>
  22. </table>
  23. </form>
  24. <table class="dssc-default-table">
  25. <thead>
  26. <tr>
  27. <th class="w10"></th>
  28. <th>{$Think.lang.settlement_number}</th>
  29. <th>{$Think.lang.start_end_time}</th>
  30. <th>{$Think.lang.current_receivables}</th>
  31. <th>{$Think.lang.settlement_status}</th>
  32. <th class="w120">{$Think.lang.ds_handle}</th>
  33. </tr>
  34. </thead>
  35. <tbody>
  36. {notempty name="bill_list"}
  37. {foreach name="bill_list" item="bill_info" }
  38. <tr class="bd-line">
  39. <td></td>
  40. <td>{$bill_info.ob_no}</td>
  41. <td>{$bill_info.ob_startdate|date="Y-m-d"} - {$bill_info.ob_enddate|date="Y-m-d"}</td>
  42. <td>{$bill_info.ob_result_totals}</td>
  43. <td>{:get_bill_state($bill_info['ob_state'])}</td>
  44. <td><a href="{:url('Sellerbill/show_bill',['ob_no'=>$bill_info.ob_no])}">{$Think.lang.ds_view}</a></td>
  45. </tr>
  46. {/foreach}
  47. {else/}
  48. <tr>
  49. <td colspan="6" class="norecord"><div class="warning-option"><i class="iconfont">&#xe64c;</i><span>{$Think.lang.no_record}</span></div></td>
  50. </tr>
  51. {/notempty}
  52. </tbody>
  53. <tfoot>
  54. {notempty name="bill_list"}
  55. <tr>
  56. <td colspan="6"><div class="pagination">{$show_page|raw}</div></td>
  57. </tr>
  58. {/notempty}
  59. </tfoot>
  60. </table>
  61. <script type="text/javascript">
  62. $(function(){
  63. $('#query_start_date').datepicker({dateFormat: 'yy-mm-dd'});
  64. $('#query_end_date').datepicker({dateFormat: 'yy-mm-dd'});
  65. });
  66. </script>
  67. {/block}