#
luxiaotao1123
2021-12-07 a955772ea0908d6747035661e9bcffb7fb4ba961
src/main/webapp/static/js/diffVal/diffVal.js
@@ -22,6 +22,7 @@
        cols: [[
            {type: 'checkbox'}
            ,{field: 'matnr', align: 'center',title: '物料编号'}
            ,{field: 'maktx', align: 'center',title: '物料名称'}
            ,{field: 'stockQty', align: 'center',title: 'WMS库存'}
            ,{field: 'erpQty', align: 'center',title: 'ERP库存'}
            ,{field: 'val', align: 'center',title: '差异值', style: 'font-weight: bold;color: blue'}
@@ -46,6 +47,9 @@
            statusCode: 200
        },
        done: function(res, curr, count) {
            // console.log(res.data);
            // console.log(res.data.total);
            console.log(res.data.records);
            if (res.code === 403) {
                top.location.href = baseUrl+"/";
            }
@@ -228,6 +232,14 @@
    }
    layDateRender();
    form.on("select(chooseItem)", function (data) {
        console.log(data);
        tableIns.reload({
            where: { includeZero: data.value}
        });
    })
});