自动化立体仓库 - WMS系统
#
luxiaotao1123
2020-06-12 946e956bb8b13fa63d77359fc667e222cd5bc67e
#
3个文件已修改
34 ■■■■■ 已修改文件
src/main/webapp/static/js/locMast/locMast.js 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/locMast/locMast.html 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/pakStore/emptyIn.html 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/js/locMast/locMast.js
@@ -201,6 +201,26 @@
                    });
                });
                break;
            case "init":
                layer.prompt({title: '请输入口令,并重置库位', formType: 1,   shadeClose: true}, function(pass, idx){
                    if (pass === "123456") {
                        layer.open({
                            type: 1,
                            title: '初始化库位',
                            maxmin: true,
                            shadeClose: true,
                            content: $("#resetLocDiv"),
                            success: function (layero, index) {
                            }
                        })
                    } else {
                        layer.msg("口令错误");
                    }
                    layer.close(idx);
                    doSwitch(0, pass); // 停止wcs系统
                });
                break;
        }
    });
src/main/webapp/views/locMast/locMast.html
@@ -9,6 +9,11 @@
    <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="../../static/css/cool.css" media="all">
    <link rel="stylesheet" href="../../static/css/common.css" media="all">
    <style>
        #btn-init {
            display: none;
        }
    </style>
</head>
<body>
@@ -61,6 +66,7 @@
        <button class="layui-btn layui-btn-sm" id="btn-add" lay-event="addData">新增</button>
        <!--<button class="layui-btn layui-btn-sm" id="btn-refresh" lay-event="refreshData">刷新</button>-->
        <button class="layui-btn layui-btn-sm" id="btn-delete" lay-event="deleteData">删除</button>
        <button class="layui-btn layui-btn-primary" id="btn-init" lay-event="init">初始化</button>
        <button class="layui-btn layui-btn-primary layui-btn-sm" id="btn-export" lay-event="exportData">导出</button>
    </div>
</script>
@@ -77,6 +83,10 @@
<script type="text/javascript" src="../../static/js/locMast/locMast.js" charset="utf-8"></script>
<iframe id="detail-iframe" scrolling="auto" style="display:none;"></iframe>
<!-- 重置库位弹窗 -->
<div id="resetLocDiv">
    <h1>Hello </h1>
</div>
</body>
</html>
src/main/webapp/views/pakStore/emptyIn.html
@@ -14,6 +14,10 @@
</head>
<body>
<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>