自动化立体仓库 - WMS系统
#
luxiaotao1123
2020-06-27 59448c6902359f36001d9c49b52941e139d8db28
#
2个文件已修改
1个文件已添加
125 ■■■■■ 已修改文件
src/main/webapp/views/pda/comb.html 20 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/pda/login.html 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/pda/matQuery.html 91 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/pda/comb.html
@@ -51,6 +51,13 @@
            width: 70px;
        }
        /* layer */
        .layui-layer-title {
            font-size: 11px;
            height: 20px;
            line-height: 20px;
        }
        /* 主体 */
        .layui-table, .layui-table-view {
            margin: 0;
@@ -123,15 +130,18 @@
    });
    window.onload = function(){document.getElementById("code").focus();}
    function getMat() {
        matCodeLayerIdx = layer.open({
            type: 2,
            title: '提取物料',
            maxmin: true,
            area: [top.detailWidth, top.detailHeight],
            shadeClose: true,
            content: '../pakStore/matQuery.html',
            title: '物料',
            shade: [0.3,'#000'],
            area: ['90%', '90%'],
            content: 'matQuery.html',
            success: function(layero, index){
                $('.layui-layer-title').css('height', '20px').css('line-height', '20px').css('font-size', '12px').css('padding-left', '10px')
                $('.layui-layer-setwin').css("top", '2px').css('right', '3px')
            }
        });
    }
src/main/webapp/views/pda/login.html
@@ -12,6 +12,18 @@
            height: 100%;
            overflow: hidden;
        }
        body.login-bg {
            color: #777;
            height: 100%;
            background-image: linear-gradient(to right, #ff9569 0%, #e92758 100%);
            /*background-image: linear-gradient(-90deg, #29bdd9 0%, #276ace 100%);*/
            /*background: -webkit-linear-gradient(red, blue); !* Safari 5.1 - 6.0 *!;*/
            /*background-image: url("../static/image/login_bg.jpg");*/
            /*background-repeat: no-repeat;*/
            /*background-size: cover;*/
            /*background-position: top center;*/
        }
        #login-wrapper {
            box-sizing:border-box;
            background: #fff;
@@ -58,7 +70,7 @@
        }
    </style>
</head>
<body>
<body class="login-bg">
<div id="login-wrapper">
    <header>
src/main/webapp/views/pda/matQuery.html
New file
@@ -0,0 +1,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>