<!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-share-edit">
            <input name="id" id="id"  type="hidden"  th:value="${id}" />
            <input name="id" id="change"  type="hidden" th:value="${change}" />
            <div class="form-group">
                <label class="col-sm-2 control-label">姓名：</label>
                <div class="col-sm-4 ">
                    <input name="czrname" class="form-control" type="text" th:value="${czrxx.czrname}" >
                </div>
                <label class="col-sm-2 control-label">性别：</label>
                <div class="col-sm-4">
                    <input name="czrxb" class="form-control" type="text"th:value="${czrxx.czrxb}"  >
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label">认缴出资额（万元）：</label>
                <div class="col-sm-4">
                    <input name="czrzj" class="form-control" type="text"th:value="${czrxx.czrzj}"  >
                </div>
                <label class="col-sm-2 control-label">认缴截至日期：</label>
                <div class="col-sm-4">
                    <input name="renjiaoqxtime" class="form-control time-input" type="text"th:value="${#dates.format(czrxx.renjiaoqxtime,'yyyy-MM-dd')}"  >
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label">身份证类型：</label>
                <div class="col-sm-4 ">
                    <input  class="form-control" type="text" th:value="身份证" readOnly="true" >
                </div>
                <label class="col-sm-2 control-label">身份证件号码：</label>
                <div class="col-sm-4">
                    <input name="czrcardno" class="form-control" type="text"th:value="${czrxx.czrcardno}"  >
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label">移动电话：</label>
                <div class="col-sm-4">
                    <input name="czrphone" class="form-control" type="text"th:value="${czrxx.czrphone}"  >
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">身份证（正）：</label>
                <div class="col-sm-4 ">

                    <img  style=" height: 168px;width:164px; " th:src="${czrxx.czrsfz}" class="form-control" width="40px" height="50px">

                </div>
                <label class="col-sm-2 control-label">身份证（反）：</label>
                <div class="col-sm-4">
                    <img  style=" height: 168px;width:164px; "   th:src="${czrxx.czrsfz1}" class="form-control" width="40px" height="50px">
                </div>

    </div>
            <div class="form-group">
            <video  th:if="${czrxx.RzQx!=null}" width="320" height="240" th:src="${czrxx.video}" controls>

            </video>
            </div>
        </form>

        <br><br>
        <div style="text-align:center">
            <button th:if="${change}" type="button" th:onclick="submit()"class="btn btn-w-m btn-success">保存</button>
        </div>
    </div>
    <th: th:include="include :: footer" />

    <th:block th:include="include :: datetimepicker-js" />
    <script type="text/javascript">
        var prefix = ctx + "company/tenant";

        //编辑保存
        function submit() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/shareedit",$('#form-share-edit').serialize());
            }
        }
    </script>
</body>
</html>
