detail.html 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. <style>
  2. table {
  3. width: 100%;
  4. border-collapse: collapse;
  5. }
  6. td:first-child {
  7. width: 30%;
  8. }
  9. </style>
  10. <table class="table table-striped table-bordered table-hover table-nowrap" width="50%">
  11. <tr>
  12. <td colspan="2"><b>基础信息</b></td>
  13. </tr>
  14. <tr>
  15. <td >{:__('订单ID')}:</td>
  16. <td>{$row['id']}</td>
  17. </tr>
  18. <tr>
  19. <td>{:__('订单号')}:</td>
  20. <td>{$row['order_no']}</td>
  21. </tr>
  22. <tr>
  23. <td>{:__('外部订单号')}:</td>
  24. <td>{$row['out_order_no']}</td>
  25. </tr>
  26. <tr>
  27. <td>{:__('上游单号')}:</td>
  28. <td></td>
  29. </tr>
  30. <tr>
  31. <td>{:__('下单时间')}:</td>
  32. <td>{$row['create_time']}</td>
  33. </tr>
  34. <tr>
  35. <td>{:__('更新时间')}:</td>
  36. <td>{$row['update_time']}</td>
  37. </tr>
  38. </table>
  39. <table class="table table-striped table-bordered table-hover table-nowrap" width="50%">
  40. <tr>
  41. <td colspan="2"><b>订单信息</b></td>
  42. </tr>
  43. <tr>
  44. <td>{:__('订单来源')}:</td>
  45. <td>{$row['platform_source']}</td>
  46. </tr>
  47. <tr>
  48. <td>{:__('收货人')}:</td>
  49. <td>{$row['address_name']}</td>
  50. </tr>
  51. <tr>
  52. <td>{:__('分销商')}:</td>
  53. <td></td>
  54. </tr>
  55. <tr>
  56. <td>{:__('联系电话')}:</td>
  57. <td>{$row['phone']}</td>
  58. </tr>
  59. <tr>
  60. <td>{:__('订单状态')}:</td>
  61. <td>{$row['state_name']}</td>
  62. </tr>
  63. <tr>
  64. <td>{:__('证件姓名')}:</td>
  65. <td>{$row['name']}</td>
  66. </tr>
  67. <tr>
  68. <td>{:__('证件号码')}:</td>
  69. <td>{$row['id_no']}</td>
  70. </tr>
  71. <tr>
  72. <td>{:__('支付状态')}:</td>
  73. <td>已支付</td>
  74. </tr>
  75. <tr>
  76. <td>{:__('收货地址')}:</td>
  77. <td>{$row['address']}</td>
  78. </tr>
  79. <tr>
  80. <td>{:__('支付金额')}:</td>
  81. <td>{$row['amount']}</td>
  82. </tr>
  83. </table>
  84. <table class="table table-striped table-bordered table-hover table-nowrap" width="50%">
  85. <tr>
  86. <td colspan="2"><b>商品信息</b></td>
  87. </tr>
  88. <tr>
  89. <td>{:__('产品渠道')}:</td>
  90. <td></td>
  91. </tr>
  92. <tr>
  93. <td>{:__('产品编码')}:</td>
  94. <td>{$produce['local_code'] ?? ''}</td>
  95. </tr>
  96. <tr>
  97. <td>{:__('购买号码')}:</td>
  98. <td>{$row['no']}</td>
  99. </tr>
  100. <tr>
  101. <td>{:__('iccid')}:</td>
  102. <td>{$row['iccid']}</td>
  103. </tr>
  104. <tr>
  105. <td>{:__('商品名称')}:</td>
  106. <td>{$produce['local_code'] ?? ''}</td>
  107. </tr>
  108. </table>
  109. <table class="table table-striped table-bordered table-hover table-nowrap" width="50%">
  110. <tr>
  111. <td colspan="2"><b>发货激活信息</b></td>
  112. </tr>
  113. <tr>
  114. <td>{:__('物流公司')}:</td>
  115. <td>{$row['trans_name']}</td>
  116. </tr>
  117. <tr>
  118. <td>{:__('物流单号')}:</td>
  119. <td>{$row['trans_no']}</td>
  120. </tr>
  121. <tr>
  122. <td>{:__('激活状态')}:</td>
  123. <td>{$row['produce_activation_name']}</td>
  124. </tr>
  125. <tr>
  126. <td>{:__('激活时间')}:</td>
  127. <td>{$row['produce_activation_time']}</td>
  128. </tr>
  129. <tr>
  130. <td>{:__('首冲状态')}:</td>
  131. <td>{$row['produce_is_recharge_name']}</td>
  132. </tr>
  133. <tr>
  134. <td>{:__('首充金额')}:</td>
  135. <td>{$row['first_amount']}</td>
  136. </tr>
  137. <tr>
  138. <td>{:__('首充时间')}:</td>
  139. <td>{$row['first_time']}</td>
  140. </tr>
  141. </table>
  142. <table class="table table-striped table-bordered table-hover table-nowrap" width="50%">
  143. <tr>
  144. <td colspan="2"><b>推送错误信息</b></td>
  145. </tr>
  146. <tr>
  147. <td>{:__('入参未加密参数')}:</td>
  148. <td onclick="copyToClipboard(this)">{$row['original_import_params']}</td>
  149. </tr>
  150. <tr>
  151. <td>{:__('入参')}:</td>
  152. <td onclick="copyToClipboard(this)">{$row['import_params']}</td>
  153. </tr>
  154. <tr>
  155. <td>{:__('出参')}:</td>
  156. <td onclick="copyToClipboard(this)">{$row['export_params']}</td>
  157. </tr>
  158. </table>
  159. <div class="hide layer-footer">
  160. <label class="control-label col-xs-12 col-sm-2"></label>
  161. <div class="col-xs-12 col-sm-8">
  162. <button type="reset" class="btn btn-primary btn-embossed btn-close" onclick="Layer.closeAll();">{:__('Close')}</button>
  163. </div>
  164. </div>
  165. <style>
  166. </style>
  167. <script>
  168. function copyToClipboard(element) {
  169. // 创建一个临时的textarea元素
  170. var tempTextarea = document.createElement('textarea');
  171. tempTextarea.value = element.textContent; // 将单元格内容设置为textarea的值
  172. document.body.appendChild(tempTextarea);
  173. // 选择并复制textarea的内容
  174. tempTextarea.select();
  175. document.execCommand('copy');
  176. // 移除临时textarea
  177. document.body.removeChild(tempTextarea);
  178. // 可以在这里添加一些用户反馈,如提示复制成功
  179. layer.msg('内容已复制:' + element.textContent);
  180. }
  181. </script>