自动化立体仓库 - WMS系统
1
zhangc
2025-03-24 002f10f7d38dc6791d26a69d061e6b17f9980fd0
src/main/webapp/static/js/agvStoMan/stoQue.js
@@ -26,17 +26,19 @@
        cellMinWidth: 50,
        cols: [[
            {type: 'checkbox'}
            ,{field: 'locNo', align: 'center',title: '库位号'}
            ,{field: 'locSts$', align: 'center',title: '库位状态', width: 180, style: 'color: #8E2323'}
            ,{field: 'locNo', align: 'center',width: 180,title: '库位号'}
            ,{field: 'locSts$', align: 'center',title: '库位状态', width: 150, style: 'color: #8E2323'}
            // ,{field: 'whsType$', align: 'center',title: '库位类型'}
            //,{field: 'crnNo', align: 'center',title: '堆垛机号'}
            //,{field: 'qrCodeValue', align: 'center',title: '二维码值', sort:true}
            ,{field: 'row1', align: 'center',title: '排'}
            ,{field: 'bay1', align: 'center',title: '列'}
            ,{field: 'lev1', align: 'center',title: '层'}
            ,{field: 'row1', align: 'center',width: 60,title: '排'}
            ,{field: 'bay1', align: 'center',width: 60,title: '列'}
            ,{field: 'lev1', align: 'center',width: 60,title: '层'}
            ,{field: 'floor', align: 'center',title: '楼', sort:true}
            ,{field: 'barcode', align: 'center',title: '容器码', sort:true}
            ,{field: 'barcode', align: 'center',title: '容器类型', sort:true}
            ,{field: 'barcode', align: 'center',title: '货架码', sort:true}
            ,{field: 'locType1$', align: 'center',title: '库位类型', sort:true}
            ,{field: 'locType2', align: 'center',title: '货架类型', sort:true}
            ,{field: 'pltType', align: 'center',title: 'erp库位'}
            ,{field: 'fullPlt', align: 'center',title: '满板', templet:function(row){
                    var html = "<input value='fullPlt' type='checkbox' lay-skin='primary' lay-filter='tableCheckbox' table-index='"+row.LAY_TABLE_INDEX+"'";
                    if(row.fullPlt === 'Y'){html += " checked ";}
@@ -115,6 +117,7 @@
                break;
            case 'exportData':
                layer.confirm('确定导出Excel吗', {shadeClose: true}, function(){
                    layer.load(2, {time: 600*1000});
                    var titles=[];
                    var fields=[];
                    obj.config.cols[0].map(function (col) {
@@ -162,7 +165,7 @@
            case 'locDetl':
                // locDetl(data.locNo);
                if (data.locSts.trim() === ''
                    || data.locSts.trim() === 'S'
                        //|| data.locSts.trim() === 'S'
                    || data.locSts.trim() === 'D'
                    || data.locSts.trim() === 'O')  {
                    layer.msg("此库位的状态不存在物料");
@@ -215,7 +218,7 @@
                ,{field: 'werks', align: 'center',title: '工厂'}
                ,{field: 'anfme', align: 'center',title: '数量'}
                ,{field: 'altme', align: 'center',title: '单位'}
                ,{field: 'zpallet', align: 'center',title: '托盘条码'}
                ,{field: 'zpallet', align: 'center',title: '货架条码'}
                ,{field: 'bname', align: 'center',title: '用户ID'}
            ]],
            request: {