123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184 |
- <style>
- table {
- width: 100%;
- border-collapse: collapse;
- }
- td:first-child {
- width: 30%;
- }
- </style>
- <table class="table table-striped table-bordered table-hover table-nowrap" width="50%">
- <tr>
- <td colspan="2"><b>基础信息</b></td>
- </tr>
- <tr>
- <td >{:__('订单ID')}:</td>
- <td>{$row['id']}</td>
- </tr>
- <tr>
- <td>{:__('订单号')}:</td>
- <td>{$row['order_no']}</td>
- </tr>
- <tr>
- <td>{:__('外部订单号')}:</td>
- <td>{$row['order_no']}</td>
- </tr>
- <tr>
- <td>{:__('上游单号')}:</td>
- <td></td>
- </tr>
- <tr>
- <td>{:__('下单时间')}:</td>
- <td>{$row['create_time']}</td>
- </tr>
- <tr>
- <td>{:__('更新时间')}:</td>
- <td>{$row['update_time']}</td>
- </tr>
- </table>
- <table class="table table-striped table-bordered table-hover table-nowrap" width="50%">
- <tr>
- <td colspan="2"><b>订单信息</b></td>
- </tr>
- <tr>
- <td>{:__('订单来源')}:</td>
- <td>{$row['platform_source']}</td>
- </tr>
- <tr>
- <td>{:__('收货人')}:</td>
- <td>{$row['name']}</td>
- </tr>
- <tr>
- <td>{:__('分销商')}:</td>
- <td></td>
- </tr>
- <tr>
- <td>{:__('联系电话')}:</td>
- <td>{$row['phone']}</td>
- </tr>
- <tr>
- <td>{:__('订单状态')}:</td>
- <td></td>
- </tr>
- <tr>
- <td>{:__('证件号码')}:</td>
- <td>{$row['id_no']}</td>
- </tr>
- <tr>
- <td>{:__('支付状态')}:</td>
- <td>已支付</td>
- </tr>
- <tr>
- <td>{:__('收货地址')}:</td>
- <td>{$row['address']}</td>
- </tr>
- <tr>
- <td>{:__('支付金额')}:</td>
- <td>{$row['amount']}</td>
- </tr>
- </table>
- <table class="table table-striped table-bordered table-hover table-nowrap" width="50%">
- <tr>
- <td colspan="2"><b>商品信息</b></td>
- </tr>
- <tr>
- <td>{:__('产品渠道')}:</td>
- <td></td>
- </tr>
- <tr>
- <td>{:__('产品编码')}:</td>
- <td>{$produce['local_code'] ?? ''}</td>
- </tr>
- <tr>
- <td>{:__('购买号码')}:</td>
- <td>{$row['no']}</td>
- </tr>
- <tr>
- <td>{:__('iccid')}:</td>
- <td></td>
- </tr>
- <tr>
- <td>{:__('商品名称')}:</td>
- <td>{$produce['name'] ?? ''}</td>
- </tr>
- </table>
- <table class="table table-striped table-bordered table-hover table-nowrap" width="50%">
- <tr>
- <td colspan="2"><b>发货激活信息</b></td>
- </tr>
- <tr>
- <td>{:__('物流公司')}:</td>
- <td>{$row['trans_name']}</td>
- </tr>
- <tr>
- <td>{:__('物流单号')}:</td>
- <td>{$row['trans_no']}</td>
- </tr>
- <tr>
- <td>{:__('激活状态')}:</td>
- <td>{$row['produce_activation_name']}</td>
- </tr>
- <tr>
- <td>{:__('激活时间')}:</td>
- <td>{$row['produce_activation_time']}</td>
- </tr>
- <tr>
- <td>{:__('首冲状态')}:</td>
- <td>{$row['produce_is_recharge_name']}</td>
- </tr>
- <tr>
- <td>{:__('首充金额')}:</td>
- <td>{$row['first_amount']}</td>
- </tr>
- <tr>
- <td>{:__('首充时间')}:</td>
- <td>{$row['first_time']}</td>
- </tr>
- </table>
- <table class="table table-striped table-bordered table-hover table-nowrap" width="50%">
- <tr>
- <td colspan="2"><b>推送错误信息</b></td>
- </tr>
- <tr>
- <td>{:__('入参未加密参数')}:</td>
- <td onclick="copyToClipboard(this)">{$row['original_import_params']}</td>
- </tr>
- <tr>
- <td>{:__('入参')}:</td>
- <td onclick="copyToClipboard(this)">{$row['import_params']}</td>
- </tr>
- <tr>
- <td>{:__('出参')}:</td>
- <td onclick="copyToClipboard(this)">{$row['export_params']}</td>
- </tr>
- </table>
- <div class="hide layer-footer">
- <label class="control-label col-xs-12 col-sm-2"></label>
- <div class="col-xs-12 col-sm-8">
- <button type="reset" class="btn btn-primary btn-embossed btn-close" onclick="Layer.closeAll();">{:__('Close')}</button>
- </div>
- </div>
- <style>
- </style>
- <script>
- function copyToClipboard(element) {
- // 创建一个临时的textarea元素
- var tempTextarea = document.createElement('textarea');
- tempTextarea.value = element.textContent; // 将单元格内容设置为textarea的值
- document.body.appendChild(tempTextarea);
-
- // 选择并复制textarea的内容
- tempTextarea.select();
- document.execCommand('copy');
-
- // 移除临时textarea
- document.body.removeChild(tempTextarea);
-
- // 可以在这里添加一些用户反馈,如提示复制成功
- layer.msg('内容已复制:' + element.textContent);
- }
- </script>
|