#
mrzhssss
2022-09-05 2a6ffd8bfdb3d8234a55e7fabe71999f1dba4fd9
#
9个文件已修改
56 ■■■■ 已修改文件
src/main/java/zy/cloud/wms/manager/controller/ItemController.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/zy/cloud/wms/manager/entity/FlowStatus.java 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/zy/cloud/wms/manager/entity/ProjectType.java 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/FlowStatusMapper.xml 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/js/flowStatus/flowStatus.js 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/js/item/item.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/flowStatus/flowStatus.html 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/item/item.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/projectType/projectType.html 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/zy/cloud/wms/manager/controller/ItemController.java
@@ -115,6 +115,9 @@
        /**
         * 控管
         */
        if (Cools.isEmpty(item.getHostId()) || item.getHostId() == 0){
            item.setHostId(1L);
        }
        if (Cools.isEmpty(item)) {
            return R.error("参数为空,请联系管理员");
        }
@@ -140,6 +143,7 @@
            throw new CoolException("找不到该客户,请检查");
        }
        item.setCustMan(cstmr.getName());
        item.setCustMobile(cstmr.getTel());
        item.setCustAdress(cstmr.getAddr());
src/main/java/zy/cloud/wms/manager/entity/FlowStatus.java
@@ -61,6 +61,13 @@
    @TableField("weight_num")
    private Integer weightNum;
    /**
     * 0:常规项目
     * 1:集成项目
     */
    @TableField("is_asrs")
    private Integer isAsrs;
//    FlowStatus flowStatus = new FlowStatus(
//            null,    // 节点类型
@@ -71,6 +78,13 @@
//            null    // 
//    );
    public String getIsAsrs$(){
        if (this.isAsrs == 0) {
            return "常规项目";
        }else {
            return "集成项目";
        }
    }
    public Integer getId() {
        return id;
    }
src/main/java/zy/cloud/wms/manager/entity/ProjectType.java
@@ -55,6 +55,10 @@
    @TableField("str_3")
    private String str3;
    /**
     * 0:常规项目
     * 1:集成项目
     */
    @TableField("is_asrs")
    private Integer isAsrs;
@@ -88,9 +92,9 @@
    public String getIsAsrs$(){
        if (this.isAsrs == 0) {
            return "否";
            return "常规项目";
        }else {
            return "是";
            return "集成项目";
        }
    }
src/main/resources/mapper/FlowStatusMapper.xml
@@ -11,6 +11,8 @@
        <result column="str1" property="str1" />
        <result column="str2" property="str2" />
        <result column="str3" property="str3" />
        <result column="is_asrs" property="isAsrs" />
    </resultMap>
src/main/webapp/static/js/flowStatus/flowStatus.js
@@ -21,11 +21,15 @@
        cellMinWidth: 50,
        cols: [[
            {type: 'checkbox'}
            ,{field: 'id', align: 'center',title: '唯一id',width: 100}
            ,{field: 'id', align: 'center',title: '唯一id',width: 100 , hide: true}
            ,{field: 'type', align: 'center',title: '节点类型', hide:true}
            ,{field: 'weightNum', align: 'center',title: '权重值', width: 100}
            ,{field: 'isAsrs$', align: 'center', width: 100, title: '项目类型'}
            ,{field: 'name', align: 'center',title: '节点名称'}
            ,{field: 'memo', align: 'center',title: '备注', width: 300}
            // ,{field: 'str1', align: 'center',title: ''}
            // ,{field: 'str2', align: 'center',title: ''}
src/main/webapp/static/js/item/item.js
@@ -30,14 +30,15 @@
            // ,{field: 'cstmrUuid', align: 'center',title: '客户编号'}
            ,{field: 'cstmrUuid$', align: 'center',title: '客户名称'}
            ,{field: 'projectStatus$', align: 'center', title: '项目进度'}
            ,{field: 'orderDesc', align: 'center', title: '订单类型描述', width: 115}
            ,{field: 'type$', align: 'center', title: '项目类型'}
            // ,{field: 'type', align: 'center', title: '订单类型描述', width: 115}
            // ,{field: 'member', align: 'center',title: '项目成员'}
            // ,{field: 'leader', align: 'center',title: '项目经理'}
            ,{field: 'startTime0$', align: 'center',title: '计划开始时间', width: 115}
            ,{field: 'endTime0$', align: 'center',title: '计划结束时间', width: 115}
            ,{field: 'realStartTime0$', align: 'center', title: '实际开始时间', width: 115}
            ,{field: 'realEndTime0$', align: 'center', title: '实际结束时间', width: 115}
            ,{field: 'type$', align: 'center', title: '项目类型'}
            ,{field: 'originArea', align: 'center', title: '生产地'}
            ,{field: 'realMonth', align: 'center', title: '时间跨度(天)', width: 115}
            ,{field: 'dutyMan', align: 'center', title: '责任人'}
src/main/webapp/views/flowStatus/flowStatus.html
@@ -80,6 +80,15 @@
                        <input class="layui-input" name="memo" placeholder="请输入备注">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label layui-form-required">项目类型: </label>
                    <div class="layui-input-block">
                        <select name="isAsrs">
                            <option value="0">常规项目</option>
                            <option value="1">集成项目</option>
                        </select>
                    </div>
                </div>
<!--                <div class="layui-form-item">-->
<!--                    <label class="layui-form-label">: </label>-->
<!--                    <div class="layui-input-block">-->
src/main/webapp/views/item/item.html
@@ -48,7 +48,7 @@
<script type="text/html" id="operate">
<!--    <a class="layui-btn layui-btn-normal layui-btn-xs btn-edit" lay-event="report">生成总结</a>-->
    <a class="layui-btn layui-btn-primary layui-btn-xs btn-edit" lay-event="edit">修改</a>
    <a class="layui-btn layui-btn-primary layui-btn-xs btn-edit" lay-event="initPlan">生成计划节点</a>
<!--    <a class="layui-btn layui-btn-primary layui-btn-xs btn-edit" lay-event="initPlan">生成计划节点</a>-->
<!--    <a class="layui-btn layui-btn-danger layui-btn-xs btn-edit" lay-event="del">禁用</a>-->
</script>
src/main/webapp/views/projectType/projectType.html
@@ -93,11 +93,11 @@
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label layui-form-required">是否为立库: </label>
                    <label class="layui-form-label layui-form-required">项目类型:</label>
                    <div class="layui-input-block">
                        <select name="isAsrs">
                            <option value="0">否</option>
                            <option value="1">是</option>
                            <option value="0">常规项目</option>
                            <option value="1">集成项目</option>
                        </select>
                    </div>
                </div>