bargain_order.html 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {include file="public/header" /}
  2. <div class="page">
  3. <form method="get" name="formSearch">
  4. <div class="ds-search-form">
  5. <dl>
  6. <dt>{$Think.lang.ds_state}</dt>
  7. <dd>
  8. <select name="bargainorder_state">
  9. <option value="">{$Think.lang.ds_please_choose}</option>
  10. {notempty name="bargainorder_state_array"}
  11. {foreach name="bargainorder_state_array" item="val"}
  12. <option value="{$key}" {if $Request.get.bargainorder_state!='' && $key==$Request.get.bargainorder_state}selected{/if}>{$val}</option>
  13. {/foreach}
  14. {/notempty}
  15. </select>
  16. <input name="bargain_id" value="{$Request.param.bargain_id}" type="hidden"/>
  17. </dd>
  18. </dl>
  19. <div class="btn_group">
  20. <a href="javascript:document.formSearch.submit();" class="btn" title="{$Think.lang.ds_query}">{$Think.lang.ds_query}</a>
  21. {if $filtered}
  22. <a href="{:url('Promotionbargain/bargain_order',['bargain_id'=>$Request.param.bargain_id])}" class="btn btn-default" title="{$Think.lang.ds_cancel}">{$Think.lang.ds_cancel}</a>
  23. {/if}
  24. </div>
  25. </div>
  26. </form>
  27. <!-- 列表 -->
  28. <form id="list_form" method="post">
  29. <table class="ds-default-table">
  30. <thead>
  31. <tr class="thead">
  32. <th width="80">{$Think.lang.bargain_name}</th>
  33. <th width="80">{$Think.lang.bargainorder_initiator_name}</th>
  34. <th width="80">{$Think.lang.bargain_total}</th>
  35. <th width="80">{$Think.lang.bargainorder_times}</th>
  36. <th width="80">{$Think.lang.bargainorder_current_price}</th>
  37. <th width="180">{$Think.lang.bargainorder_begintime}</th>
  38. <th width="80">{$Think.lang.ds_handle}</th>
  39. </tr>
  40. </thead>
  41. <tbody id="treet1">
  42. {notempty name="pbargainorder_list"}
  43. {foreach name="pbargainorder_list" item="val"}
  44. <tr class="hover">
  45. <td>{$val.bargain_name}</td>
  46. <td>{$val.bargainorder_initiator_name}</td>
  47. <td>{$val.bargain_total}</td>
  48. <td>{$val.bargainorder_times}</td>
  49. <td>{$val.bargainorder_current_price}</td>
  50. <td>{$val.bargainorder_begintime|date="Y-m-d H:i"}-{$val.bargainorder_endtime|date="Y-m-d H:i"}</td>
  51. <td><a href="javascript:dsLayerOpen('{:url('Promotionbargain/bargain_log',['bargainorder_id'=>$val.bargainorder_id])}','{$Think.lang.pbargainlog}','800px','400px')" class="dsui-btn-view"><i class="iconfont"></i>{$Think.lang.pbargainlog}</a></td>
  52. </tr>
  53. {/foreach}
  54. {else /}
  55. <tr class="no_data">
  56. <td colspan="7">{$Think.lang.ds_no_record}</td>
  57. </tr>
  58. {/notempty}
  59. </tbody>
  60. </table>
  61. {$show_page|raw}
  62. </form>
  63. </div>