自动化立体仓库 - WMS系统
#
luxiaotao1123
2020-07-10 c4a55e708109402835cb00991eacab9e97c32d5e
#
2个文件已修改
46 ■■■■ 已修改文件
src/main/webapp/views/pdaCe/index.html 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/pdaCe/login.html 29 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/pdaCe/index.html
@@ -6,9 +6,11 @@
    <title>中扬物流</title>
    <script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
    <style>
        * {
            font-size: 12px;
        }
        html {
            background-color: #fff;
        }
        .mat-msg {
@@ -110,6 +112,7 @@
    </style>
</head>
<body>
<button onclick="help()" style="padding: 0 3px; position: absolute; top: 0%; right: 0%">?</button>
<div>
    <span>条码</span>
    <input type="text" id="code">
@@ -183,7 +186,7 @@
    matDetail.style.display = 'none';
    var initMatCount = 1;
    // window.onload = function(){code.focus();}
    window.onload = function(){matMsg.focus();}
    // 查询物流
    function find(el) {
@@ -205,9 +208,9 @@
                    matName.value = res.data.matName;
                    str1.value = res.data.str1;
                    count.focus();
                    // count.focus();
                    count.value = initMatCount;
                    // confirmBtn.focus();
                    confirmBtn.focus();
                } else {
                    matMsg.style.display = 'block';
                    btnCon.style.display = 'block';
@@ -502,5 +505,11 @@
    //         count: 1
    //     })
    // }, 200)
    function help() {
        window.alert("① 按F1输入条码\n" +
            "② 按F2输入物料号,按ENTER查询,选择数量后提取\n" +
            "③ 按F3开始组托\n" +
            "其它:按F5刷新页面");
    }
</script>
</html>
src/main/webapp/views/pdaCe/login.html
@@ -6,6 +6,17 @@
    <title>系统登录</title>
    <script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
    <style>
        html {
            background-color: #fff;
        }
        body {
            text-align: center;
            padding: 10px 30px;
        }
        .login-form {
            text-align: left;
        }
        .login-form input {
            display: block;
        }
@@ -15,18 +26,18 @@
    </style>
</head>
<body>
    <h1>中扬物流</h1>
    <h2>中扬物流</h2>
    <div class="login-form">
        <div>
            <span>账号</span>
            <input type="text" id="mobile" value="super">
        </div>
        <div>
        <div style="margin-top: 5px">
            <span>密码</span>
            <input type="password" id="password" value="xltys1995">
        </div>
        <div>
            <button id="login" onclick="login()">登录</button>
        <div style="margin-top: 8px;height: 20px;">
            <button id="login" onclick="login()" style="padding: 5px 3px 0 3px">登录</button>
        </div>
    </div>
@@ -34,7 +45,7 @@
<script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="../../static/js/tools/md5.js"></script>
<script type="text/javascript">
    document.onkeydown = function (e) {
    document.onkeyup = function (e) {
        if (window.event)//如果window.event对象存在,就以此事件对象为准
            e = window.event;
        var code = e.charCode || e.keyCode;
@@ -42,6 +53,14 @@
            login()
        }
    }
    document.onkeydown = function (e) {
        if (window.event)//如果window.event对象存在,就以此事件对象为准
            e = window.event;
        var code = e.charCode || e.keyCode;
        if (code === 13) {
            document.getElementById("login");
        }
    }
    function login(){
        httpRequest({
            httpUrl: baseUrl+"/login.action",