#
luxiaotao1123
2021-05-27 cb54d3d6086cebeae5e41a3675957b16ae005baa
#
2个文件已修改
18 ■■■■■ 已修改文件
src/main/webapp/views/pda/pakin.html 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/pda/stockCheck.html 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/pda/pakin.html
@@ -171,6 +171,7 @@
                if (res.code === 200) {
                    if (res.data != null) {
                        $('#node-ok').show();
                        $("#mat-btn").focus();
                    } else {
                        $('#node-ok').hide();
                    }
src/main/webapp/views/pda/stockCheck.html
@@ -50,6 +50,17 @@
            padding: 5px 20px;
            color: darkred;
        }
        /**绿色勾*/
        #node-ok {
            float: left;
            width: 15px;
            height: 15px;
            border-radius: 50%;
            margin-top: 13px;
            background-color: #2ac845;
            display: none;
        }
    </style>
</head>
<body>
@@ -58,6 +69,7 @@
    <div class="layui-input-inline" style="margin-top: 0px">
        <label class="layui-form-label">货位</label>
        <input class="layui-input" id="locNo" onkeyup="find(this)" placeholder="扫码 / 输入" autocomplete="off" style="width: 75%; height: 40px; margin-right: 0;">
        <span id="node-ok"></span>
    </div>
    <div style="margin: 5px 5px">
        <button id="replenish-btn" type="button" class="layui-btn layui-btn-normal" onclick="replenish()"><i class="layui-icon">+</i>补充</button>
@@ -150,6 +162,7 @@
     */
    function find(el){
        if (isEmpty(el.value)) {
            $('#node-ok').hide();
            return;
        }
        $.ajax({
@@ -164,6 +177,9 @@
                    if (res.data != null) {
                        locDetlData = [];
                        initTableData(res.data);
                        $('#node-ok').show();
                    } else {
                        $('#node-ok').hide();
                    }
                } else if (res.code === 403) {
                    top.location.href = baseUrl + "/pda";
@@ -289,6 +305,7 @@
    // 重置
    function reset() {
        $('#locNo').val("");
        $('#node-ok').hide();
        locDetlData = [];
        tableIns.reload({data: locDetlData});
    }