ソースを参照

销售目标与达成

ningsy 4 年 前
コミット
00c4635872

+ 111 - 0
suishenbang-order/src/main/java/com/dgtly/order/controller/OrderSalesDetailController.java

@@ -0,0 +1,111 @@
+package com.dgtly.order.controller;
+
+
+import com.dgtly.common.utils.MapDataUtil;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.beans.factory.annotation.Value;
+import org.springframework.http.HttpEntity;
+import org.springframework.http.HttpHeaders;
+import org.springframework.http.MediaType;
+import org.springframework.stereotype.Controller;
+import org.springframework.util.MultiValueMap;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.ResponseBody;
+import com.dgtly.common.core.controller.BaseController;
+import org.springframework.web.client.RestTemplate;
+
+import javax.servlet.http.HttpServletRequest;
+
+/**
+ * 销售目标与达成Controller
+ * 
+ * @author dgtly
+ * @date 2020-07-16
+ */
+@Controller
+@RequestMapping("/order/orderSalesDetail")
+public class OrderSalesDetailController extends BaseController
+{
+    private String prefix = "order/orderSalesDetail";
+
+    @Autowired
+    private RestTemplate restTemplate;
+
+    @Value(value = "${ruoyi.cloudPath}")
+    private String cloudPath;
+
+    @RequiresPermissions("order:orderSalesDetail:view")
+    @GetMapping()
+    public String orderSalesDetail() {
+        return prefix + "/orderSalesDetail";
+    }
+
+    /**
+     * 查询销售目标达成列表
+     */
+    @RequiresPermissions("order:orderSalesDetail:list")
+    @PostMapping("/list")
+    @ResponseBody
+    public Object list(HttpServletRequest request)
+    {
+        //设置为form方式
+        HttpHeaders headers = new HttpHeaders();
+        headers.setContentType(MediaType.APPLICATION_FORM_URLENCODED);
+        MultiValueMap<String, Object> map = MapDataUtil.convertMultiValueMap(request);
+
+        HttpEntity<Object> requestEntity
+                = new HttpEntity<>(map, headers);
+        String str = restTemplate.postForObject(cloudPath+request.getRequestURI(),requestEntity,String.class);
+        return str;
+    }
+
+    /**
+     * 导出销售目标达成列表
+     */
+   /* @RequiresPermissions("OrderSalesDetail:detail:export")
+    @PostMapping("/export")
+    @ResponseBody
+    public AjaxResult export(OrderSalesDetail orderSalesDetail)
+    {
+        List<OrderSalesDetail> list = orderSalesDetailService.selectOrderSalesDetailList(orderSalesDetail);
+        ExcelUtil<OrderSalesDetail> util = new ExcelUtil<OrderSalesDetail>(OrderSalesDetail.class);
+        return util.exportExcel(list, "detail");
+    }*/
+
+    /**
+     * 新增销售目标达成
+     */
+   /* @GetMapping("/add")
+    public String add()
+    {
+        return prefix + "/add";
+    }*/
+
+
+    /**
+     * 修改保存销售目标达成
+     */
+    /*@RequiresPermissions("OrderSalesDetail:detail:edit")
+    @Log(title = "销售目标达成", businessType = BusinessType.UPDATE)
+    @PostMapping("/edit")
+    @ResponseBody
+    public AjaxResult editSave(OrderSalesDetail orderSalesDetail)
+    {
+        return toAjax(orderSalesDetailService.updateOrderSalesDetail(orderSalesDetail));
+    }*/
+
+    /**
+     * 删除销售目标达成
+     */
+    /*@RequiresPermissions("OrderSalesDetail:detail:remove")
+    @Log(title = "销售目标达成", businessType = BusinessType.DELETE)
+    @PostMapping( "/remove")
+    @ResponseBody
+    public AjaxResult remove(String ids)
+    {
+        return toAjax(orderSalesDetailService.deleteOrderSalesDetailByIds(ids));
+    }*/
+}

+ 334 - 0
suishenbang-order/src/main/java/com/dgtly/order/domain/OrderSalesDetail.java

@@ -0,0 +1,334 @@
+package com.dgtly.order.domain;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.dgtly.common.annotation.Excel;
+import com.dgtly.common.core.domain.BaseEntity;
+
+/**
+ * 销售目标与达成对象 order_sales_detail
+ * 
+ * @author dgtly
+ * @date 2020-07-16
+ */
+public class OrderSalesDetail extends BaseEntity
+{
+    private static final long serialVersionUID = 1L;
+
+    /** id */
+    private Long id;
+
+    /** 是否删除 */
+    @Excel(name = "是否删除")
+    private String isDelete;
+
+    /** 公司代码 */
+    @Excel(name = "公司代码")
+    private String companyCode;
+
+    /** 公司名称 */
+    @Excel(name = "公司名称")
+    private String companyName;
+
+    /** 销售大区代码 */
+    @Excel(name = "销售大区代码")
+    private String saledeptCode;
+
+    /** 销售大区名称 */
+    @Excel(name = "销售大区名称")
+    private String saledeptName;
+
+    /** 销售部代码 */
+    @Excel(name = "销售部代码")
+    private String officeCode;
+
+    /** 销售部名称 */
+    @Excel(name = "销售部名称")
+    private String officeName;
+
+    /** 销售分部/推广组 */
+    @Excel(name = "销售分部/推广组")
+    private String subofficeCode;
+
+    /** 销售分部/推广组 */
+    @Excel(name = "销售分部/推广组")
+    private String subofficeName;
+
+    /** 工号 */
+    @Excel(name = "工号")
+    private String empId;
+
+    /** 销售员 */
+    @Excel(name = "销售员")
+    private String empName;
+
+    /** 经销商代码 */
+    private String customerId;
+
+    /** 经销商名称 */
+    @Excel(name = "经销商名称")
+    private String customerName;
+
+    /** 已复核 */
+    @Excel(name = "已复核")
+    private String nowYearAct;
+
+    /** 预算 */
+    @Excel(name = "预算")
+    private String nowYearBud;
+
+    /** 未复核 */
+    @Excel(name = "未复核")
+    private String reviewNo;
+
+    /** 未清 */
+    @Excel(name = "未清")
+    private String uncleared;
+
+    /** 冻结 */
+    @Excel(name = "冻结")
+    private String freeze;
+
+    /** 销售凭证数量 */
+    @Excel(name = "销售凭证数量")
+    private String orderNum;
+
+    /** 日期 */
+    @Excel(name = "日期")
+    private String calMonth;
+
+    /** 数据更新时间 */
+    @Excel(name = "数据更新时间")
+    private String runTime;
+
+    public void setId(Long id) 
+    {
+        this.id = id;
+    }
+
+    public Long getId() 
+    {
+        return id;
+    }
+    public void setIsDelete(String isDelete) 
+    {
+        this.isDelete = isDelete;
+    }
+
+    public String getIsDelete() 
+    {
+        return isDelete;
+    }
+    public void setCompanyCode(String companyCode) 
+    {
+        this.companyCode = companyCode;
+    }
+
+    public String getCompanyCode() 
+    {
+        return companyCode;
+    }
+    public void setCompanyName(String companyName) 
+    {
+        this.companyName = companyName;
+    }
+
+    public String getCompanyName() 
+    {
+        return companyName;
+    }
+    public void setSaledeptCode(String saledeptCode) 
+    {
+        this.saledeptCode = saledeptCode;
+    }
+
+    public String getSaledeptCode() 
+    {
+        return saledeptCode;
+    }
+    public void setSaledeptName(String saledeptName) 
+    {
+        this.saledeptName = saledeptName;
+    }
+
+    public String getSaledeptName() 
+    {
+        return saledeptName;
+    }
+    public void setOfficeCode(String officeCode) 
+    {
+        this.officeCode = officeCode;
+    }
+
+    public String getOfficeCode() 
+    {
+        return officeCode;
+    }
+    public void setOfficeName(String officeName) 
+    {
+        this.officeName = officeName;
+    }
+
+    public String getOfficeName() 
+    {
+        return officeName;
+    }
+    public void setSubofficeCode(String subofficeCode) 
+    {
+        this.subofficeCode = subofficeCode;
+    }
+
+    public String getSubofficeCode() 
+    {
+        return subofficeCode;
+    }
+    public void setSubofficeName(String subofficeName) 
+    {
+        this.subofficeName = subofficeName;
+    }
+
+    public String getSubofficeName() 
+    {
+        return subofficeName;
+    }
+    public void setEmpId(String empId) 
+    {
+        this.empId = empId;
+    }
+
+    public String getEmpId() 
+    {
+        return empId;
+    }
+    public void setEmpName(String empName) 
+    {
+        this.empName = empName;
+    }
+
+    public String getEmpName() 
+    {
+        return empName;
+    }
+    public void setCustomerId(String customerId) 
+    {
+        this.customerId = customerId;
+    }
+
+    public String getCustomerId() 
+    {
+        return customerId;
+    }
+    public void setCustomerName(String customerName) 
+    {
+        this.customerName = customerName;
+    }
+
+    public String getCustomerName() 
+    {
+        return customerName;
+    }
+    public void setNowYearAct(String nowYearAct) 
+    {
+        this.nowYearAct = nowYearAct;
+    }
+
+    public String getNowYearAct() 
+    {
+        return nowYearAct;
+    }
+    public void setNowYearBud(String nowYearBud) 
+    {
+        this.nowYearBud = nowYearBud;
+    }
+
+    public String getNowYearBud() 
+    {
+        return nowYearBud;
+    }
+    public void setReviewNo(String reviewNo) 
+    {
+        this.reviewNo = reviewNo;
+    }
+
+    public String getReviewNo() 
+    {
+        return reviewNo;
+    }
+    public void setUncleared(String uncleared) 
+    {
+        this.uncleared = uncleared;
+    }
+
+    public String getUncleared() 
+    {
+        return uncleared;
+    }
+    public void setFreeze(String freeze) 
+    {
+        this.freeze = freeze;
+    }
+
+    public String getFreeze() 
+    {
+        return freeze;
+    }
+    public void setOrderNum(String orderNum) 
+    {
+        this.orderNum = orderNum;
+    }
+
+    public String getOrderNum() 
+    {
+        return orderNum;
+    }
+    public void setCalMonth(String calMonth) 
+    {
+        this.calMonth = calMonth;
+    }
+
+    public String getCalMonth() 
+    {
+        return calMonth;
+    }
+    public void setRunTime(String runTime) 
+    {
+        this.runTime = runTime;
+    }
+
+    public String getRunTime() 
+    {
+        return runTime;
+    }
+
+    @Override
+    public String toString() {
+        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+            .append("id", getId())
+            .append("createBy", getCreateBy())
+            .append("createTime", getCreateTime())
+            .append("updateBy", getUpdateBy())
+            .append("updateTime", getUpdateTime())
+            .append("isDelete", getIsDelete())
+            .append("companyCode", getCompanyCode())
+            .append("companyName", getCompanyName())
+            .append("saledeptCode", getSaledeptCode())
+            .append("saledeptName", getSaledeptName())
+            .append("officeCode", getOfficeCode())
+            .append("officeName", getOfficeName())
+            .append("subofficeCode", getSubofficeCode())
+            .append("subofficeName", getSubofficeName())
+            .append("empId", getEmpId())
+            .append("empName", getEmpName())
+            .append("customerId", getCustomerId())
+            .append("customerName", getCustomerName())
+            .append("nowYearAct", getNowYearAct())
+            .append("nowYearBud", getNowYearBud())
+            .append("reviewNo", getReviewNo())
+            .append("uncleared", getUncleared())
+            .append("freeze", getFreeze())
+            .append("orderNum", getOrderNum())
+            .append("calMonth", getCalMonth())
+            .append("runTime", getRunTime())
+            .toString();
+    }
+}

+ 151 - 0
suishenbang-order/src/main/resources/templates/order/orderSalesDetail/add.html

@@ -0,0 +1,151 @@
+<!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-add">
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">是否删除:</label>
+                <div class="col-sm-8">
+                    <input name="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">
+                    <input name="companyCode" 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="companyName" 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="saledeptCode" 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="saledeptName" 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="officeCode" 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="officeName" 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="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">
+                    <input name="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">
+                    <input name="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">
+                    <input name="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">
+                    <input name="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">
+                    <input name="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">
+                    <input name="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">
+                    <input name="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">
+                    <input name="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">
+                    <input name="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">
+                    <input name="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">
+                    <input name="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">
+                    <input name="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">
+                    <input name="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-add").validate({
+            focusCleanup: true
+        });
+
+        function submitHandler() {
+            if ($.validate.form()) {
+                $.operate.save(prefix + "/add", $('#form-detail-add').serialize());
+            }
+        }
+    </script>
+</body>
+</html>

+ 194 - 0
suishenbang-order/src/main/resources/templates/order/orderSalesDetail/detail.html

@@ -0,0 +1,194 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
+<head>
+    <th:block th:include="include :: header('销售目标达成列表')" />
+</head>
+<body class="gray-bg">
+     <div class="container-div">
+        <div class="row">
+            <div class="col-sm-12 search-collapse">
+                <form id="formId">
+                    <div class="select-list">
+                        <ul>
+                            <li>
+                                <p>是否删除:</p>
+                                <input type="text" name="isDelete"/>
+                            </li>
+                            <li>
+                                <p>公司名称:</p>
+                                <input type="text" name="companyName"/>
+                            </li>
+                            <li>
+                                <p>销售大区名称:</p>
+                                <input type="text" name="saledeptName"/>
+                            </li>
+                            <li>
+                                <p>销售部名称:</p>
+                                <input type="text" name="officeName"/>
+                            </li>
+                            <li>
+                                <p>销售分部/推广组:</p>
+                                <input type="text" name="subofficeName"/>
+                            </li>
+                            <li>
+                                <p>工号:</p>
+                                <input type="text" name="empId"/>
+                            </li>
+                            <li>
+                                <p>销售员:</p>
+                                <input type="text" name="empName"/>
+                            </li>
+                            <li>
+                                <p>经销商名称:</p>
+                                <input type="text" name="customerName"/>
+                            </li>
+                            <li>
+                                <p>日期:</p>
+                                <input type="text" name="calMonth"/>
+                            </li>
+                            <li>
+                                <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
+                                <a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
+                            </li>
+                        </ul>
+                    </div>
+                </form>
+            </div>
+
+            <div class="btn-group-sm" id="toolbar" role="group">
+                <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="OrderSalesDetail:detail:add">
+                    <i class="fa fa-plus"></i> 添加
+                </a>
+                <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="OrderSalesDetail:detail:edit">
+                    <i class="fa fa-edit"></i> 修改
+                </a>
+                <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="OrderSalesDetail:detail:remove">
+                    <i class="fa fa-remove"></i> 删除
+                </a>
+                <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="OrderSalesDetail:detail:export">
+                    <i class="fa fa-download"></i> 导出
+                 </a>
+            </div>
+            <div class="col-sm-12 select-table table-striped">
+                <table id="bootstrap-table"></table>
+            </div>
+        </div>
+    </div>
+    <th:block th:include="include :: footer" />
+    <script th:inline="javascript">
+        var editFlag = [[${@permission.hasPermi('OrderSalesDetail:detail:edit')}]];
+        var removeFlag = [[${@permission.hasPermi('OrderSalesDetail:detail:remove')}]];
+        var prefix = ctx + "OrderSalesDetail/detail";
+
+        $(function() {
+            var options = {
+                url: prefix + "/list",
+                createUrl: prefix + "/add",
+                updateUrl: prefix + "/edit/{id}",
+                removeUrl: prefix + "/remove",
+                exportUrl: prefix + "/export",
+                modalName: "销售目标达成",
+                columns: [{
+                    checkbox: true
+                },
+                {
+                    field : 'id', 
+                    title : 'id',
+                    visible: false
+                },
+                {
+                    field : 'isDelete', 
+                    title : '是否删除'
+                },
+                {
+                    field : 'companyCode', 
+                    title : '公司代码'
+                },
+                {
+                    field : 'companyName', 
+                    title : '公司名称'
+                },
+                {
+                    field : 'saledeptCode', 
+                    title : '销售大区代码'
+                },
+                {
+                    field : 'saledeptName', 
+                    title : '销售大区名称'
+                },
+                {
+                    field : 'officeCode', 
+                    title : '销售部代码'
+                },
+                {
+                    field : 'officeName', 
+                    title : '销售部名称'
+                },
+                {
+                    field : 'subofficeCode', 
+                    title : '销售分部/推广组'
+                },
+                {
+                    field : 'subofficeName', 
+                    title : '销售分部/推广组'
+                },
+                {
+                    field : 'empId', 
+                    title : '工号'
+                },
+                {
+                    field : 'empName', 
+                    title : '销售员'
+                },
+                {
+                    field : 'customerName', 
+                    title : '经销商名称'
+                },
+                {
+                    field : 'nowYearAct', 
+                    title : '已复核'
+                },
+                {
+                    field : 'nowYearBud', 
+                    title : '预算'
+                },
+                {
+                    field : 'reviewNo', 
+                    title : '未复核'
+                },
+                {
+                    field : 'uncleared', 
+                    title : '未清'
+                },
+                {
+                    field : 'freeze', 
+                    title : '冻结'
+                },
+                {
+                    field : 'orderNum', 
+                    title : '销售凭证数量'
+                },
+                {
+                    field : 'calMonth', 
+                    title : '日期'
+                },
+                {
+                    field : 'runTime', 
+                    title : '数据更新时间'
+                },
+                {
+                    title: '操作',
+                    align: 'center',
+                    formatter: function(value, row, index) {
+                        var actions = [];
+                        actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
+                        actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a>');
+                        return actions.join('');
+                    }
+                }]
+            };
+            $.table.init(options);
+        });
+    </script>
+</body>
+</html>

+ 152 - 0
suishenbang-order/src/main/resources/templates/order/orderSalesDetail/edit.html

@@ -0,0 +1,152 @@
+<!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">
+                    <input name="companyCode" th:field="*{companyCode}" 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="companyName" th:field="*{companyName}" 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="saledeptCode" th:field="*{saledeptCode}" 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="saledeptName" th:field="*{saledeptName}" 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="officeCode" th:field="*{officeCode}" 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="officeName" th:field="*{officeName}" 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="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">
+                    <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">
+                    <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">
+                    <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">
+                    <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">
+                    <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">
+                    <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">
+                    <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">
+                    <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">
+                    <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">
+                    <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">
+                    <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">
+                    <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">
+                    <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());
+            }
+        }
+    </script>
+</body>
+</html>