refund_manage.html 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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.refund_manage}</h3>
  7. </div>
  8. {include file="public/admin_items" /}
  9. </div>
  10. </div>
  11. <div class="explanation" id="explanation">
  12. <div class="title" id="checkZoom">
  13. <h4 title="{$Think.lang.ds_explanation_tip}">{$Think.lang.ds_explanation}</h4>
  14. <span id="explanationZoom" title="{$Think.lang.ds_explanation_close}" class="arrow"></span>
  15. </div>
  16. <ul>
  17. <li>{$Think.lang.refund_manage_help1}</li>
  18. </ul>
  19. </div>
  20. <form method="get">
  21. <div class="ds-search-form">
  22. <dl>
  23. <dt>
  24. <select name="type">
  25. <option value="order_sn" {if condition="$Request.param.type eq 'order_sn'"}selected{/if}>{$Think.lang.ds_order_sn}</option>
  26. <option value="refund_sn" {if condition="$Request.param.type eq 'refund_sn'"}selected{/if}>{$Think.lang.ds_refund_sn}</option>
  27. <option value="store_name" {if condition="$Request.param.type eq 'store_name'"}selected{/if}>{$Think.lang.ds_store_name}</option>
  28. <option value="goods_name" {if condition="$Request.param.type eq 'goods_name'"}selected{/if}>{$Think.lang.ds_goods_name}</option>
  29. <option value="buyer_name" {if condition="$Request.param.type eq 'buyer_name'"}selected{/if}>{$Think.lang.ds_buyer_name}</option>
  30. </select>
  31. </dt>
  32. <dd><input type="text" class="text" name="key" value="{$Request.param.key}" /></dd>
  33. </dl>
  34. <dl>
  35. <dt>{$Think.lang.refund_order_add_time}</dt>
  36. <dd>
  37. <input class="txt date" type="text" value="{$Request.param.add_time_from}" id="add_time_from" name="add_time_from">
  38. ~
  39. <input class="txt date" type="text" value="{$Request.param.add_time_to}" id="add_time_to" name="add_time_to"/>
  40. </dd>
  41. </dl>
  42. <div class="btn_group">
  43. <input type="submit" class="btn" value="{$Think.lang.ds_search}">
  44. <a href="{:url('Refund/refund_manage')}" class="btn btn-default" title="{$Think.lang.ds_cancel}">{$Think.lang.ds_cancel}</a>
  45. </div>
  46. </div>
  47. </form>
  48. <table class="ds-default-table">
  49. <thead>
  50. <tr class="thead">
  51. <th>{$Think.lang.ds_order_sn}</th>
  52. <th>{$Think.lang.ds_refund_sn}</th>
  53. <th>{$Think.lang.ds_store_name}</th>
  54. <th>{$Think.lang.ds_goods_name}</th>
  55. <th>{$Think.lang.ds_buyer_name}</th>
  56. <th class="align-center">{$Think.lang.refund_buyer_add_time}</th>
  57. <th class="align-center">{$Think.lang.refund_seller_time}</th>
  58. <th class="align-center">{$Think.lang.refund_order_refund}</th>
  59. <th class="align-center">{$Think.lang.ds_handle}</th>
  60. </tr>
  61. </thead>
  62. {notempty name="refund_list"}
  63. <tbody>
  64. {foreach name="refund_list" item="val" key="key" }
  65. <tr class="bd-line" >
  66. <td>{$val.order_sn}</td>
  67. <td>{$val.refund_sn}</td>
  68. <td>{$val.store_name}</td>
  69. <td>{$val.goods_name}</td>
  70. <td>{$val.buyer_name}</td>
  71. <td class="align-center">{$val.add_time|date="Y-m-d H:i:s"}</td>
  72. <td class="align-center">{$val.seller_time|date="Y-m-d H:i:s"}</td>
  73. <td class="align-center">{$val.refund_amount}</td>
  74. <td class="align-center">
  75. <a href="javascript:dsLayerOpen('{:url('Refund/edit',['refund_id'=>$val.refund_id])}','{$Think.lang.refund_order}-{$val.order_sn}')" class="dsui-btn-add">{$Think.lang.ds_verify}</a>
  76. </td>
  77. </tr>
  78. {/foreach}
  79. </tbody>
  80. {else/}
  81. <tbody>
  82. <tr class="no_data">
  83. <td colspan="20">{$Think.lang.no_record}</td>
  84. </tr>
  85. </tbody>
  86. {/notempty}
  87. </table>
  88. {$show_page|raw}
  89. </div>
  90. <script type="text/javascript">
  91. $(function() {
  92. $('#add_time_from').datepicker({dateFormat: 'yy-mm-dd'});
  93. $('#add_time_to').datepicker({dateFormat: 'yy-mm-dd'});
  94. });
  95. </script>