src/main/webapp/static/js/locMast/locMast.js
@@ -204,7 +204,8 @@ break; case "init": layer.prompt({title: '请输入口令,并重置库位', formType: 1, shadeClose: true}, function(pass, idx){ if (pass === "123456") { http.get(baseUrl+"/locMast/init/pwd", {pwd: pass}, function (res) { if (res.data) { layer.open({ type: 1, title: '初始化库位', @@ -220,6 +221,8 @@ layer.msg("口令错误"); } layer.close(idx); }) }); break; } @@ -430,6 +433,7 @@ if (res.code === 200){ layer.msg(res.msg); layer.closeAll(); tableReload(false); } else if (res.code === 403){ parent.location.href = "/"; }else {