自动化立体仓库 - WMS系统
pang.jiabao
2025-04-15 b4227b5145943e067351a2a59ca34826b41d6fb7
src/main/webapp/static/js/report/workCountIn.js
@@ -2,9 +2,9 @@
function getCol() {
    var cols = [
        {field: 'oneday', align: 'center', title: '入库日期', width: 200}
        ,{field: 'matnr', align: 'center',title: '商品编号'}
        ,{field: 'maktx', align: 'center',title: '商品名称'}
        ,{field: 'anfme', align: 'center',title: '数量'}
        ,{field: 'matnr', align: 'center',title: 'Код товара'}
        ,{field: 'maktx', align: 'center',title: 'Наименование товара'}
        ,{field: 'anfme', align: 'center',title: 'Количество'}
    ];
    return cols;
@@ -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+"/";
            }
@@ -82,7 +83,7 @@
        var checkStatus = table.checkStatus(obj.config.id);
        switch(obj.event) {
            case 'exportData':
                layer.confirm('确定导出Excel吗', {shadeClose: true}, function(){
                layer.confirm('Подтвердить экспорт в Excel?', {shadeClose: true}, function(){
                    var titles=[];
                    var fields=[];
                    obj.config.cols[0].map(function (col) {