<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改【请填写功能名称】')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-group-edit" th:object="${orderSalesGroup}">
            <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">
                    <span class="form-control" th:text="*{companyCode}"></span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">公司名称：</label>
                <div class="col-sm-8">
                    <span class="form-control" th:text="*{companyName}"></span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">销售大区代码：</label>
                <div class="col-sm-8">
                    <span class="form-control" th:text="*{saledeptCode}"></span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">销售大区名称：</label>
                <div class="col-sm-8">
                    <span class="form-control" th:text="*{saledeptName}"></span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">销售部代码：</label>
                <div class="col-sm-8">
                    <span class="form-control" th:text="*{officeCode}"></span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">销售部名称：</label>
                <div class="col-sm-8">
                    <span class="form-control" th:text="*{officeName}"></span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">销售分部代码：</label>
                <div class="col-sm-8">
                    <span class="form-control" th:text="*{subofficeCode}"></span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">销售分部名称：</label>
                <div class="col-sm-8">
                    <span class="form-control" th:text="*{subofficeName}"></span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">顾客分组代码：</label>
                <div class="col-sm-8">
                    <span class="form-control" th:text="*{customerGroup}"></span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">顾客分组名称：</label>
                <div class="col-sm-8">
                    <span class="form-control" th:text="*{customerGroupName}"></span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">日期：</label>
                <div class="col-sm-8">
                    <span class="form-control" th:text="*{calMonth}"></span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">已复核：</label>
                <div class="col-sm-8">
                    <span class="form-control" th:text="*{nowYearAct}"></span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">预算：</label>
                <div class="col-sm-8">
                    <span class="form-control" th:text="*{nowYearBud}"></span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">未复核：</label>
                <div class="col-sm-8">
                    <span class="form-control" th:text="*{reviewNo}"></span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">未清：</label>
                <div class="col-sm-8">
                    <span class="form-control" th:text="*{uncleared}"></span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">冻结：</label>
                <div class="col-sm-8">
                    <span class="form-control" th:text="*{freeze}"></span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">数据更新时间：</label>
                <div class="col-sm-8">
                    <span class="form-control" th:text="*{runTime}"></span>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script type="text/javascript">
        var prefix = ctx + "system/group";
        $("#form-group-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-group-edit').serialize());
            }
        }
    </script>
</body>
</html>