自动化立体仓库 - WMS系统
lty
2025-06-13 9d38f2354b3a7267a2486d937bb7d256fcb949c1
src/main/webapp/static/js/agvLocDetl/locDetl.js
@@ -57,6 +57,8 @@
    cols.push({field: 'modiUser$', align: 'center',title: '修改人员',hide: true}
        ,{field: 'modiTime$', align: 'center',title: '修改时间'}
        ,{field: 'stockFreeze', align: 'center',title: '库存冻结', templet: '#stockFreezeTpl'}
        ,{field: 'proddate$', align: 'center',title: '生产日期', hide:false}
        ,{field: 'deadline$', align: 'center',title: '到期日期', hide:false}
    )
    return cols;
}
@@ -79,7 +81,8 @@
        page: true,
        limit: 20,
        where:{
          unreason: false
            unreason: false,
            expired: false
        },
        limits: [20, 30, 50, 100, 200, 500],
        even: true,
@@ -478,6 +481,28 @@
        tableReload(false);
    });
    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);
            }
        });
    });
    //查看异常数据
    form.on('submit(unreason)', function (data) {
        pageCurr = 1;
@@ -539,7 +564,8 @@
function tableReload(child) {
    var searchData = {
        unreason: false
        unreason: false,
        expired: false
    };
    $.each($('#search-box [name]').serializeArray(), function() {
        searchData[this.name] = this.value;