自动化立体仓库 - WMS系统
zhangc
2025-02-14 7bfa9060b502cb47a02b0ed830bc333141f9f50d
src/main/webapp/static/js/locRule/locRule.js
@@ -20,15 +20,16 @@
        toolbar: '#toolbar',
        cellMinWidth: 50,
        height: 'full-120',
        where:{cstmr : 0},
        cols: [[
            {type: 'checkbox'}
            // ,{field: 'id', align: 'center',title: 'ID'}
            ,{field: 'matnr', align: 'center',title: '商品编号'}
            ,{field: 'specs', align: 'center',title: '规格', hide: true}
            ,{field: 'model', align: 'center',title: '型号', hide: true}
            ,{field: 'model', align: 'center',title: '通用型号', hide: true}
            ,{field: 'cstmr', align: 'center',title: '客户', hide: true}
            ,{field: 'batch', align: 'center',title: '批号'}
            ,{field: 'other', align: 'center',title: '其他', hide: true}
            ,{field: 'other', align: 'center',title: '库区'}
            ,{field: 'rowBeg', align: 'center',title: '开始排'}
            ,{field: 'rowEnd', align: 'center',title: '结束排'}
            ,{field: 'bayBeg', align: 'center',title: '开始列'}
@@ -103,6 +104,7 @@
               break;
            case 'exportData':
                admin.confirm('确定导出Excel吗', {shadeClose: true}, function(){
                    layer.load(2, {time: 600*1000});
                    var titles=[];
                    var fields=[];
                    obj.config.cols[0].map(function (col) {
@@ -166,6 +168,7 @@
                layDateRender(mData);
                form.val('detail', mData);
                form.on('submit(editSubmit)', function (data) {
                    data.field.cstmr = 0;
                    var loadIndex = layer.load(2);
                    $.ajax({
                        url: baseUrl+"/locRule/"+(mData?'update':'add')+"/auth",