自动化立体仓库 - WMS系统
1.成品灌装完成后采集plc反馈的是否贴标信息随工作任务存入数据库中
2.库存查询界面以及出库提取界面新增是否贴标搜索筛选功能
7个文件已修改
55 ■■■■ 已修改文件
src/main/java/com/zy/common/web/WcsController.java 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/common/web/param/CanningLineInLocParam.java 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/LocDetlMapper.xml 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/js/common.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/js/locDetl/locDetl.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/locDetl/locDetl.html 32 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/pakStore/locDetlQuery.html 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/common/web/WcsController.java
@@ -303,6 +303,7 @@
            // 生成工作档明细----------------------------------------------------
            WrkDetl wrkDetl = new WrkDetl();
            wrkDetl.sync(mat);
            wrkDetl.setBrand(param.isLabeling() ? "未贴标" : "已贴标");
            wrkDetl.setWrkNo(wrkMast.getWrkNo());
            wrkDetl.setAnfme(wrkDetl1.getAnfme());
            wrkDetl.setZpallet(wrkMast1.getBarcode());
@@ -348,6 +349,7 @@
            // 生成工作档明细----------------------------------------------------
            WrkDetl wrkDetl = new WrkDetl();
            wrkDetl.sync(mat);
            wrkDetl.setBrand(param.isLabeling() ? "未贴标" : "已贴标");
            wrkDetl.setWrkNo(wrkMast.getWrkNo());
            wrkDetl.setAnfme(wrkDetl1.getAnfme());
            wrkDetl.setZpallet(wrkMast1.getBarcode());
@@ -402,6 +404,7 @@
                // 生成工作档明细
                WrkDetl wrkDetl = new WrkDetl();
                wrkDetl.sync(mat);
                wrkDetl.setBrand(param.isLabeling() ? "未贴标" : "已贴标");
                wrkDetl.setWrkNo(workNo);
                wrkDetl.setAnfme(wrkDetl1.getAnfme());
                wrkDetl.setZpallet(wrkMast1.getBarcode());
src/main/java/com/zy/common/web/param/CanningLineInLocParam.java
@@ -40,4 +40,7 @@
    // 贴标成功否
    private boolean tbFlag;
    // 是否贴标 false 贴标,true 不贴标
    private boolean labeling;
}
src/main/resources/mapper/LocDetlMapper.xml
@@ -345,6 +345,9 @@
        <if test="maktx!=null and maktx!='' ">
            and a.maktx like '%' + #{maktx} + '%'
        </if>
        <if test="brand!=null and brand!='' ">
            and a.brand like '%' + #{brand} + '%'
        </if>
        <if test="anfme!=null and anfme!='' ">
            and a.anfme like '%' + #{anfme} + '%'
        </if>
src/main/webapp/static/js/common.js
@@ -231,7 +231,7 @@
    ,{field: 'specs', align: 'center',title: '规格', hide: true}
    ,{field: 'model', align: 'center',title: '桶型', hide: false}
    ,{field: 'color', align: 'center',title: '颜色', hide: true}
    ,{field: 'brand', align: 'center',title: '品牌', hide: true}
    ,{field: 'brand', align: 'center',title: '贴标否'}
    ,{field: 'unit', align: 'center',title: '单位', hide: true}
    ,{field: 'price', align: 'center',title: '单价', hide: true}
    ,{field: 'sku', align: 'center',title: 'sku', hide: true}
src/main/webapp/static/js/locDetl/locDetl.js
@@ -13,7 +13,7 @@
        ,{field: 'specs', align: 'center',title: '规格', hide: true}
        ,{field: 'model', align: 'center',title: '桶类型'}
        ,{field: 'color', align: 'center',title: '颜色', hide: true}
        ,{field: 'brand', align: 'center',title: '品牌', hide: true}
        ,{field: 'brand', align: 'center',title: '贴标否'}
        ,{field: 'unit', align: 'center',title: '单位', hide: true}
        ,{field: 'price', align: 'center',title: '单价', hide: true}
        ,{field: 'sku', align: 'center',title: 'sku', hide: true}
src/main/webapp/views/locDetl/locDetl.html
@@ -57,16 +57,26 @@
            <input class="layui-input layui-laydate-range" name="modi_time" type="text" placeholder="起始时间 - 终止时间" autocomplete="off" style="width: 300px">
        </div>
    </div>
<!--    <div class="layui-inline">-->
<!--        <div class="layui-input-inline">-->
<!--            <select name="frozen" class="layui-input" type="text" autocomplete="off">-->
<!--                &lt;!&ndash;                    <option style="display: none"></option>&ndash;&gt;-->
<!--                <option value="">冻结否</option>-->
<!--                <option value="0">未冻结</option>-->
<!--                <option value="1">已冻结</option>-->
<!--            </select>-->
<!--        </div>-->
<!--    </div>-->
    <div class="layui-inline">
        <div class="layui-input-inline">
            <select name="frozen" class="layui-input" type="text" autocomplete="off">
                <!--                    <option style="display: none"></option>-->
                <option value="">冻结否</option>
                <option value="0">未冻结</option>
                <option value="1">已冻结</option>
            </select>
        </div>
    </div>
    <div class="layui-inline">
        <div class="layui-input-inline">
            <select name="brand" class="layui-input" type="text" autocomplete="off">
                <!--                    <option style="display: none"></option>-->
                <option value="">贴标否</option>
                <option value="未贴标">未贴标</option>
                <option value="已贴标">已贴标</option>
            </select>
        </div>
    </div>
<!--    <div class="layui-inline">-->
<!--        <div class="layui-input-inline">-->
@@ -97,7 +107,7 @@
    <div class="layui-btn-container">
        <button class="layui-btn layui-btn-primary layui-bg-blue layui-btn-sm" id="frozen-btn" lay-event="frozen" style="margin-top: 1px">冻结</button>
        <button class="layui-btn layui-btn-primary layui-btn-sm" id="unfreeze-btn" lay-event="unfreeze" style="margin-top: 1px">解冻</button>
        <button class="layui-btn layui-btn-primary layui-btn-sm" id="btn-export" lay-event="exportData" style="margin-top: 10px">导出</button>
        <button class="layui-btn layui-btn-primary layui-btn-sm" id="btn-export" lay-event="exportData" style="margin-top: 1px">导出</button>
    </div>
</script>
src/main/webapp/views/pakStore/locDetlQuery.html
@@ -86,6 +86,16 @@
                </select>
            </div>
        </div>
        <div class="layui-inline">
            <div class="layui-input-inline">
                <select name="brand" class="layui-input" type="text" autocomplete="off">
                    <!--                    <option style="display: none"></option>-->
                    <option value="">贴标否</option>
                    <option value="未贴标">未贴标</option>
                    <option value="已贴标">已贴标</option>
                </select>
            </div>
        </div>
        <!-- 日期范围 -->
        <div class="layui-inline" style="width: 300px">
            <div class="layui-input-inline">