自动化立体仓库 - WMS系统
whycq
2024-11-25 bcb19e8c93c3cabf0d8eb3ee34ed819b3c5a10ef
src/main/webapp/static/js/agvStoMan/stoQue.js
@@ -17,7 +17,7 @@
    tableIns = table.render({
        elem: '#agvStoQue',
        headers: {token: localStorage.getItem('token')},
        url: baseUrl+'/agvLocMast/list/auth',
        url: baseUrl+'/agv/locMast/list/auth',
        page: true,
        limit: 20,
        limits: [20, 30, 50, 100, 200, 500],
@@ -26,15 +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: 'qrCodeValue', align: 'center',title: '二维码值', sort:true}
            ,{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: '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 ";}
@@ -174,6 +178,7 @@
    // iframe物料详情
    function locDetlToLayer(val) {
        locNo = val;
        url = '/agv/locDetl/list/auth';
        layer.open({
            type: 2,
            title: '库存明细',
@@ -193,7 +198,7 @@
        tableIns1 = table.render({
            elem: '#locDetlByMap',
            headers: {token: localStorage.getItem('token')},
            url: baseUrl+'/agvLocDetl/list/auth',
            url: baseUrl+'/agv/locDetl/list/auth',
            page: true,
            limit: 5,
            skin: 'line',
@@ -212,7 +217,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: {