<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})">
</head>
<body>
    <div class="timo-detail-page">
        <div class="timo-detail-title">基本信息</div>
        <table class="layui-table timo-detail-table">
            <colgroup>
                <col width="100px"><col>
                <col width="100px"><col>
            </colgroup>
            <tbody>
                <tr>
                    <th>主键ID</th>
                    <td th:text="${bssVatInvoice.id}"></td>
                    <th>发票代码</th>
                    <td th:text="${bssVatInvoice.invoiceCode}"></td>
                </tr>
                <tr>
                    <th>发票号码</th>
                    <td th:text="${bssVatInvoice.invoiceNo}"></td>
                    <th>发票日期</th>
                    <td th:text="${bssVatInvoice.invoiceDate}"></td>
                </tr>
                <tr>
                    <th>校验码</th>
                    <td th:text="${bssVatInvoice.checkCode}"></td>
                    <!--<th>机器编码</th>
                    <td th:text="${bssVatInvoice.machineNo}"></td>-->
                    <th>发票类型</th>
                    <td th:if="${bssVatInvoice.invoiceType} eq '0'">增值税普通发票</td>
                    <td th:if="${bssVatInvoice.invoiceType} eq '1'">增值税专用发票</td>
                </tr>
                <tr>
                    <th>发票金额</th>
                    <td th:text="${bssVatInvoice.invoiceMoney}"></td>
                    <th>税额</th>
                    <td th:text="${bssVatInvoice.taxAmount}"></td>
                </tr>
                <tr>
                    <th>总金额</th>
                    <td th:text="${bssVatInvoice.totalAmount}"></td>
                    <th>总金额(大写)</th>
                    <td th:text="${bssVatInvoice.totalAmountCn}"></td>
                </tr>
                <tr>
                    <th>购买方纳税人信息</th>
                    <td th:text="${bssVatInvoice.buyTaxInfo?.name}"></td>
                    <th>销售方纳税人信息</th>
                    <td th:text="${bssVatInvoice.salerTaxInfo?.name}"></td>
                </tr>
                <tr>
                    <th>创建时间</th>
                    <td th:text="${bssVatInvoice.createDate}"></td>
                    <th>更新时间</th>
                    <td th:text="${bssVatInvoice.updateDate}"></td>
                </tr>
                <tr>
                    <th>备注</th>
                    <td th:text="${bssVatInvoice.remark}" colspan="3"></td>
                </tr>
            </tbody>
        </table>
    </div>
<script th:replace="/common/template :: script"></script>
</body>
</html>