自动化立体仓库 - WMS系统
#
18516761980
2022-02-15 a6367524f0ff7a99052adec769e078468e058d2e
#
5个文件已修改
24 ■■■■ 已修改文件
src/main/resources/mapper/LocDetlMapper.xml 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/js/common.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/js/locStatis/locStatis.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/js/wrkDetl/wrkDetl.js 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/locStatis/locStatis.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/LocDetlMapper.xml
@@ -90,7 +90,7 @@
        where loc_no=#{locNo}
    </select>
    <select id="getStockStatis" resultMap="BaseResultMap">
        select a.mat_name,a.mat_no,sum(a.qty) qty  from
        select a.mat_name,a.mat_no,a.supplier,sum(a.qty) qty  from
        (
        select
        ROW_NUMBER() over (order by c.appe_time,c.mat_no,c.loc_no) as row,
@@ -98,7 +98,7 @@
        from asr_loc_detl c
        ) a where a.row between ((#{pageNumber}-1)*#{pageSize}+1) and (#{pageNumber}*#{pageSize})
         <include refid="stockOutCondition"></include>
        group by a.mat_no,a.mat_name
        group by a.mat_no,a.mat_name,a.supplier
    </select>
    <select id="getStockStatisCount" resultType="integer">
        select
@@ -108,11 +108,11 @@
    <select id="getStockStatisExcel" resultMap="BaseResultMap">
     select
        ROW_NUMBER() over (order by a.mat_no, sum(a.qty) desc) as row
        , a.mat_no, a.mat_name
        , a.mat_no, a.mat_name,a.supplier
        , sum(a.qty) as qty
        from asr_loc_detl a
        where 1=1
        group by a.mat_no,a.mat_name
        group by a.mat_no,a.mat_name,a.supplier
    </select>
<!--    <select id="getStockSum" resultMap="BaseResultMap">-->
src/main/webapp/static/js/common.js
@@ -193,5 +193,10 @@
    ,{field: 'zpallet', align: 'center',title: '托盘条码'}
    // ,{field: 'bname', align: 'center',title: '库位名称'}
    ,{field: 'memo', align: 'center',title: '备注', hide: true}
    ,{field: 'weight', align: 'center', title: '每箱重量(KG)'}
    ,{field: 'str3', align: 'center', title: '客户名称'}
    ,{field: 'str4', align: 'center', title: '项目信息'}
    ,{field: 'str5$', align: 'center', title: '类别'}
    ,{field: 'str6', align: 'center', title: '每箱数量(PCS)'}
]
src/main/webapp/static/js/locStatis/locStatis.js
@@ -63,6 +63,7 @@
        cols: [[{field: 'qty', align: 'center', title: '数量', width: 120}
            , {field: 'matNo', align: 'center', title: '产品编码'}
            , {field: 'matName', align: 'center', title: '产品名称'}
            , {field: 'supplier', align: 'center', title: '批号'}
            ]],
        request: {
            pageName: 'curr',
src/main/webapp/static/js/wrkDetl/wrkDetl.js
@@ -7,8 +7,12 @@
    ];
    cols.push.apply(cols, detlCols);
    cols.push(
        {field: 'billNo', align: 'center',title: '单据编号'}
        ,{field: 'seqNo', align: 'center',title: '序号', width:80}
        {field: 'allQty', align: 'center',title: '总数量(PCS)'}
        ,{field: 'allWeight', align: 'center',title: '总重量(KG)'}
        ,{field: 'source', align: 'center',title: '来源'}
        ,{field: 'vendor', align: 'center',title: '供应商'}
        ,{field: 'billNo', align: 'center',title: '单据编号', hide:true}
        ,{field: 'seqNo', align: 'center',title: '序号', width:80, hide:true}
        ,{field: 'modiUser$', align: 'center',title: '修改人员', hide:true}
        ,{field: 'modiTime$', align: 'center',title: '修改时间', hide:true})
    return cols;
src/main/webapp/views/locStatis/locStatis.html
@@ -43,7 +43,7 @@
</div>
<script type="text/html" id="toolbar">
    <div class="layui-btn-container">
        <button class="layui-btn layui-btn-normal layui-btn-sm" id="refresh-sto" lay-event="syncStok" style="margin-left: 10px">上报库存到ERP</button>
<!--        <button class="layui-btn layui-btn-normal layui-btn-sm" id="refresh-sto" lay-event="syncStok" style="margin-left: 10px">上报库存到ERP</button>-->
        <button class="layui-btn layui-btn-primary layui-btn-sm" lay-event="exportAll" style="float: right">导出</button>
    </div>
</script>