<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('查看单位信息')" />
    <th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-dwxx-edit" th:object="${tgjjDwxx}">
            <input name="ID" th:field="*{ID}" type="hidden">
            <div class="form-group">
                <label class="col-sm-3 control-label">单位名称：</label>
                <div class="form-control-static" th:text="${tgjjDwxx.DWMC}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">单位账号：</label>
                <div class="form-control-static" th:text="${tgjjDwxx.DWZH}"></div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">单位地址：</label>
                <div class="form-control-static" th:text="${tgjjDwxx.DWDZ}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">单位法人代表姓名：</label>
                <div class="form-control-static" th:text="${tgjjDwxx.DWFRDBXM}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">单位法人代表证件类型：</label>
                <div class="form-control-static" th:text="${tgjjDwxx.DWFRDBZJLX}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">单位法人代表证件号码：</label>
                <div class="form-control-static" th:text="${tgjjDwxx.DWFRDBZJHM}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">单位隶属关系：</label>
                <div class="form-control-static" th:text="${tgjjDwxx.DWLSGX}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">单位经济类型：</label>
                <div class="form-control-static" th:text="${tgjjDwxx.DWJJLX}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">单位所属行业：</label>
                <div class="form-control-static" th:text="${tgjjDwxx.DWSSHY}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">单位邮编：</label>
                <div class="form-control-static" th:text="${tgjjDwxx.DWYB}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">单位电子信箱：</label>
                <div class="form-control-static" th:text="${tgjjDwxx.DWDZXX}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">单位发薪日：</label>
                <div class="form-control-static" th:text="${tgjjDwxx.DWFXR}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">经办人姓名：</label>
                <div class="form-control-static" th:text="${tgjjDwxx.JBRXM}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">经办人固定电话号码：</label>
                <div class="form-control-static" th:text="${tgjjDwxx.JBRGDDHHM}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">经办人手机号码：</label>
                <div class="form-control-static" th:text="${tgjjDwxx.JBRSJHM}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">经办人证件类型：</label>
                <div class="form-control-static" th:text="${tgjjDwxx.JBRZJLX}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">经办人证件号码：</label>
                <div class="form-control-static" th:text="${tgjjDwxx.JBRZJHM}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">组织机构代码：</label>
                <div class="form-control-static" th:text="${tgjjDwxx.ZZJGDM}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">单位设立日期：</label>
                <div class="form-control-static" th:text="${#dates.format(tgjjDwxx.DWSLRQ, 'yyyy-MM-dd')}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">单位开户日期：</label>
                <div class="form-control-static" th:text="${#dates.format(tgjjDwxx.DWKHRQ, 'yyyy-MM-dd')}"></div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">受托银行名称：</label>
                <div class="form-control-static" th:text="${tgjjDwxx.STYHMC}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">受托银行代码：</label>
                <div class="form-control-static" th:text="${tgjjDwxx.STYHDM}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">统一社会信用代码：</label>
                <div class="form-control-static" th:text="${tgjjDwxx.TYSHXYDM}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">中心编号：</label>
                <div class="form-control-static" th:text="${tgjjDwxx.ZXBH}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">最后更新时间戳：</label>
                <div class="form-control-static" th:text="${#dates.format(tgjjDwxx.lastUpdateTime, 'yyyy-MM-dd')}"></div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">单位性质：</label>
                <div class="form-control-static" th:if="${tgjjDwxx.DWXZ == '00'}">国防机构</div>
                <div class="form-control-static" th:if="${tgjjDwxx.DWXZ == '01'}">政府机关</div>
                <div class="form-control-static" th:if="${tgjjDwxx.DWXZ == '02'}">事业单位</div>
                <div class="form-control-static" th:if="${tgjjDwxx.DWXZ == '03'}">企业</div>
                <div class="form-control-static" th:if="${tgjjDwxx.DWXZ == '04'}">个人</div>
                <div class="form-control-static" th:if="${tgjjDwxx.DWXZ == '05'}">社会团体</div>
                <div class="form-control-static" th:if="${tgjjDwxx.DWXZ == '06'}">民办非企业单位</div>
                <div class="form-control-static" th:if="${tgjjDwxx.DWXZ == '07'}">基金会</div>
                <div class="form-control-static" th:if="${tgjjDwxx.DWXZ == '08'}">律师执业机构</div>
                <div class="form-control-static" th:if="${tgjjDwxx.DWXZ == '09'}">外国在华文化中心</div>
                <div class="form-control-static" th:if="${tgjjDwxx.DWXZ == '10'}">群众性团体组织</div>
                <div class="form-control-static" th:if="${tgjjDwxx.DWXZ == '11'}">司法鉴定机构</div>
                <div class="form-control-static" th:if="${tgjjDwxx.DWXZ == '12'}">宗教团体</div>
                <div class="form-control-static" th:if="${tgjjDwxx.DWXZ == '13'}">境外机构</div>
                <div class="form-control-static" th:if="${tgjjDwxx.DWXZ == '14'}">医疗机构</div>
                <div class="form-control-static" th:if="${tgjjDwxx.DWXZ == '15'}">公证机构</div>
                <div class="form-control-static" th:if="${tgjjDwxx.DWXZ == '99'}">其他</div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">处理类型：</label>
                <div class="form-control-static" th:if="${tgjjDwxx.CLLX == 1}">插入</div>
                <div class="form-control-static" th:if="${tgjjDwxx.CLLX == 2}">更新</div>
                <div class="form-control-static" th:if="${tgjjDwxx.CLLX == 3}">删除</div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <th:block th:include="include :: datetimepicker-js" />
    <script th:inline="javascript">
        var prefix = ctx + "system/dwxx";
        $("#form-dwxx-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-dwxx-edit').serialize());
            }
        }

        $("input[name='DWSLRQ']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $("input[name='DWKHRQ']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $("input[name='lastUpdateTime']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });
    </script>
</body>
</html>