<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('RFID标签详细')" />
</head>
<body>
    <div class="main-content">
        <form class="form-horizontal" th:object="${amsRfidTag}">
            <h4 class="form-header h4">基本信息</h4>
            <div class="row">
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">标签编码：</label>
                        <div class="col-sm-8">
                            <p class="form-control-plaintext" th:text="*{tagCode}"></p>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">EPC编码：</label>
                        <div class="col-sm-8">
                            <p class="form-control-plaintext" th:text="*{epcCode}"></p>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">标签状态：</label>
                        <div class="col-sm-8">
                            <p class="form-control-plaintext" th:text="*{@dict.getLabel('ams_tag_status', tagStatus)}"></p>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">绑定状态：</label>
                        <div class="col-sm-8">
                            <p class="form-control-plaintext" th:text="*{@dict.getLabel('ams_tag_bind_status', bindStatus)}"></p>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">绑定资产编码：</label>
                        <div class="col-sm-8">
                            <p class="form-control-plaintext" th:text="*{assetCode}"></p>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">绑定资产名称：</label>
                        <div class="col-sm-8">
                            <p class="form-control-plaintext" th:text="*{assetName}"></p>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">绑定时间：</label>
                        <div class="col-sm-8">
                            <p class="form-control-plaintext" th:text="${amsRfidTag.bindTime == null ? '' : #dates.format(amsRfidTag.bindTime, 'yyyy-MM-dd HH:mm:ss')}"></p>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">绑定人：</label>
                        <div class="col-sm-8">
                            <p class="form-control-plaintext" th:text="*{bindUserName}"></p>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">备注：</label>
                        <div class="col-sm-8">
                            <p class="form-control-plaintext" th:text="*{remark}"></p>
                        </div>
                    </div>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
</body>
</html>
