王佳豪
2021-06-01 391ea14026d1fe6417d4ce88ebedc6654b6519ad
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]);
        }
    }
}