| | |
| | | }); |
| | | } |
| | | |
| | | // 清除表单 |
| | | function clearFormVal(el) { |
| | | $(':input', el) |
| | | .val('') |
| | | .removeAttr('checked') |
| | | .removeAttr('selected'); |
| | | } |
| | | |
| | | // 权限 |
| | | function limit(child){ |
| | | if (child == null){ |
| | |
| | | ,{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]); |
| | | } |
| | | } |
| | | } |