| | |
| | | <html lang="en"> |
| | | <head> |
| | | <meta charset="UTF-8"> |
| | | <title>WMS管理系统 - 登录</title> |
| | | <title>项目管理系统 - 登录</title> |
| | | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| | | <meta http-equiv="Access-Control-Allow-Origin" content="*"> |
| | | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> |
| | |
| | | <div id="item-img" class="img-1"></div> |
| | | <div class="desc"> |
| | | <p> |
| | | Warehouse Management System、通过对仓库的分区管理、采用货架、货位的应用、让仓库管理更规范、人员拣货效率更高。 |
| | | Project Management System<br/><br/>一个成功的项目,通常有三个要素:<br/>时间要素──完成的时间要“快”。<br/>成本要素──完成的成本要“便宜”。<br/>效果要素──完成后的表现要“好”。 |
| | | </p> |
| | | </div> |
| | | </div> |
| | |
| | | <div class="layui-form login-form"> |
| | | <form class="layui-form" action=""> |
| | | <div class="layui-form-item logo-title"> |
| | | <h1>WMS系统登录</h1> |
| | | <h1>项目管理系统 登录</h1> |
| | | </div> |
| | | <div class="layui-form-item"> |
| | | <label class="layui-icon layui-icon-username"></label> |
| | |
| | | <label class="layui-icon layui-icon-password"></label> |
| | | <input type="password" id="password" name="password" placeholder="请输入登录密码" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | <div id="code-box" class="layui-form-item"> |
| | | <label class="layui-icon layui-icon-vercode"></label> |
| | | <input type="text" id="code" name="code" placeholder="图形验证码" autocomplete="off" class="layui-input verification captcha"> |
| | | <div class="captcha-img" style="margin-right: 5px"> |
| | | <img id="codeImg" title="看不清?点击换一张。"> |
| | | </div> |
| | | </div> |
| | | <!-- <div id="code-box" class="layui-form-item">--> |
| | | <!-- <label class="layui-icon layui-icon-vercode"></label>--> |
| | | <!-- <input type="text" id="code" name="code" placeholder="图形验证码" autocomplete="off" class="layui-input verification captcha">--> |
| | | <!-- <div class="captcha-img" style="margin-right: 5px">--> |
| | | <!-- <img id="codeImg" title="看不清?点击换一张。">--> |
| | | <!-- </div>--> |
| | | <!-- </div>--> |
| | | <div class="layui-form-item"> |
| | | <input type="checkbox" id="rememberPwd" value="true" lay-skin="primary" title="记住密码"> |
| | | </div> |
| | |
| | | notice.msg('密码不能为空', {icon: 2}); |
| | | return false; |
| | | } |
| | | if (data.code === '' && codeSwitch === 'Y') { |
| | | $("#code").focus(); |
| | | notice.msg('验证码不能为空', {icon: 2}); |
| | | return false; |
| | | } |
| | | if (sessionStorage.getItem("code").toUpperCase() !== data.code.toUpperCase() && codeSwitch==='Y'){ |
| | | $("#code").focus(); |
| | | notice.msg('验证码错误', {icon: 2}); |
| | | return false; |
| | | } |
| | | // if (data.code === '' && codeSwitch === 'Y') { |
| | | // $("#code").focus(); |
| | | // notice.msg('验证码不能为空', {icon: 2}); |
| | | // return false; |
| | | // } |
| | | // if (sessionStorage.getItem("code").toUpperCase() !== data.code.toUpperCase() && codeSwitch==='Y'){ |
| | | // $("#code").focus(); |
| | | // notice.msg('验证码错误', {icon: 2}); |
| | | // return false; |
| | | // } |
| | | var user = { |
| | | username: data.username, |
| | | password: hex_md5(data.password) |