自动化立体仓库 - WMS系统
#
luxiaotao1123
2020-06-18 fe588de6c86e62505bc40e9af153af19e494210c
src/main/webapp/static/js/pakStore/stockAdjust.js
@@ -1,5 +1,7 @@
var initCountVal = 0;
var initAnfmeVal = "-";
var matCodeData = [];
var currLocNo;
layui.use(['table','laydate', 'form'], function() {
    var table = layui.table;
    var $ = layui.jquery;
@@ -78,17 +80,21 @@
                    $(".retrieve").show();
                    $("#locMsg").html(locNo + " ,库位状态:" + data.locType$);
                    $('.not-retrieve').hide();
                    currLocNo = locNo;
                } else {
                    layer.msg("请输入有效库位号");
                    $('.not-retrieve').show();
                    $("#locMsg").html("");
                    $(".retrieve").hide();
                    currLocNo = null;
                    inputTip($("#searchLocNo"));
                }
            })
        } else {
            $('.not-retrieve').show();
            $("#locMsg").html("");
            $(".retrieve").hide();
            currLocNo = null;
        }
    }
})
@@ -96,6 +102,11 @@
// 提取物料
var matCodeLayerIdx;
function getMat() {
    if (isEmpty(currLocNo)) {
        layer.msg("请先检索库位")
        inputTip($("#searchLocNo"));
        return;
    }
    matCodeLayerIdx = layer.open({
        type: 2,
        title: '提取物料',
@@ -113,5 +124,5 @@
    el.css("border-color", "red");
    setTimeout(function () {
        el.css("border-color", "#b8b8b8");
    }, 2000);
    }, 1000);
}