#
luxiaotao1123
2021-03-23 46316be02efd767ad2dfb864158e942b9a67c382
src/main/webapp/views/pda/stockCheck.html
@@ -95,7 +95,7 @@
</div>
</body>
<script>
    window.onload = function(){document.getElementById("code").focus();}
    window.onload = function(){document.getElementById("locNo").focus();}
    var tableIns;
    var countLayer;
    layui.use(['table','laydate', 'form'], function() {
@@ -159,7 +159,7 @@
            }
        }
        tableIns.reload({data: matData});
        $("#comb-btn").focus();
        // $("#comb-btn").focus();
    }
@@ -170,14 +170,13 @@
        if (isEmpty(el.value)) {
            return;
        }
        var billNo = el.value.split(",")[0].split("=")[1];
        $.ajax({
            url: baseUrl + "/mobile/bill/query/auth",
            url: baseUrl + "/locDetl/queryDetl/auth",
            headers: {'token': localStorage.getItem('token')},
            data: {
                billNo: billNo
                uuid: el.value
            },
            method: 'POST',
            method: 'GET',
            success: function (res) {
                if (res.code === 200) {
                    if (res.data != null) {
@@ -324,8 +323,8 @@
            $("#comb-btn").focus();
            comb();
        } else if (key === 113) {
            $("#code").val("");
            $("#code").focus();
            $("#locNo").val("");
            $("#locNo").focus();
        }
    }
</script>