add_refund_all.html 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. {extend name="default/base/base_member" /}
  2. {block name="member_main"}
  3. <div class="dsm-flow-layout">
  4. <div class="dsm-flow-container">
  5. <div class="title">
  6. <h3>{$Think.lang.service_type_refund}</h3>
  7. </div>
  8. <div class="alert">
  9. <h4>{$Think.lang.operating_hints}:</h4>
  10. <ul>
  11. <li>{$Think.lang.refund_notice1|raw}</li>
  12. <li>{$Think.lang.refund_notice2|raw}</li>
  13. </ul>
  14. </div>
  15. <div id="saleRefund" show_id="1">
  16. <div class="dsm-flow-step">
  17. <dl class="step-first current">
  18. <dt>{$Think.lang.buyer_application_refund}</dt>
  19. <dd class="bg"></dd>
  20. </dl>
  21. <dl class="">
  22. <dt>{$Think.lang.merchant_processing_refund_application}</dt>
  23. <dd class="bg"> </dd>
  24. </dl>
  25. <dl class="">
  26. <dt>{$Think.lang.platform_review}</dt>
  27. <dd class="bg"> </dd>
  28. </dl>
  29. </div>
  30. <div class=" dsm-default-form">
  31. <div id="warning"></div>
  32. <form id="post_form1" enctype="multipart/form-data" method="post" action="{:url('Memberrefund/add_refund_all',['order_id'=>$order.order_id])}">
  33. <h3>{$Think.lang.refund_notice3}</h3>
  34. <dl>
  35. <dt>{$Think.lang.refund_buyer_message}:</dt>
  36. <dd>{$Think.lang.refund_notice4}</dd>
  37. </dl>
  38. <dl>
  39. <dt><i class="required">*</i>{$Think.lang.refund_order_refund}:</dt>
  40. <dd><strong class="green">{:ds_price_format($order['order_amount']-$order['presell_deposit_amount'])}</strong> {$Think.lang.ds_yuan}</dd>
  41. </dl>
  42. <dl>
  43. <dt><i class="required">*</i>{$Think.lang.refund_instructions}:</dt>
  44. <dd>
  45. <textarea name="buyer_message" rows="3" class="textarea w400"></textarea>
  46. <br />
  47. <span class="error"></span> </dd>
  48. </dl>
  49. <dl>
  50. <dt>{$Think.lang.upload_voucher}:</dt>
  51. <dd>
  52. <p>
  53. <input name="refund_pic1" type="file" />
  54. <span class="error"></span> </p>
  55. <p>
  56. <input name="refund_pic2" type="file" />
  57. <span class="error"></span> </p>
  58. <p>
  59. <input name="refund_pic3" type="file" />
  60. <span class="error"></span> </p>
  61. </dd>
  62. </dl>
  63. <div class="bottom">
  64. <input type="submit" class="submit" value="{$Think.lang.submit_confirmation}" />
  65. <a href="javascript:history.go(-1);" class="dsm-btn ml10">{$Think.lang.cancel_return}</a>
  66. </div>
  67. </form>
  68. </div>
  69. </div>
  70. </div>
  71. </div>
  72. <script type="text/javascript">
  73. $(function () {
  74. $('#post_form1').validate({
  75. errorPlacement: function (error, element) {
  76. error.appendTo(element.nextAll('span.error'));
  77. },
  78. rules: {
  79. buyer_message: {
  80. required: true
  81. },
  82. refund_pic1: {
  83. accept: 'image/jpg,image/jpeg,image/gif,image/png'
  84. },
  85. refund_pic2: {
  86. accept: 'image/jpg,image/jpeg,image/gif,image/png'
  87. },
  88. refund_pic3: {
  89. accept: 'image/jpg,image/jpeg,image/gif,image/png'
  90. }
  91. },
  92. messages: {
  93. buyer_message: {
  94. required: '<i class="iconfont">&#xe64c;</i>{$Think.lang.please_fill_refund_instructions}'
  95. },
  96. refund_pic1: {
  97. accept: '<i class="iconfont">&#xe64c;</i>{$Think.lang.image_format}'
  98. },
  99. refund_pic2: {
  100. accept: '<i class="iconfont">&#xe64c;</i>{$Think.lang.image_format}'
  101. },
  102. refund_pic3: {
  103. accept: '<i class="iconfont">&#xe64c;</i>{$Think.lang.image_format}'
  104. }
  105. }
  106. });
  107. });
  108. </script>
  109. {/block}