From 5a3e3d46cf09feacae5a56be0685fdda68f512d2 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@63.com> Date: 星期一, 09 八月 2021 08:01:27 +0800 Subject: [PATCH] # --- src/main/webapp/static/js/common.js | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/src/main/webapp/static/js/common.js b/src/main/webapp/static/js/common.js index 2681c52..f2e624c 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,16 @@ ,{field: 'weight', align: 'center',title: '閲嶉噺', hide: true} ,{field: 'zpallet', align: 'center',title: '鎵樼洏鐮�'} ] + + +var popupRight; + +function RequestParameter(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