自动化立体仓库 - WMS系统
#
1
2026-04-24 43a34e5651ed0530baa25694e4757cd568d06b20
#
9个文件已修改
110 ■■■■■ 已修改文件
src/main/java/com/zy/asrs/task/kingdee/handler/InboundOrderHandler.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/ViewWorkInMapper.xml 55 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/js/mat/mat.js 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/js/report/workIn.js 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/js/report/workOut.js 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/mat/mat.html 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/pakStore/locDetlCheckQuery.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/report/viewWorkIn.html 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/report/viewWorkOut.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/asrs/task/kingdee/handler/InboundOrderHandler.java
@@ -155,7 +155,7 @@
                    path = orgAddress;
                    break;
                case "PUR_RECEIVEBIll": //已审核收料单查询
                    jsonObject.put("start_biztime",  latestUpdateTime);//业务起始日期
                    jsonObject.put("start_biztime",  "2026-03-28");//业务起始日期
                    jsonObject.put("end_biztime", sdf1.format(now));//业务结束日期
                    jsonObject.put("billno", null);
                    jsonObject.put("billstatus", Arrays.asList("C"));//数据状态 [A:暂存, B:已提交, C:已审核]
src/main/resources/mapper/ViewWorkInMapper.xml
@@ -14,6 +14,24 @@
        <if test="anfme != null and anfme != ''">
            and anfme = #{anfme}
        </if>
        <if test="standby1!=null and standby1!='' ">
            and standby1 like '%' + #{standby1} + '%'
        </if>
        <if test="standby2!=null and standby2!='' ">
            and standby2 like '%' + #{standby2} + '%'
        </if>
        <if test="standby3!=null and standby3!='' ">
            and standby3 like '%' + #{standby3} + '%'
        </if>
        <if test="boxType1!=null and boxType1!='' ">
            and box_type1 like '%' + #{boxType1} + '%'
        </if>
        <if test="boxType2!=null and boxType2!='' ">
            and box_type2 like '%' + #{boxType2} + '%'
        </if>
        <if test="boxType3!=null and boxType3!='' ">
            and box_type3 like '%' + #{boxType3} + '%'
        </if>
<!--        <if test="maktx!=null and maktx!='' ">-->
<!--            and (maktx like '%' + #{maktx} + '%'-->
<!--            or matnr like '%' + #{maktx} + '%'-->
@@ -57,20 +75,23 @@
        <if test="matnr!=null and matnr!='' ">
            and matnr like '%' + #{matnr} + '%'
        </if>
        <if test="maktx!=null and maktx!='' ">
            and (maktx like '%' + #{maktx} + '%'
            or matnr like '%' + #{maktx} + '%'
            or lgnum like '%' + #{maktx} + '%'
            or tbnum like '%' + #{maktx} + '%'
            or tbpos like '%' + #{maktx} + '%'
            or zmatid like '%' + #{maktx} + '%'
            or maktx like '%' + #{maktx} + '%'
            or werks like '%' + #{maktx} + '%'
            or anfme like '%' + #{maktx} + '%'
            or altme like '%' + #{maktx} + '%'
            or zpallet like '%' + #{maktx} + '%'
            or bname like '%' + #{maktx} + '%'
            )
        <if test="standby1!=null and standby1!='' ">
            and standby1 like '%' + #{standby1} + '%'
        </if>
        <if test="standby2!=null and standby2!='' ">
            and standby2 like '%' + #{standby2} + '%'
        </if>
        <if test="standby3!=null and standby3!='' ">
            and standby3 like '%' + #{standby3} + '%'
        </if>
        <if test="boxType1!=null and boxType1!='' ">
            and box_type1 like '%' + #{boxType1} + '%'
        </if>
        <if test="boxType2!=null and boxType2!='' ">
            and box_type2 like '%' + #{boxType2} + '%'
        </if>
        <if test="boxType3!=null and boxType3!='' ">
            and box_type3 like '%' + #{boxType3} + '%'
        </if>
        <if test="begin_date!=null and begin_date!='' ">
            <![CDATA[
@@ -135,7 +156,7 @@
            select *
            from asr_wrkout_view
            where 1=1
            <include refid="viewWorkInConditionSql"></include>
            <include refid="viewWorkOutConditionSql"></include>
        ) t
    ) a where 1=1 and a.row between ((#{pageNumber}-1)*#{pageSize}+1) and (#{pageNumber}*#{pageSize})
@@ -145,7 +166,7 @@
    select count(1)
    from asr_wrkout_view a
    where 1=1
    <include refid="viewWorkInConditionSql"></include>
    <include refid="viewWorkOutConditionSql"></include>
</select>
<!-- 不分页查询所有信息,用于excel导出 -->
@@ -153,7 +174,7 @@
    select *
    from asr_wrkout_view a
    where 1=1
    <include refid="viewWorkInConditionSql"></include>
    <include refid="viewWorkOutConditionSql"></include>
    Order by a.io_time desc
</select>
src/main/webapp/static/js/mat/mat.js
@@ -7,8 +7,11 @@
        ,{field: 'tagId$', align: 'center',title: '归类', templet: '#tagTpl'}
        ,{field: 'store_max', align: 'center',title: '库存上限',hide : true}
        ,{field: 'store_min', align: 'center',title: '库存下限',hide : true}
        ,{field: 'store_max_date', align: 'center',title: '库龄上限(天)',hide : true}
        ,{field: 'store_max_date', align: 'center',title: '库龄上限(天)',hide : true},
        {field: 'matnr', align: 'center',title: 'SKU', sort:true, width: 180}
    ];
    arrRemove(matCols, "field", "matnr");
    cols.push.apply(cols, matCols);
    cols.push(
        {fixed: 'right', title:'操作', align: 'center', toolbar: '#operate', width:150}
src/main/webapp/static/js/report/workIn.js
@@ -2,8 +2,13 @@
function getCol() {
    var cols = [
        {field: 'ioTime$', align: 'center', title: '入库日期', width: 200}
        ,{field: 'loc_no', align: 'center',title: '库位号'}
        ,{field: 'loc_no', align: 'center',title: '库位号'},
        {field: 'standby1', align: 'center',title: '客户po', hide: false},
        {field: 'standby3', align: 'center',title: '客户sku', hide: false},
    ];
    arrRemove(detlCols, "field", "orderNo")
    arrRemove(detlCols, "field", "standby1")
    arrRemove(detlCols, "field", "standby3")
    cols.push.apply(cols, detlCols);
    return cols;
}
src/main/webapp/static/js/report/workOut.js
@@ -4,8 +4,13 @@
        {field: 'ioTime$', align: 'center', title: '出库日期', width: 200}
        ,{field: 'loc_no', align: 'center',title: '库位号'}
        ,{field: 'crn_str_time', align: 'center',title: '堆垛机启动时间'}
        ,{field: 'crn_end_time', align: 'center',title: '堆垛机停止时间'}
        ,{field: 'crn_end_time', align: 'center',title: '堆垛机停止时间'},
        {field: 'standby1', align: 'center',title: '客户po', hide: false},
        {field: 'standby3', align: 'center',title: '客户sku', hide: false},
    ];
    arrRemove(detlCols, "field", "orderNo")
    arrRemove(detlCols, "field", "standby1")
    arrRemove(detlCols, "field", "standby3")
    cols.push.apply(cols, detlCols);
    return cols;
}
src/main/webapp/views/mat/mat.html
@@ -86,9 +86,9 @@
                    <!-- 表格工具栏2 -->
                    <div id="search-box" class="layui-form toolbar"  style="padding-top: 5px">
                        <div class="layui-inline">
                            <label class="layui-form-label" style="padding: 8px 15px 8px 15px">商品编号:</label>
                            <label class="layui-form-label" style="padding: 8px 15px 8px 15px">SKU:</label>
                            <div class="layui-input-inline">
                                <input name="matnr" class="layui-input" placeholder="输入商品编号"/>
                                <input name="matnr" class="layui-input" placeholder="SKU"/>
                            </div>
                        </div>
                        <div class="layui-inline">
@@ -97,12 +97,12 @@
                                <input name="maktx" class="layui-input" placeholder="输入商品名称"/>
                            </div>
                        </div>
                        <div class="layui-inline">
                            <label class="layui-form-label" style="padding: 8px 15px 8px 15px">商品规格:</label>
                            <div class="layui-input-inline">
                                <input name="specs" class="layui-input" placeholder="输入商品规格"/>
                            </div>
                        </div>
<!--                        <div class="layui-inline">-->
<!--                            <label class="layui-form-label" style="padding: 8px 15px 8px 15px">商品规格:</label>-->
<!--                            <div class="layui-input-inline">-->
<!--                                <input name="specs" class="layui-input" placeholder="输入商品规格"/>-->
<!--                            </div>-->
<!--                        </div>-->
                        <div class="layui-inline">&emsp;
                            <button class="layui-btn icon-btn" lay-filter="search" lay-submit>
                                <i class="layui-icon">&#xe615;</i>搜索
src/main/webapp/views/pakStore/locDetlCheckQuery.html
@@ -73,7 +73,7 @@
        </div>
        <div class="layui-inline">
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="matnr" placeholder="SKU"  autocomplete="off">
                <input class="layui-input" type="text" name="standby3" placeholder="SKU"  autocomplete="off">
            </div>
        </div>
        <div class="layui-inline">
src/main/webapp/views/report/viewWorkIn.html
@@ -26,12 +26,12 @@
    </div>
    <div class="layui-inline">
        <div class="layui-input-inline">
            <input class="layui-input" type="text" name="matnr" placeholder="品号" autocomplete="off">
            <input class="layui-input" type="text" name="standby3" placeholder="SKU" autocomplete="off">
        </div>
    </div>
    <div class="layui-inline">
        <div class="layui-input-inline">
            <input class="layui-input" type="text" name="specs" placeholder="规格" autocomplete="off">
            <input class="layui-input" type="text" name="standby1" placeholder="PO" autocomplete="off">
        </div>
    </div>
    <div class="layui-inline">
@@ -39,11 +39,11 @@
            <input class="layui-input" type="text" name="zpallet" placeholder="托盘码" autocomplete="off">
        </div>
    </div>
    <div class="layui-inline">
        <div class="layui-input-inline">
            <input class="layui-input" type="text" name="batch" placeholder="货品特征" autocomplete="off">
        </div>
    </div>
<!--    <div class="layui-inline">-->
<!--        <div class="layui-input-inline">-->
<!--            <input class="layui-input" type="text" name="batch" placeholder="货品特征" autocomplete="off">-->
<!--        </div>-->
<!--    </div>-->
    <div class="layui-inline">
        <div class="layui-input-inline">
            <input class="layui-input" type="text" name="anfme" placeholder="数量" autocomplete="off">
src/main/webapp/views/report/viewWorkOut.html
@@ -26,7 +26,7 @@
    </div>
    <div class="layui-inline">
        <div class="layui-input-inline">
            <input class="layui-input" type="text" name="matnr" placeholder="SKU" autocomplete="off">
            <input class="layui-input" type="text" name="standby3" placeholder="SKU" autocomplete="off">
        </div>
    </div>
    <div class="layui-inline">