detail.html 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  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['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['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></td>
  62. </tr>
  63. <tr>
  64. <td>{:__('证件号码')}:</td>
  65. <td>{$row['id_no']}</td>
  66. </tr>
  67. <tr>
  68. <td>{:__('支付状态')}:</td>
  69. <td>已支付</td>
  70. </tr>
  71. <tr>
  72. <td>{:__('收货地址')}:</td>
  73. <td>{$row['address']}</td>
  74. </tr>
  75. <tr>
  76. <td>{:__('支付金额')}:</td>
  77. <td>{$row['amount']}</td>
  78. </tr>
  79. </table>
  80. <table class="table table-striped table-bordered table-hover table-nowrap" width="50%">
  81. <tr>
  82. <td colspan="2"><b>商品信息</b></td>
  83. </tr>
  84. <tr>
  85. <td>{:__('产品渠道')}:</td>
  86. <td></td>
  87. </tr>
  88. <tr>
  89. <td>{:__('产品编码')}:</td>
  90. <td>{$produce['local_code'] ?? ''}</td>
  91. </tr>
  92. <tr>
  93. <td>{:__('购买号码')}:</td>
  94. <td>{$row['no']}</td>
  95. </tr>
  96. <tr>
  97. <td>{:__('iccid')}:</td>
  98. <td></td>
  99. </tr>
  100. <tr>
  101. <td>{:__('商品名称')}:</td>
  102. <td>{$produce['name'] ?? ''}</td>
  103. </tr>
  104. </table>
  105. <table class="table table-striped table-bordered table-hover table-nowrap" width="50%">
  106. <tr>
  107. <td colspan="2"><b>发货激活信息</b></td>
  108. </tr>
  109. <tr>
  110. <td>{:__('物流公司')}:</td>
  111. <td>{$row['trans_name']}</td>
  112. </tr>
  113. <tr>
  114. <td>{:__('物流单号')}:</td>
  115. <td>{$row['trans_no']}</td>
  116. </tr>
  117. <tr>
  118. <td>{:__('激活状态')}:</td>
  119. <td>{$row['produce_activation_name']}</td>
  120. </tr>
  121. <tr>
  122. <td>{:__('激活时间')}:</td>
  123. <td>{$row['produce_activation_time']}</td>
  124. </tr>
  125. <tr>
  126. <td>{:__('首冲状态')}:</td>
  127. <td>{$row['produce_is_recharge_name']}</td>
  128. </tr>
  129. <tr>
  130. <td>{:__('首充金额')}:</td>
  131. <td>{$row['first_amount']}</td>
  132. </tr>
  133. <tr>
  134. <td>{:__('首充时间')}:</td>
  135. <td>{$row['first_time']}</td>
  136. </tr>
  137. </table>
  138. <table class="table table-striped table-bordered table-hover table-nowrap" width="50%">
  139. <tr>
  140. <td colspan="2"><b>推送错误信息</b></td>
  141. </tr>
  142. <tr>
  143. <td>{:__('入参未加密参数')}:</td>
  144. <td onclick="copyToClipboard(this)">{$row['original_import_params']}</td>
  145. </tr>
  146. <tr>
  147. <td>{:__('入参')}:</td>
  148. <td onclick="copyToClipboard(this)">{$row['import_params']}</td>
  149. </tr>
  150. <tr>
  151. <td>{:__('出参')}:</td>
  152. <td onclick="copyToClipboard(this)">{$row['export_params']}</td>
  153. </tr>
  154. </table>
  155. <div class="hide layer-footer">
  156. <label class="control-label col-xs-12 col-sm-2"></label>
  157. <div class="col-xs-12 col-sm-8">
  158. <button type="reset" class="btn btn-primary btn-embossed btn-close" onclick="Layer.closeAll();">{:__('Close')}</button>
  159. </div>
  160. </div>
  161. <style>
  162. </style>
  163. <script>
  164. function copyToClipboard(element) {
  165. // 创建一个临时的textarea元素
  166. var tempTextarea = document.createElement('textarea');
  167. tempTextarea.value = element.textContent; // 将单元格内容设置为textarea的值
  168. document.body.appendChild(tempTextarea);
  169. // 选择并复制textarea的内容
  170. tempTextarea.select();
  171. document.execCommand('copy');
  172. // 移除临时textarea
  173. document.body.removeChild(tempTextarea);
  174. // 可以在这里添加一些用户反馈,如提示复制成功
  175. layer.msg('内容已复制:' + element.textContent);
  176. }
  177. </script>