detail.html 3.7 KB
{include file="common/head"/}
<div class="admin-main layui-anim layui-anim-upbit">
    <title>纳极科技 - 变更详情</title> 
    <div class="header">
        <h1> {if $html.rid}{:lang('order_detail')}{else}{:lang('seller_detail')}{/if}</h1>
        <h3></h3>
    </div>
    <div class="table-responsive">
        <table class="layui-table" lay-even lay-skin="line">
            <colgroup>
                <col width="40%">
                <col>
            </colgroup>
            <thead>
            <tr>
                <th class="text-center" colspan="2">{:lang('content')}</th>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td>商家编号</td>
                <td>{$html.sid}</td>
            </tr>
            <tr>
                {if $html.rid}
                    <td>预定编号</td>
                    <td>{$html.rid}</td>
                {/if}
            </tr>
            <tr>
                <td>操作人昵称</td>
                <td>{$html.nickname}</td>
            </tr>
            <tr>
                <td>商家名称</td>
                <td>{$html.name}</td>
            </tr>
            <tr>
                <td>操作设备</td>
                <td>{$html.device}</td>
            </tr>
                {if $html.rid}
                    <td>预定人</td>
                    <td>{$html.rname}{$html.sex}</td>
                {/if}
            </tr>
            <tr>
                <td>电话</td>
                <td>{$html.phone}</td>
            </tr>
            </tbody>
        </table>
        {if $html.rid neq 0}
            <div class="layui-tab">
                <ul class="layui-tab-title">
                    <li class="layui-this">{:lang('order_line')}</li>
                </ul>
            </div>
            <div class="layui-tab-content">
                {volist name="html.order_detail" id="vo" key="i"}
                    <div class="layui-tab-item layui-show">{$vo.cdate} {$vo.nickname} 在{$vo.device} 设备上 {$vo.action}
                        {if $vo.field eq '' && $vo.comment eq ''}
                            <a href="/admin/system/differ?id={$vo.id}" target="_blank" style="color:blue;">
                                点击查看
                            </a>
                        {elseif $vo.field && $vo.comment eq ''}
                            <span style="color:red;"> 变更字段 <b>{$vo.field}</b> {:lang('befoer')} <b>{$vo.old}</b> {:lang('after')} <b>{$vo.new}</b></span>
                        {else}
                        {/if}
                    </div>
                {/volist}
            </div>
        {else}
            <div class="layui-tab">
                <ul class="layui-tab-title">
                    <li class="layui-this">{:lang('seller_detail')}</li>
                </ul>
            </div>
            <div class="layui-tab-content">
                {volist name="html.order_detail" id="vo" key="i"}
                    <div class="layui-tab-item layui-show">{$vo.cdate} {$vo.nickname} 在{$vo.device} 设备上 {$vo.action}
                        {if $vo.field eq '' && $vo.old neq ''}
                            <a href="/admin/system/differ?id={$vo.id}" target="_blank" style="color:blue;">
                                点击查看
                            </a>
                        {elseif $vo.field && $vo.comment eq ''}
                            <span style="color:red;"> 变更字段 <b>{$vo.field}</b> {:lang('befoer')} <b>{$vo.old}</b> {:lang('after')} <b>{$vo.new}</b></span>
                        {else}
                            
                        {/if}
                    </div>
                {/volist}
            </div>
        {/if}
    </div>
</div>
{include file="common/foot"/}