<!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-detail-edit" th:object="${orderSalesDetail}">
            <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="isDelete" th:field="*{isDelete}" class="form-control" type="text">
                </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="*{companyCode}"></span>
                   &lt;!&ndash; <input name="companyCode" th:field="*{companyCode}" class="form-control" type="text">&ndash;&gt;
                </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>
                    &lt;!&ndash;<input name="companyName" th:field="*{companyName}" class="form-control" type="text">&ndash;&gt;
                </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>
                    &lt;!&ndash;<input name="saledeptCode" th:field="*{saledeptCode}" class="form-control" type="text">&ndash;&gt;
                </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>
                    &lt;!&ndash;<input name="saledeptName" th:field="*{saledeptName}" class="form-control" type="text">&ndash;&gt;
                </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>
                    &lt;!&ndash;<input name="officeCode" th:field="*{officeCode}" class="form-control" type="text">&ndash;&gt;
                </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>
                    &lt;!&ndash;<input name="officeName" th:field="*{officeName}" class="form-control" type="text">&ndash;&gt;
                </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>
                    <!--<input name="subofficeCode" th:field="*{subofficeCode}" class="form-control" type="text">-->
                </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>
                    <!--<input name="subofficeName" th:field="*{subofficeName}" class="form-control" type="text">-->
                </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="*{empId}"></span>
                    <!--<input name="empId" th:field="*{empId}" class="form-control" type="text">-->
                </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="*{empName}"></span>
                    <!--<input name="empName" th:field="*{empName}" class="form-control" type="text">-->
                </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="*{customerId}"></span>
                    <!--<input name="customerId" th:field="*{customerId}" class="form-control" type="text">-->
                </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="*{customerName}"></span>
                    <!--<input name="customerName" th:field="*{customerName}" class="form-control" type="text">-->
                </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>
                    <!--<input name="nowYearAct" th:field="*{nowYearAct}" class="form-control" type="text">-->
                </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>
                    <!--<input name="nowYearBud" th:field="*{nowYearBud}" class="form-control" type="text">-->
                </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>
                    <!--<input name="reviewNo" th:field="*{reviewNo}" class="form-control" type="text">-->
                </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>
                    <!--<input name="uncleared" th:field="*{uncleared}" class="form-control" type="text">-->
                </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>
                    <!--<input name="freeze" th:field="*{freeze}" class="form-control" type="text">-->
                </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="*{orderNum}"></span>
                    <!--<input name="orderNum" th:field="*{orderNum}" class="form-control" type="text">-->
                </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>
                    <!--<input name="calMonth" th:field="*{calMonth}" class="form-control" type="text">-->
                </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>
                    <!--<input name="runTime" th:field="*{runTime}" class="form-control" type="text">-->
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script type="text/javascript">
        var prefix = ctx + "OrderSalesDetail/detail";
        $("#form-detail-edit").validate({
            focusCleanup: true
        });

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