index.html 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. {extend name="default/base/base_member" /}
  2. {block name="member_main"}
  3. <form method="get" action="">
  4. <table class="dsm-search-table">
  5. <tr>
  6. <td>&nbsp;</td>
  7. <th>{$Think.lang.refund_buyer_add_time}</th>
  8. <td class="w240">
  9. <input name="add_time_from" id="add_time_from" type="text" class="text w70" value="{$Request.param.add_time_from}" /><label class="add-on"><i class="iconfont">&#xe8d6;</i></label>
  10. &nbsp;&#8211;&nbsp;
  11. <input name="add_time_to" id="add_time_to" type="text" class="text w70" value="{$Request.param.add_time_to}" /><label class="add-on"><i class="iconfont">&#xe8d6;</i></label>
  12. </td>
  13. <th><select name="type">
  14. <option value="order_sn" {if condition="$Request.param.type eq 'order_sn'"}selected{/if}>{$Think.lang.refund_order_ordersn}</option>
  15. <option value="refund_sn" {if condition="$Request.param.type eq 'refund_sn'"}selected{/if}>{$Think.lang.refund_order_refundsn}</option>
  16. <option value="goods_name" {if condition="$Request.param.type eq 'goods_name'"}selected{/if}>{$Think.lang.return_goods_name}</option>
  17. </select></th>
  18. <td class="w160"><input type="text" class="text w150" name="key" value="{$Request.param.key}" /></td>
  19. <td class="w70 tc">
  20. <input type="submit" class="submit" value="{$Think.lang.ds_search}" />
  21. </td>
  22. </tr>
  23. </table>
  24. </form>
  25. <table class="dsm-default-table order">
  26. <thead>
  27. <tr>
  28. <th class="w10"></th>
  29. <th colspan="2">{$Think.lang.site_search_goods}</th>
  30. <th class="w100">{$Think.lang.refund_order_refund}({$Think.lang.ds_yuan})</th>
  31. <th class="w100">{$Think.lang.refund_state}</th>
  32. <th class="w100">{$Think.lang.platform_confirmation}</th>
  33. <th class="w100">{$Think.lang.ds_handle}</th>
  34. </tr>
  35. </thead>
  36. {notempty name="refund_list"}
  37. <tbody>
  38. {foreach name="refund_list" item="val" key="key" }
  39. <tr>
  40. <td colspan="20" class="sep-row"></td>
  41. </tr>
  42. <tr>
  43. <th colspan="20"> <span class="ml10">{$Think.lang.refund_order_refundsn}{$Think.lang.ds_colon}</span><span>{$Think.lang.refund_buyer_add_time}{$Think.lang.ds_colon}{$val.add_time|date="Y-m-d H:i:s"}</span>
  44. <!-- store_name -->
  45. <span> <a href="{:url('Store/index',['store_id'=>$val.store_id])}" target="_blank" title="{$val.store_name}">{$val.store_name}</a></span>
  46. <!-- QQ -->
  47. <span member_id="{$store_list[$val['store_id']]['member_id']}">
  48. {if !empty($store_list[$val['store_id']]['store_qq'])}
  49. <a target="_blank" href="{$Think.HTTP_TYPE}wpa.qq.com/msgrd?v=3&uin={$store_list[$val['store_id']]['store_qq']}&site=qq&menu=yes" ><img border="0" src="{$Think.HTTP_TYPE}wpa.qq.com/pa?p=2:{$store_list[$val['store_id']]['store_qq']}:52" style=" vertical-align: middle;"/></a>
  50. {/if}
  51. <!-- wang wang -->
  52. {if !empty($store_list[$val['store_id']]['store_ww'])}
  53. <a target="_blank" href="http://amos.im.alisoft.com/msg.aw?v=2&uid={$store_list[$val['store_id']]['store_ww']}&site=cntaobao&s=2&charset=utf-8" class="vm" ><img border="0" src="http://amos.im.alisoft.com/online.aw?v=2&uid={$store_list[$val['store_id']]['store_ww']}&site=cntaobao&s=2&charset=utf-8" alt="Wang Wang" style=" vertical-align: middle;"/></a>
  54. {/if}
  55. </span></th>
  56. </tr>
  57. <tr class="bd-line" >
  58. <td class="bdl"></td>
  59. {if $val['goods_id'] > 0}
  60. <td class="w50"><div class="pic-thumb"><a href="{:url('Goods/index',['goods_id'=>$val.goods_id])}" target="_blank"><img src="{:goods_thumb($val,240)}" /></a></div></td>
  61. <td class="tl">
  62. <dl class="goods-name">
  63. <dt><a href="{:url('Goods/index',['goods_id'=>$val.goods_id])}" target="_blank">{$val.goods_name}</a></dt>
  64. <dd>{$Think.lang.refund_order_ordersn}{$Think.lang.ds_colon}<a href="{:url('Memberorder/show_order',['order_id'=>$val.order_id])}" target="_blank">{$val.order_sn}</a></dd>
  65. </dl>
  66. </td>
  67. {else/}
  68. <td class="tl" colspan="2">
  69. <dl class="goods-name">
  70. <dt>{$val.goods_name}</dt>
  71. <dd>{$Think.lang.refund_order_ordersn}{$Think.lang.ds_colon}<a href="{:url('Memberorder/show_order',['order_id'=>$val.order_id])}" target="_blank">{$val.order_sn}</a></dd>
  72. </dl>
  73. </td>
  74. {/if}
  75. <td>{$val.refund_amount}</td>
  76. <td>{$state_array[$val['seller_state']]}</td>
  77. <td>{if $val.seller_state==2}{$admin_array[$val['refund_state']]}{else/}{$Think.lang.none}{/if}</td>
  78. <td class="bdr"><a href="{:url('Memberrefund/view',['refund_id'=>$val.refund_id])}" class="dsm-btn">{$Think.lang.ds_view} </a></td>
  79. </tr>
  80. {/foreach}
  81. </tbody>
  82. <tfoot>
  83. <tr>
  84. <td colspan="20"><div class="pagination">{$show_page|raw}</div></td>
  85. </tr>
  86. </tfoot>
  87. {else/}
  88. <tbody>
  89. <tr>
  90. <td colspan="20" class="norecord"><div class="warning-option"><i>&nbsp;</i><span>{$Think.lang.no_record}</span></div></td>
  91. </tr>
  92. </tbody>
  93. {/notempty}
  94. </table>
  95. <script type="text/javascript">
  96. $(function(){
  97. $('#add_time_from').datepicker({dateFormat: 'yy-mm-dd'});
  98. $('#add_time_to').datepicker({dateFormat: 'yy-mm-dd'});
  99. });
  100. </script>
  101. {/block}