195 lines
9.8 KiB
HTML
Raw Permalink Normal View History

2024-09-29 15:43:18 +08:00
<div class="layui-tab-content" style="width:100%;height:600px;overflow-y:auto">
<!-- <div class="layui-tab-content" style="width:500px;height:600px;overflow-y:auto">-->
<!-- <fieldset>
<legend><span class="layui-badge layui-bg-cyan">系统信息</span></legend>
</fieldset> -->
<table class="layui-table" lay-skin="line">
<thead>
<tr>
<th>订单信息</th>
<th class='text-left nowrap' width="100%"></th>
</tr>
</thead>
<tbody>
<tr>
<td class='text-left nowrap'><span class="color-desc">商品名称</span></td>
<td class='text-left nowrap'>
{$vo.info.p.name|default=''}
( <span class="color-desc">{$vo.info.p.id|default=''}</span>
{eq name='vo.info.p.status' value='0'}/<span class="color-red"></span>{/eq}
{eq name='vo.info.p.is_deleted' value='1'}/<span class="color-red"></span>{/eq} )
</td>
</tr>
<tr>
<td class='text-left nowrap'><span class="color-desc">系统订单号</span></td>
<td class='text-left nowrap'><span class="color-desc">{$vo.order_id}</span></td>
</tr>
<tr>
<td class='text-left nowrap'><span class="color-desc">渠道订单号</span></td>
<td class='text-left nowrap'><span class="color-desc">{$vo.channel_order_id|default=''}</span></td>
</tr>
<tr>
<td class='text-left nowrap'><span class="color-desc">商户订单号</span></td>
<td class='text-left nowrap'><span class="color-desc">{$vo.merchant_order_id}</span></td>
</tr>
<tr>
<td class='text-left nowrap'><span class="color-desc">请求时间</span></td>
<td class='text-left nowrap'><span class="color-desc">{$vo.create_at}</span></td>
</tr>
<tr>
<td class='text-left nowrap'><span class="color-desc">订单状态</span></td>
<td class='text-left nowrap'>
{eq name='vo.status' value='-6'}<span class="color-gray">冻结中</span>{/eq}
{eq name='vo.status' value='-5'}<span class="color-gray">暂停中</span>{/eq}
{eq name='vo.status' value='-4'}<span class="color-gray">复冲排队中</span>{/eq}
{eq name='vo.status' value='-3'}<span class="color-gray">排队中</span>{/eq}
{eq name='vo.status' value='-2'}<span class="color-red">失败,需手动处理</span>{/eq}
{eq name='vo.status' value='-1'}<span class="color-gray">队列中</span>{/eq}
{eq name='vo.status' value='1'}<span class="color-gray">未关联订单</span>{/eq}
{eq name='vo.status' value='2'}<span class="color-green">提卡成功</span>{/eq}
{eq name='vo.status' value='3'}<span class="color-red">提卡失败</span>{/eq}
{eq name='vo.status' value='4'}<span class="color-blue">提卡处理中</span>{/eq}
{eq name='vo.status' value='5'}<span class="color-red">存疑</span>{/eq}
{eq name='vo.status' value='6'}<span class="color-blue">消息发送处理中</span>{/eq}
{eq name='vo.status' value='6'}<span class="color-blue">退款待锁卡</span>{/eq}
</td>
</tr>
{if $vo.card}
<tr>
<td class='text-left nowrap'><span class="color-desc">使用卡号</span></td>
<td class='text-left nowrap'><span class="color-desc">{$vo.card.cnum|default=''}</span></td>
</tr>
<tr>
<td class='text-left nowrap'><span class="color-desc">使用卡号</span></td>
<td class='text-left nowrap'><span class="color-desc">{$vo.card.cpwd|default=''}</span></td>
</tr>
<tr>
<td colspan="2">
<div><span class="color-desc">卡号使用日志</span></div>
{if $vo.card.log && count($vo.card.log) > 0}
<span class="color-blue">
<table class="layui-table margin-top-10" lay-skin="line">
<thead>
<tr>
<th class='text-left nowrap' width="">卡号</th>
<th class='text-left nowrap' width="">订单号</th>
<th class='text-left nowrap' width="">使用状态</th>
<th class='text-left nowrap' width="">使用时间</th>
</tr>
</thead>
<tbody>
{foreach $vo.card.log as $k=>$v}
<tr>
<td class='text-left nowrap'>
<span class="color-black"><b>{$v.card|default=''}</b></span>
</td>
<td class='text-left nowrap'>
{if $v.order_id == $vo.order_id}
<span class="color-blue"><b>{$v.order_id|default=''}</b></span>
{else}
<span class="color-black"><b>{$v.order_id|default=''}</b></span>
{/if}
</td>
<td class='text-left nowrap'>
{eq name='v.status' value='1'}<span class="color-blue">可用</span>{/eq}
{eq name='v.status' value='2'}<span class="color-gray">下单中</span>{/eq}
{eq name='v.status' value='3'}<span class="color-gray">下单成功</span>{/eq}
{eq name='v.status' value='4'}<span class="color-red">下单失败</span>{/eq}
{eq name='v.status' value='5'}<span class="color-green">充值成功</span>{/eq}
{eq name='v.status' value='6'}<span class="color-red">渠道充值失败</span>{/eq}
{eq name='v.status' value='7'}<span class="color-red">疑似:卡密充值失败</span>{/eq}
{eq name='v.status' value='8'}<span class="color-red">充值失败</span>{/eq}
</td>
<td class='text-left nowrap'>
<span>{$v.create_at|format_datetime}</span>
</td>
</tr>
{/foreach}
</tbody>
</table>
</span>
{else}
<span class="color-blue">未使用</span>
{/if}
</td>
</tr>
{/if}
<tr>
<td colspan="2">
<div><span class="color-desc">请求数据</span></div>
<pre class="layui-code" lay-encode="" lay-height="" lay-skin="notepad" lay-title="">
{$vo.param}
</pre>
</td>
</tr>
</tbody>
</table>
<table class="layui-table" lay-skin="line">
<thead>
<tr>
<th style="width:20%;">虚拟商品卡密数据</th>
<th class='text-left nowrap' width="100%"></th>
</tr>
</thead>
<tbody>
<tr>
<td class='text-left nowrap'><span class="color-desc">卡号</span></td>
<td class='text-left nowrap'><span class="color-desc">{$vo.cardno|default=''}</span></td>
</tr>
<tr>
<td class='text-left nowrap'><span class="color-desc">卡密</span></td>
<td class='text-left nowrap'><span class="color-desc">{$vo.cardpwd|default=''}</span></td>
</tr>
<tr>
<td class='text-left nowrap'><span class="color-desc">过期时间</span></td>
<td class='text-left nowrap'><span class="color-desc">{$vo.kami.expire_time|default=''}</span></td>
</tr>
</tbody>
</table>
<table class="layui-table" lay-skin="line">
<thead>
<tr>
<th>消息数据</th>
<th class='text-left nowrap' width="100%"></th>
</tr>
</thead>
<tbody>
<tr>
<td class='text-left nowrap'><span class="color-desc">商户名称</span></td>
<td class='text-left nowrap'>
{$vo.info.m.name|default=''}
( <span class="color-desc">{$vo.info.m.id|default=''}</span>
{eq name='vo.info.m.status' value='0'}/<span class="color-red"></span>{/eq}
{eq name='vo.info.m.is_deleted' value='1'}/<span class="color-red"></span>{/eq} )
</td>
</tr>
<tr>
<td class='text-left nowrap'><span class="color-desc">发送时间</span></td>
<td class='text-left nowrap'><span class="color-desc">{$vo.callback_at|default=''}</span></td>
</tr>
<tr>
<td class='text-left nowrap'><span class="color-desc">耗时</span></td>
<td class='text-left nowrap'><span class="color-desc">{$vo.time|default=''}</span></td>
</tr>
</tbody>
</table>
</div>
<style>
.layui-code {word-wrap: break-word; white-space: normal; word-break: break-all;}
</style>