自动化立体仓库 - WMS系统
#
tzsk
2025-07-30 bc20e7dc43b97367b7b70b678e71140a33846ff0
src/main/webapp/static/js/agvLocDetl/locDetl.js
@@ -55,6 +55,8 @@
    // cols.push.apply(cols, detlCols);
    cols.push({field: 'modiUser$', align: 'center',title: '修改人员',hide: true}
        ,{field: 'proddate$', align: 'center',title: '生产日期', hide:false}
        ,{field: 'deadline$', align: 'center',title: '到期日期', hide:false}
        ,{field: 'modiTime$', align: 'center',title: '修改时间'}
        ,{field: 'stockFreeze', align: 'center',title: '库存冻结', templet: '#stockFreezeTpl'}
    )
@@ -79,7 +81,8 @@
        page: true,
        limit: 20,
        where:{
          unreason: false
          unreason: false,
            expired: false
        },
        limits: [20, 30, 50, 100, 200, 500],
        even: true,
@@ -402,6 +405,29 @@
        method("add");
    });
    form.on('submit(expired)', function (data) {
        pageCurr = 1;
        tableIns.reload({
            where: {
                expired: true,
                unreason: false
            },
            page: {
                curr: pageCurr
            },
            done: function (res, curr, count) {
                if (res.code === 403) {
                    top.location.href = baseUrl+"/";
                }
                pageCurr=curr;
                limit(child);
            }
        });
    });
    // 数据修改动作
    form.on('submit(edit)', function () {
        method("update")
@@ -484,7 +510,8 @@
        tableIns.reload({
            where: {
                unreason: true
                unreason: true,
                expired:false
            },
            page: {
                curr: pageCurr
@@ -539,7 +566,8 @@
function tableReload(child) {
    var searchData = {
        unreason: false
        unreason: false,
        expired: false
    };
    $.each($('#search-box [name]').serializeArray(), function() {
        searchData[this.name] = this.value;