From ab746e04a079ba979f7caaa2535ffb57ffc9766f Mon Sep 17 00:00:00 2001 From: Junjie <fallin.jie@qq.com> Date: 星期五, 26 五月 2023 15:53:03 +0800 Subject: [PATCH] 地图切换楼层 --- src/main/webapp/static/js/common.js | 25 ++++++++++++++++++------- 1 files changed, 18 insertions(+), 7 deletions(-) diff --git a/src/main/webapp/static/js/common.js b/src/main/webapp/static/js/common.js index ff4c525..5839c02 100644 --- a/src/main/webapp/static/js/common.js +++ b/src/main/webapp/static/js/common.js @@ -181,12 +181,12 @@ } var matCols = [ - {field: 'matnr', align: 'center',title: '鍟嗗搧缂栧彿', width: 180} + {field: 'matnr', align: 'center',title: '鍟嗗搧缂栧彿', width: 290} // {field: 'id', align: 'center',title: 'ID'} // ,{field: 'uuid', align: 'center',title: '缂栧彿'} // ,{field: 'tagId$', align: 'center',title: '鎵�灞炲綊绫�'} ,{field: 'specs', align: 'center',title: '瑙勬牸', width: 200} - ,{field: 'maktx', align: 'center',title: '鍟嗗搧鍚嶇О'} + ,{field: 'maktx', align: 'center',title: '鍟嗗搧鍚嶇О', width: 150} // ,{field: 'name', align: 'center',title: '鍒悕'} ,{field: 'model', align: 'center',title: '浠g爜', hide: true} ,{field: 'color', align: 'center',title: '棰滆壊', hide: true} @@ -223,15 +223,16 @@ ,{field: 'storeMin$', align: 'center',title: '搴撳瓨涓嬮檺'} ,{field: 'storeMaxDate$', align: 'center',title: '搴撻緞涓婇檺(澶�)'} ,{field: 'inoutEveryday$', align: 'center',title: '楂橀', width: 60} + ,{field: 'matType$', align: 'center',title: '涓婃灦鍖哄煙', width: 90} ] var detlCols = [ - {field: 'matnr', align: 'center',title: '鍟嗗搧缂栧彿', sort:true} - ,{field: 'specs', align: 'center',title: '瑙勬牸'} - ,{field: 'maktx', align: 'center',title: '鍟嗗搧鍚嶇О', sort:true} - ,{field: 'orderNo', align: 'center',title: '鍗曟嵁缂栧彿', hide: false} - ,{field: 'batch', align: 'center',title: '鎵瑰彿', sort:true} + {field: 'matnr', align: 'center',title: '鍟嗗搧缂栧彿', sort:true, width: 290} + ,{field: 'specs', align: 'center',title: '瑙勬牸', width: 200} + ,{field: 'maktx', align: 'center',title: '鍟嗗搧鍚嶇О', sort:true, width: 150} + ,{field: 'orderNo', align: 'center',title: '鍗曟嵁缂栧彿', hide: true} + ,{field: 'batch', align: 'center',title: '鎵瑰彿', sort:true, hide: true} ,{field: 'anfme', align: 'center',title: '鏁伴噺'} ,{field: 'zpallet', align: 'center',title: '鎵樼洏鏉$爜'} @@ -263,3 +264,13 @@ ,{field: 'memo', align: 'center',title: '澶囨敞', hide: false} ] +function getQueryVariable(variable) +{ + var query = window.location.search.substring(1); + var vars = query.split("&"); + for (var i=0;i<vars.length;i++) { + var pair = vars[i].split("="); + if(pair[0] == variable){return pair[1];} + } + return(false); +} \ No newline at end of file -- Gitblit v1.9.1