自动化立体仓库 - WMS系统
#
luxiaotao1123
2020-06-18 fac80878ebff86d4cfb548da53e20ef1e2831cea
#
3个文件已修改
21 ■■■■ 已修改文件
src/main/webapp/static/js/pakStore/stockAdjust.js 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/pakStore/matQuery.html 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/pakStore/stockAdjust.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/js/pakStore/stockAdjust.js
@@ -30,6 +30,11 @@
    // 检索事件
    form.on('submit(search)', function (data) {
        if (data.field.loc_no === "") {
            inputTip($("#searchLocNo"));
            layer.msg("请输入库位号");
            return;
        }
        http.post(baseUrl + "/locDetl/list/auth", {loc_no: data.field.loc_no,limit: 1000}, function (res) {
            matCodeData = [];
            let data = res.data.records;
@@ -47,7 +52,9 @@
    // 重置事件
    form.on('submit(reset)', function (data) {
        clearFormVal($('#search-box'));
        matCodeData = [];
        tableReload();
    });
    function tableReload() {
@@ -71,3 +78,11 @@
        }
    });
}
// 搜索框空值提示
function inputTip(el) {
    el.css("border-color", "red");
    setTimeout(function () {
        el.css("border-color", "#b8b8b8");
    }, 2000);
}
src/main/webapp/views/pakStore/matQuery.html
@@ -119,8 +119,6 @@
                    for (var i=0;i<data.length;i++){
                        data[i]["count"] = parent.initCountVal;
                    }
                    parent.matCodeData.push.apply(parent.matCodeData, data);
                    parent.tableIns.reload({data: parent.matCodeData});
                    parent.layer.close(parent.matCodeLayerIdx);
src/main/webapp/views/pakStore/stockAdjust.html
@@ -74,7 +74,7 @@
<div id="search-box" class="layui-form layui-card-header">
    <div class="layui-inline">
        <div class="layui-input-inline">
            <input class="layui-input" type="text" name="loc_no" placeholder="库位号" autocomplete="off">
            <input id="searchLocNo" class="layui-input" type="text" name="loc_no" placeholder="库位号" autocomplete="off"  style="height: 45px;border-color: #b8b8b8">
        </div>
    </div>
    <!-- 待添加 -->