自动化立体仓库 - WMS系统
#
野心家
2025-04-28 7d86c8c3edfe2ee2ee83d468c1502ed2efe21697
src/main/webapp/static/js/cool.js
@@ -15,7 +15,9 @@
 */
function autoShow(id) {
    var cac = document.getElementById(id).parentNode;
    console.log(cac);
    var cacw = cac.getElementsByClassName("cool-auto-complete-window")[0];
    console.log(cacw);
    if (cacw.style.display === "none" || cacw.style.display === ""){
        cacw.style.display = "block";
        var cacwi = cacw.getElementsByClassName("cool-auto-complete-window-input")[0];
@@ -53,7 +55,7 @@
                }
                selectDom.style.display='block';
            } else if (res.code === 403){
                top.location.href = baseUrl;
                top.location.href = baseUrl+"/";
            } else {
                layer.msg(res.msg)
            }
@@ -106,6 +108,14 @@
    return str;
}
// 表单值清空
function clearFormVal(el) {
    $(':input', el)
        .val('')
        .removeAttr('checked')
        .removeAttr('selected');
}
var banMsg;
var tips;
// 主键校验
@@ -126,7 +136,7 @@
                layer.close(tips);
                banMsg = null;
            } else if (res.code === 403) {
                top.location.href = baseUrl;
                top.location.href = baseUrl+"/";
            } else if (res.code === 407) {
                banMsg = res.data + "不可用";
                tips = layer.tips(