From 1ccbafd4845918b45cea28a834fd889e3ba4e0b6 Mon Sep 17 00:00:00 2001 From: Junjie <fallin.jie@qq.com> Date: 星期六, 03 六月 2023 11:15:17 +0800 Subject: [PATCH] 库位地图优化 --- src/main/webapp/static/js/common.js | 22 +++++++++++++++++----- 1 files changed, 17 insertions(+), 5 deletions(-) diff --git a/src/main/webapp/static/js/common.js b/src/main/webapp/static/js/common.js index fc8d3be..44076bf 100644 --- a/src/main/webapp/static/js/common.js +++ b/src/main/webapp/static/js/common.js @@ -228,11 +228,11 @@ ] 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: '鎵樼洏鏉$爜'} @@ -262,5 +262,17 @@ ,{field: 'check$', align: 'center',title: '瑕佹眰妫�楠�', hide: true} ,{field: 'danger$', align: 'center',title: '鍗遍櫓鍝�', hide: true} ,{field: 'memo', align: 'center',title: '澶囨敞', hide: false} + // ,{field: 'locType2$', align: 'center',title: '涓婃灦鍖哄煙', width: 90} + ,{field: 'matType$', align: 'center',title: '涓婃灦鍖哄煙'} ] +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