returngoods_caiwucheck.html 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. {Template header}
  2. <body>
  3. <style>
  4. .btn {
  5. display: inline-block;
  6. padding: 6px 12px;
  7. margin-bottom: 0;
  8. font-size: 14px;
  9. font-weight: 400;
  10. line-height: 1.42857143;
  11. text-align: center;
  12. white-space: nowrap;
  13. vertical-align: middle;
  14. -ms-touch-action: manipulation;
  15. touch-action: manipulation;
  16. cursor: pointer;
  17. -webkit-user-select: none;
  18. -moz-user-select: none;
  19. -ms-user-select: none;
  20. user-select: none;
  21. background-image: none;
  22. border: 1px solid transparent;
  23. border-radius: 4px;
  24. }
  25. .btn-success {
  26. color: #fff !important;
  27. background-color: #5cb85c !important;
  28. border-color: #4cae4c;
  29. }
  30. .btn-info {
  31. color: #fff;
  32. background-color: #5bc0de;
  33. border-color: #46b8da;
  34. }
  35. .btn-warning {
  36. color: #fff !important;
  37. background-color: #f0ad4e;
  38. border-color: #eea236;
  39. }
  40. .scimg_lv{
  41. }
  42. </style>
  43. <div class="warp">
  44. <div class="title winnone">售后登记 - 财务审核</div>
  45. <ul class="setting">
  46. <li >
  47. <em>订单号:</em>
  48. <input readonly value="{$info['orderinfo']}" type="text" >
  49. </li>
  50. <li>
  51. <em>来源店铺:</em>
  52. <input readonly value="{$info['shopname']}" type="text" >
  53. </li>
  54. <li>
  55. <em>状态:</em>
  56. <input readonly value="{$info['status_show']}" type="text" >
  57. </li>
  58. <li>
  59. <em>登记日期:</em>
  60. <input readonly value="{$info['create_time']}" type="text" >
  61. </li>
  62. <li class="length">
  63. <em>原因分类:</em>
  64. <input readonly value="{$info['cate_one_show']}——{$info['cate_two_show']}" placeholder="来源店铺" type="text" >
  65. </li>
  66. <li class="length" >
  67. <em>备注信息:</em>
  68. <textarea readonly style="height: 10vh;" placeholder="备注信息">{$info['remark']}</textarea>
  69. </li>
  70. <input type="hidden" name="id" value="{$info['id']}">
  71. <li>
  72. <em>售后分类:</em>
  73. <input readonly value="{$info['back_status_show']}" type="text" >
  74. </li>
  75. <li>
  76. <em>审核人:</em>
  77. <input readonly value="{$info['user_name']}" type="text" >
  78. </li>
  79. <li >
  80. <em>退款单位:</em>
  81. <input readonly value="{$info['is_caiwu_show']}" type="text" >
  82. </li>
  83. <li >
  84. <em>退款类型:</em>
  85. <input readonly value="{$info['back_status_show']}" type="text" >
  86. </li>
  87. <li class="length">
  88. <em>退款备注:</em>
  89. <input readonly name="return_remarks" value="{$info['return_remarks']}" type="text" >
  90. </li>
  91. <li class="length">
  92. <em>退款留言:</em>
  93. <input readonly name="refund_message" value="{$info['refund_message']}" type="text" >
  94. </li>
  95. <li >
  96. <em>退款金额:</em>
  97. <input readonly value="{$info['back_money']}" type="text" >
  98. <span style="font-size:16px;font-weight:700;color:#000">USD</span>
  99. <input name="currency" type="hidden" value="2" />
  100. </li>
  101. <li>
  102. <em>退款净额:</em>
  103. <input name="net_refund_amount" value="" type="text" ><span style="font-size:16px;font-weight:700;color:#000">USD</span>
  104. </li>
  105. <li>
  106. <em>退款交易号:</em>
  107. <input name="refund_trans_number" value="" type="text" >
  108. </li>
  109. <li class="length " style="height: 35px !important;">
  110. <em>上传支付凭证:</em>
  111. <div>
  112. <span class="btn btn-warning scimg_lv">点击上传支付凭证</span>
  113. <span style="color:#777">点击下方图片 可以删除已上传的图片</span>
  114. </div>
  115. </li>
  116. <li style="height: auto;width:100%;border:1px solid #ccc;border-radius: 3px;display: flex;flex-direction: row;flex-wrap:wrap" class="upimg">
  117. </li>
  118. <div >
  119. <div class="dialog-bg" id="dialog-bg">
  120. <div class="img-box" id="img-box">
  121. <img src="">
  122. </div>
  123. </div>
  124. </div>
  125. <div style="clear:both;"></div>
  126. </ul>
  127. <div class="button"> <font class="datasave">提 交</font><font class="fh">关 闭</font></div>
  128. </div>
  129. <script>
  130. $(document).ready(function() {
  131. var button = $(".scimg_lv"), interval;
  132. var fileType = "pic", fileNum = "one";
  133. new AjaxUpload(button, {
  134. action: "/img/",
  135. name: "userfile",
  136. onSubmit: function(file, ext) {
  137. if (fileType == "pic") {
  138. if (ext && /^(jpg|png|jpeg|gif)$/.test(ext)) {
  139. this.setData({
  140. info: "文件类型为图片"
  141. });
  142. }
  143. else {
  144. alert("提示:您上传的是非图片!");
  145. return false;
  146. }
  147. }
  148. $(".scimg_lv").hide();
  149. $(".loadimg").show();
  150. layx.load('loadId','上传中');
  151. if (fileNum == "one") {
  152. this.disable();
  153. }
  154. },
  155. onComplete: function(file, response) {
  156. eval("var obj=" + response);
  157. if (obj.ok) {
  158. layx.destroy('loadId');
  159. let str = '<div style="margin-bottom:3px;margin-right:3px" onclick="removeFile(this)"><input type="hidden" name="img[]" value="' + obj.filename + '">';
  160. if (/^(.jpg|.png|.jpeg|.gif)$/.test(obj.lx)) {
  161. str += '<img width="100px" src="' + obj.filename + '" title="点击图片删除">';
  162. // $(".upimg").append('<img src="' + obj.filename + '" title="点击图片删除">');
  163. }
  164. str +="</div>";
  165. $(".upimg").append(str);
  166. } else {
  167. layx.destroy('loadId');
  168. $(".ts p").html("上传失败,请重试");
  169. $(".ts").fadeIn();
  170. setTimeout('$(".ts").fadeOut()', 800);
  171. }
  172. $(".loadimg").hide();
  173. $(".scimg_lv").show();
  174. window.clearInterval(interval);
  175. this.enable();
  176. }
  177. });
  178. });
  179. function removeFile(that) {
  180. $(that).remove();
  181. }
  182. </script>
  183. <script>var addedit="/returngoods/backmoney/{$info['id']}";</script>
  184. <script type="text/javascript" src="{$theme}js/ajaxupload.3.5.js"></script>
  185. {Template footer}