<div class="panel-content">
    <div class="panel-title fluid">
        <div class="title-main">
            <h2>系统设置<a href="javascript:void(0);" id="system_save" class="btn btn-primary btn-sm pull-right">确定修改</a>
            </h2>
        </div>
    </div>
    <div class="content-wrap">
        <form method="post" action="/system/save" enctype="application/x-www-form-urlencoded21">
            <div class="c-header">
                <h4>产品信息</h4>
            </div>
            <div class="c-body">
                <div class="row">
                    <div class="form-group col-lg-4">
                        <label>软件供应商</label>
                        <% if (superAdmin === 1) { %>
                            <input class="form-control" type="text" name="company" value="<%= setting.company %>">

                        <% } else { %>
                            <input class="form-control" type="text" name="company" value="<%= setting.company %>" disabled="disabled">

                        <% } %>
                    </div>
                </div>
                <div class="row">
                    <div class="form-group col-lg-4">
                        <label>名称</label>
                        <% if (superAdmin === 1) { %>
                            <input class="form-control" type="text" name="product" value="<%= setting.product %>">

                        <% } else { %>
                            <input class="form-control" type="text" name="product" value="<%= setting.product %>" disabled="disabled">

                        <% } %>
                    </div>
                </div>
                <div class="row">
                    <div class="form-group col-lg-4">
                        <label>版本号</label>
                        <% if (superAdmin === 1) { %>
                            <input class="form-control" type="text" value="<%= setting.version %>" name="version" placeholder="请输入产品版本号">
                        <% } else { %>
                                <input class="form-control" type="text" value="<%= setting.version %>" name="version" disabled="disabled">
                        <% } %>
                    </div>
                </div>
            </div>
            <div class="c-header">
                <h4>版本差异</h4>
            </div>
            <div class="c-body">
                <div class="row">
                    <input type="hidden" name="ID" value="<%= setting.ID%>">
                    <div class="col-lg-4">
                        <legend>免费版</legend>
                        <div class="form-group">
                            <label>单位工程可创建数量</label>
                            <input type="number" step="10" min="50" class="form-control" name="normal_project"
                                value="<%= setting.normal.project%>">
                        </div>
                        <div class="form-group">
                            <label>定额可创建数量</label>
                            <input type="number" step="10" min="500" class="form-control" name="normal_ration"
                                value="<%= setting.normal.ration%>">
                        </div>
                    </div>
                    <div class="col-lg-4">
                        <legend>专业版</legend>
                        <div class="form-group">
                            <label>单位工程可创建数量</label>
                            <input type="number" step="10" min="50" class="form-control" name="professional_project"
                                value="<%= setting.professional.project%>">
                        </div>
                        <div class="form-group">
                            <label>定额可创建数量</label>
                            <input type="number" step="10" min="500" class="form-control" name="professional_ration"
                                value="<%= setting.professional.ration%>">
                        </div>
                    </div>
                </div>
            </div>
        </form>
    </div>
</div>

<script type="text/javascript" src="/web/users/js/system.js"></script>