index.html 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. {extend name="default/base/base_seller" /}
  2. {block name="seller_main"}
  3. <form method="get" action="">
  4. <input type="hidden" name="lock" value="{$Request.param.lock}" />
  5. <table class="search-form">
  6. <tr>
  7. <td>&nbsp;</td>
  8. <th>{$Think.lang.refund_order_add_time}</th>
  9. <td class="w240">
  10. <input name="add_time_from" id="add_time_from" type="text" class="text w70" value="{$Request.param.add_time_from}" />
  11. <label class="add-on"><i class="iconfont">&#xe8d6;</i></label> &#8211;
  12. <input name="add_time_to" id="add_time_to" type="text" class="text w70" value="{$Request.param.add_time_to}" />
  13. <label class="add-on"><i class="iconfont">&#xe8d6;</i></label>
  14. </td>
  15. <th class="w60">{$Think.lang.processing_state}</th>
  16. <td class="w80">
  17. <select name="state">
  18. <option value="" {if condition="$Request.param.state eq ''"}selected{/if}>{$Think.lang.ds_all}</option>
  19. <option value="1" {if condition="$Request.param.state eq '1'"}selected{/if}>{$Think.lang.refund_state_confirm}</option>
  20. <option value="2" {if condition="$Request.param.state eq '2'"}selected{/if}>{$Think.lang.refund_state_yes}</option>
  21. <option value="3" {if condition="$Request.param.state eq '3'"}selected{/if}>{$Think.lang.refund_state_no}</option>
  22. </select>
  23. </td>
  24. <th class="w120">
  25. <select name="type">
  26. <option value="order_sn" {if condition="$Request.param.type eq 'order_sn'"}selected{/if}>{$Think.lang.refund_order_ordersn}</option>
  27. <option value="refund_sn" {if condition="$Request.param.type eq 'refund_sn'"}selected{/if}>{$Think.lang.refund_order_refundsn}</option>
  28. <option value="buyer_name" {if condition="$Request.param.type eq 'buyer_name'"}selected{/if}>{$Think.lang.refund_order_buyer}</option>
  29. </select>
  30. </th>
  31. <td class="w160"><input type="text" class="text" name="key" value="{$Request.param.key}" /></td>
  32. <td class="w70 tc">
  33. <input type="submit" class="submit" value="{$Think.lang.ds_search}" />
  34. </td>
  35. </tr>
  36. </table>
  37. </form>
  38. <table class="dssc-default-table">
  39. <thead>
  40. <tr>
  41. <th class="w10"></th>
  42. <th colspan="2">{$Think.lang.merchandise_order_refund}</th>
  43. <th class="w150">{$Think.lang.refund_order_refund}</th>
  44. <th class="w150">{$Think.lang.refund_order_buyer}</th>
  45. <th class="w150">{$Think.lang.refund_order_add_time}</th>
  46. <th class="w150">{$Think.lang.processing_state}</th>
  47. <th class="w150">{$Think.lang.platform_confirm}</th>
  48. <th class="w150">{$Think.lang.ds_handle}</th>
  49. </tr>
  50. </thead>
  51. <tbody>
  52. {notempty name="refund_list"}
  53. {foreach name="refund_list" item="val" key="key" }
  54. <tr class="bd-line" >
  55. <td></td>
  56. {if $val.goods_id > 0}
  57. <td class="w50"><div class="pic-thumb">
  58. <a href="{:url('Goods/index',['goods_id'=>$val.goods_id])}" target="_blank"><img src="{:goods_thumb($val, 240)}"/></a></div></td>
  59. <td title="{$val.store_name}">
  60. <dl>
  61. <dt><a href="{:url('Goods/index',['goods_id'=>$val.goods_id])}" target="_blank">{$val.goods_name}</a></dt>
  62. <dd>{$Think.lang.refund_order_ordersn}{$Think.lang.ds_colon}<a href="{:url('Sellerorder/show_order',['order_id'=>$val.order_id])}" target="_blank">{$val.order_sn}</a></dd>
  63. <dd>{$Think.lang.refund_order_refundsn}{$Think.lang.ds_colon}{$val.refund_sn}</dd></dl></td>
  64. {else /}
  65. <td title="{$val.store_name}" colspan="2">
  66. <dl>
  67. <dt>{$val.goods_name}</dt>
  68. <dd>{$Think.lang.refund_order_ordersn}{$Think.lang.ds_colon}<a href="{:url('Sellerorder/show_order',['order_id'=>$val.order_id])}" target="_blank">{$val.order_sn}</a></dd>
  69. <dd>{$Think.lang.refund_order_refundsn}{$Think.lang.ds_colon}{$val.refund_sn}</dd></dl></td>
  70. {/if}
  71. <td>{$Think.lang.currency}{$val.refund_amount}</td>
  72. <td>{$val.buyer_name}</td>
  73. <td>{$val.add_time|date="Y-m-d H:i:s"}</td>
  74. <td>{$state_array[$val['seller_state']]}</td>
  75. <td>{if $val['seller_state']==2}{$admin_array[$val['refund_state']]}{else/}{$Think.lang.there_no}{/if}</td>
  76. <td class="dscs-table-handle">
  77. {if $val.seller_state == 1}
  78. <span><a href="{:url('Sellerrefund/edit',['refund_id'=>$val.refund_id])}" class="btn-blue"><i class="iconfont">&#xe731;</i><p>{$Think.lang.deal_with}</p></a></span>
  79. {else /}
  80. <span><a href="{:url('Sellerrefund/view',['refund_id'=>$val.refund_id])}" class="btn-orange"><i class="iconfont">&#xe70b;</i><p>{$Think.lang.ds_view}</p></a></span>
  81. {/if}
  82. </td>
  83. </tr>
  84. {/foreach}
  85. {else /}
  86. <tr>
  87. <td colspan="20" class="norecord"><div class="warning-option"><i class="iconfont">&#xe64c;&nbsp;</i><span>{$Think.lang.no_record}</span></div></td>
  88. </tr>
  89. {/notempty}
  90. </tbody>
  91. <tfoot>
  92. {notempty name="refund_list"}
  93. <tr>
  94. <td colspan="20"><div class="pagination">{$show_page|raw}</div></td>
  95. </tr>
  96. {/notempty}
  97. </tfoot>
  98. </table>
  99. <script>
  100. $(function () {
  101. $('#add_time_from').datepicker({dateFormat: 'yy-mm-dd'});
  102. $('#add_time_to').datepicker({dateFormat: 'yy-mm-dd'});
  103. });
  104. </script>
  105. {/block}