自动化立体仓库 - WMS系统
#
luxiaotao1123
2020-06-13 250e5afb499bfa4bb96cbcbfd335b678dd076f5e
#
1个文件已修改
10 ■■■■ 已修改文件
src/main/webapp/static/js/pakStore/emptyOut.js 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/js/pakStore/emptyOut.js
@@ -6,11 +6,13 @@
    var layDate = layui.laydate;
    var form = layui.form;
    // 获取可用入库站点
    // 获取出库口
    function getOutBound(){
    $.ajax({
        url: baseUrl+"/available/take/site",
        headers: {'token': localStorage.getItem('token')},
        method: 'POST',
            asymc: false,
        success: function (res) {
            if (res.code === 200){
                var tpl = $("#takeSiteSelectTemplate").html();
@@ -25,6 +27,7 @@
            }
        }
    })
    }
    // 数据渲染
    tableIns = table.render({
@@ -76,6 +79,7 @@
                top.location.href = baseUrl+"/";
            }
            pageCurr=curr;
            getOutBound();
            limit();
            form.on('checkbox(tableCheckbox)', function (data) {
                var _index = $(data.elem).attr('table-index')||0;
@@ -106,6 +110,7 @@
        pageCurr = 1;
        $('#detlTable').css("display", 'none');
        tableReload(false);
        getOutBound();
    });
    // 搜索栏重置事件
@@ -114,6 +119,7 @@
        clearFormVal($('#search-box'));
        $('#detlTable').css("display", 'none');
        tableReload(false);
        getOutBound();
    });
})
@@ -146,5 +152,3 @@
        }
    });
}