自动化立体仓库 - WMS系统
#
luxiaotao1123
2022-12-07 5cf5e532ffe25e098e9bbcc345b27427e85fc8ae
src/main/webapp/static/js/report/workCountIn.js
@@ -2,8 +2,8 @@
function getCol() {
    var cols = [
        {field: 'oneday', align: 'center', title: '入库日期', width: 200}
        ,{field: 'matnr', align: 'center',title: '商品编号'}
        ,{field: 'maktx', align: 'center',title: '商品名称'}
        ,{field: 'matnr', align: 'center',title: '单据号'}
        ,{field: 'maktx', align: 'center',title: '物料号'}
        ,{field: 'anfme', align: 'center',title: '数量'}
    ];
@@ -34,18 +34,19 @@
            limitName: 'pageSize'
        },
        parseData: function (res) {
            console.log(res);
            $('#countNum').text(res.data.sum + '个');
            return {
                'code': res.code,
                'msg': res.msg,
                'count': res.data.total,
                'data': res.data.records
                'count': res.data.page.total,
                'data': res.data.page.records
            }
        },
        response: {
            statusCode: 200
        },
        done: function(res, curr, count) {
            if (res.code === 403) {
                top.location.href = baseUrl+"/";
            }