list.html 2.2 KB
{extend name="public:base" /}
{block name="body"}
<div class="layui-row">
    <div class="layui-col-md12">
        <div class="layui-card">
            <form class="layui-form">
                <!--结算-->
                <div class="layui-form-box">
                    <div class="layui-form-body">
                        <div class="layui-row">
                            <div style="padding:0 0 0 30px;margin-bottom: 20px;">
                                <table class="layui-table layui-form">
                                    <thead>
                                    <tr>
                                        <th>发票ID</th>
                                        <th>结算ID</th>
                                        <th>发票号码</th>
                                        <th>发票类型</th>
                                        <th>发票金额</th>
                                        <th>发票税率</th>
                                        <th>发票税额</th>
                                        <th>附件</th>
                                    </thead>
                                    <tbody>
                                    {volist name="data" id="item"}
                                    <tr>
                                        <td>{$item.receipt_id}</td>
                                        <td>{$item.settle_id}</td>
                                        <td>{$item.numb|default="无"}</td>
                                        <td>{$item.types.title}</td>
                                        <td>{$item.amount}</td>
                                        <td>{$item.tax_rate}</td>
                                        <td>{$item.tax_amount}</td>
                                        <td><a target="_blank" class="layui-btn layui-btn-sm" href="{$item.file.src}">查看</a></td>
                                    </tr>
                                    {/volist}
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
                <!--结算结束-->
            </form>
        </div>
    </div>
</div>
{/block}