<!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-review-edit" th:object="${formReview}">
            <input name="id" th:field="*{id}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">项目编号：</label>
                <div class="col-sm-8">
                    <input name="number" th:field="*{number}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">项目名称：</label>
                <div class="col-sm-8">
                    <input name="projectname" th:field="*{projectname}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">项目内容：</label>
                <div class="col-sm-8">
<!--                    <input name="projectcontent" th:field="*{projectcontent}" class="form-control" type="text" required>-->
                    <textarea type="text" name="projectcontent" th:field="*{projectcontent}"  class="form-control" placeholder="请输入项目内容" required></textarea>

                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">委托日期：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                        <input name="entrustdate" th:value="${#dates.format(formReview.entrustdate, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text" required>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">工作完成时限：</label>
                <div class="col-sm-8">
                    <input name="limitdate" th:field="*{limitdate}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">送审类别：</label>
                <div class="col-sm-8">
                    <input name="category" th:field="*{category}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">委托额：</label>
                <div class="col-sm-8">
                    <input name="entrustmoney" th:field="*{entrustmoney}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">送审金额：</label>
                <div class="col-sm-8">
                    <input name="reviewmoney" th:field="*{reviewmoney}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">审定金额：</label>
                <div class="col-sm-8">
                    <input name="reviewapprovalmoney" th:field="*{reviewapprovalmoney}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">审减率：</label>
                <div class="col-sm-8">
                    <input name="reviewrate" th:field="*{reviewrate}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">项目负责人：</label>
                <div class="col-sm-8">
                    <input name="projecthead" th:field="*{projecthead}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">项目单位：</label>
                <div class="col-sm-8">
                    <input name="projectunit" th:field="*{projectunit}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">联系人：</label>
                <div class="col-sm-8">
                    <input name="lianxiren" th:field="*{lianxiren}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">联系电话：</label>
                <div class="col-sm-8">
                    <input name="phone" th:field="*{phone}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">中介机构名称：</label>
                <div class="col-sm-8">
                    <input name="mediationname" th:field="*{mediationname}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">中介机构电话：</label>
                <div class="col-sm-8">
                    <input name="mediationphone" th:field="*{mediationphone}" class="form-control" type="text" required>
                </div>
                <h1>奥术</h1>
            </div>
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">添加时间：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <div class="input-group date">-->
<!--                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>-->
<!--                        <input name="addtime" th:value="${#dates.format(formReview.addtime, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text" required>-->
<!--                    </div>-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">添加人账号id：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="adduserid" th:field="*{adduserid}" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">添加人账号名：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="addname" th:field="*{addname}" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">修改时间：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <div class="input-group date">-->
<!--                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>-->
<!--                        <input name="modifytime" th:value="${#dates.format(formReview.modifytime, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">-->
<!--                    </div>-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">修改人ID：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="modifyuserid" th:field="*{modifyuserid}" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">修改人账号名称：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="modifyname" th:field="*{modifyname}" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">是否删除：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="deleteproject" th:field="*{deleteproject}" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">删除日期：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <div class="input-group date">-->
<!--                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>-->
<!--                        <input name="deletedate" th:value="${#dates.format(formReview.deletedate, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">-->
<!--                    </div>-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">删除原因：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="deletecontent" th:field="*{deletecontent}" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">删除人id：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="deleteuserid" th:field="*{deleteuserid}" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">删除人账号名称：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="deletename" th:field="*{deletename}" class="form-control" type="text">-->
<!--                </div>-->
<!--            </div>-->
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <th:block th:include="include :: datetimepicker-js" />
    <script type="text/javascript">
        var prefix = ctx + "review/review";
        $("#form-review-edit").validate({
            focusCleanup: true
        });

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

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