自动化立体仓库 - WMS系统
#
luxiaotao1123
2020-06-27 59448c6902359f36001d9c49b52941e139d8db28
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, target-densitydpi=high-dpi, initial-scale=1.0, user-scalable=no"/>
    <title>物料提取</title>
    <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
    <script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
    <script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
    <script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script>
    <script type="text/javascript" src="../../static/js/handlebars/handlebars-v4.5.3.js"></script>
    <style>
 
        .form-box {
            padding: 15px 5px 5px 5px;
            font-size: 12px;
            text-align: center;
        }
 
        .form-item {
            margin-bottom: 10px;
        }
 
        .form-box span {
            font-size: 12px;
            display: inline-block;
            text-align: right;
            width: 50px;
        }
        .form-box input {
            width: 120px;
            margin-left: 10px;
            padding-left: 5px;
            height: 20px;
        }
        .form-box button {
            padding: 5px 20px;
        }
    </style>
</head>
<body>
 
<div class="form-box">
    <div class="form-item">
        <span>物料编码</span>
        <input id="matNo" type="text" placeholder="扫码/输入">
    </div>
    <div class="form-item">
        <span>物料名称</span>
        <input type="text" disabled="disabled">
    </div>
    <div class="form-item">
        <span>物料描述</span>
        <input type="text" disabled="disabled">
    </div>
    <div class="form-item">
        <span>单位</span>
        <input type="text" disabled="disabled">
    </div>
    <div class="form-item">
        <span>数量</span>
        <input type="number" >
    </div>
    <button id="confirm">提取</button>
</div>
 
</body>
<script>
    var pageCurr;
    layui.use(['table','laydate', 'form'], function() {
        var table = layui.table;
        var $ = layui.jquery;
        var layer = layui.layer;
        var layDate = layui.laydate;
        var form = layui.form;
 
    });
 
    window.onload = function(){document.getElementById("matNo").focus();}
    $(document).on('click','#confirm', function () {
    })
 
    $('body').keydown(function () {
        if (event.keyCode === 13) {
            $("#confirm").click();
        }
    });
 
</script>
</html>