自动化立体仓库 - WMS系统
lty
2025-06-13 9d38f2354b3a7267a2486d937bb7d256fcb949c1
src/main/webapp/static/js/locDetl/locDetl.js
@@ -20,7 +20,8 @@
        ,{field: 'price', align: 'center',title: '进项税', hide: true}
        ,{field: 'units', align: 'center',title: '销项税', hide: true}
        ,{field: 'memo', align: 'center',title: '备注', hide: true}
        ,{field: 'proddate$', align: 'center',title: '生产日期', hide:false}
        ,{field: 'deadline$', align: 'center',title: '到期日期', hide:false}
    ];
    // cols.push.apply(cols, detlCols);
@@ -46,7 +47,8 @@
        page: true,
        limit: 20,
        where:{
          unreason: false
          unreason: false,
            expired: false
        },
        limits: [20, 30, 50, 100, 200, 500],
        even: true,
@@ -479,6 +481,28 @@
        });
    });
    form.on('submit(expired)', function (data) {
        pageCurr = 1;
        tableIns.reload({
            where: {
                expired: true
            },
            page: {
                curr: pageCurr
            },
            done: function (res, curr, count) {
                if (res.code === 403) {
                    top.location.href = baseUrl+"/";
                }
                pageCurr=curr;
                limit(child);
            }
        });
    });
    // 时间选择器
    layDate.render({
        elem: '#modiTime\\$',
@@ -512,7 +536,8 @@
function tableReload(child) {
    var searchData = {
        unreason: false
        unreason: false,
        expired: false
    };
    $.each($('#search-box [name]').serializeArray(), function() {
        searchData[this.name] = this.value;