自动化立体仓库 - WMS系统
#
tzsk
2025-08-04 a881d98d2eee345af7454fd943fccbcc5c8bcb6f
src/main/webapp/static/js/locDetl/locDetl.js
@@ -9,8 +9,8 @@
        ,{field: 'orderNo', align: 'center',title: '单据编号', hide: false}
        ,{field: 'batch', align: 'center',title: '序列码', sort:true}
        ,{field: 'anfme', align: 'center',title: '数量'}
        ,{field: 'units', align: 'center',title: '销售订单号', hide: true}
        ,{field: 'units', align: 'center',title: '销售订单行号', hide: true}
        ,{field: 'threeCode', align: 'center',title: '销售订单号', hide: true}
        ,{field: 'deadTime', align: 'center',title: '销售订单行号', hide: true}
        ,{field: 'zpallet', align: 'center',title: '托盘条码'}
        ,{field: 'specs', align: 'center',title: '规格型号', hide: true}
        ,{field: 'model', align: 'center',title: '通用型号', hide: true}
@@ -20,6 +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}
    ];
@@ -46,7 +48,8 @@
        page: true,
        limit: 20,
        where:{
          unreason: false
            unreason: false,
            expired: false
        },
        limits: [20, 30, 50, 100, 200, 500],
        even: true,
@@ -192,6 +195,17 @@
                            layer.close(loadIndex);
                            layer.closeAll();
                            if (res.code === 200) {
                                res.data.forEach((item,index) => {
                                    if (item[0] != null) {
                                        item[0] = "'" + item[0];
                                    }
                                    if (item[1] != null) {
                                        item[1] = "'" + item[1];
                                    }
                                    if (item[2] != null) {
                                        item[2] = "'" + item[2];
                                    }
                                })
                                table.exportFile(titles,res.data,'xls');
                            } else if (res.code === 403) {
                                top.location.href = baseUrl+"/";
@@ -451,7 +465,30 @@
        tableIns.reload({
            where: {
                unreason: true
                unreason: true,
                expired:false
            },
            page: {
                curr: pageCurr
            },
            done: function (res, curr, count) {
                if (res.code === 403) {
                    top.location.href = baseUrl+"/";
                }
                pageCurr=curr;
                limit(child);
            }
        });
    });
    form.on('submit(expired)', function (data) {
        pageCurr = 1;
        tableIns.reload({
            where: {
                expired: true,
                unreason:false
            },
            page: {
                curr: pageCurr
@@ -501,7 +538,8 @@
function tableReload(child) {
    var searchData = {
        unreason: false
        unreason: false,
        expired: false
    };
    $.each($('#search-box [name]').serializeArray(), function() {
        searchData[this.name] = this.value;