From 391ea14026d1fe6417d4ce88ebedc6654b6519ad Mon Sep 17 00:00:00 2001 From: 王佳豪 <g675230687@126.com> Date: 星期二, 01 六月 2021 13:03:05 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/htwms' into htwms --- src/main/webapp/static/js/common.js | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/src/main/webapp/static/js/common.js b/src/main/webapp/static/js/common.js index 2681c52..25d7913 100644 --- a/src/main/webapp/static/js/common.js +++ b/src/main/webapp/static/js/common.js @@ -56,6 +56,14 @@ }); } +// 娓呴櫎琛ㄥ崟 +function clearFormVal(el) { + $(':input', el) + .val('') + .removeAttr('checked') + .removeAttr('selected'); +} + // 鏉冮檺 function limit(child){ if (child == null){ @@ -198,3 +206,18 @@ ,{field: 'weight', align: 'center',title: '閲嶉噺', hide: true} ,{field: 'zpallet', align: 'center',title: '鎵樼洏鐮�'} ] + + +var popupRight; + +function RequestParameter() { + var url = window.location.search; //鑾峰彇url涓�"?"绗﹀悗鐨勫瓧涓� + var theRequest = new Object(); + if (url.indexOf("?") != -1) { + var str = url.substr(1); + var strs = str.split("&"); + for (var i = 0; i < strs.length; i++) { + theRequest[strs[i].split("=")[0]] = (strs[i].split("=")[1]); + } + } +} \ No newline at end of file -- Gitblit v1.9.1