<!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-gtgsyw-edit" th:object="${gtgsyw}">
        <input readOnly="true" 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="mingchenghangye" th:field="*{xinyongcode}" 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="zuzhixingshi" th:field="*{shuwenhao}" 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="mingchenghangye" th:field="*{zhucehao}" 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="mingchenghangye" th:field="*{erweimabase64}" class="form-control" type="filed">
            </div>
        </div>
    </form>

    <button id="btn-pass" class="btn btn-success" th:onclick="'javascript:yesPass(\''+${gtgsyw.id}+'\')'" style="width: 48%">  <i class="fa fa-check"></i>审核通过</button>
</div>

<th:block th:include="include :: footer" />
<th:block th:include="include :: datetimepicker-js" />
<script type="text/javascript">
    var prefix = ctx + "system/gtgsyw";
    $("#form-gtgsyw-edit").validate({
        focusCleanup: true
    });

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

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

</script>
<script type="text/javascript">
    var prefix = ctx + "system/gtgsyw";

  function yesPass(id){
      var url= prefix;

$.modal.open("提示:",url);
  }
</script>
</body>
</html>
