自动化立体仓库 - WMS系统
#
luxiaotao1123
2020-06-18 0b83d075e78acfded07fafe8da133376b2260ef6
src/main/webapp/static/js/pakStore/stockOut.js
@@ -56,7 +56,7 @@
                    }
                    var locDetls = [];
                    data.forEach(function(elem) {
                        locDetls.push({locNo: elem.locNo, matnr: elem.matnr});
                        locDetls.push({locNo: elem.locNo, matnr: elem.matnr, count: elem.count});
                    });
                    let param = {
                        outSite: staNo,
@@ -68,10 +68,10 @@
                        data: JSON.stringify(param),
                        contentType:'application/json;charset=UTF-8',
                        method: 'POST',
                        traditional:true,
                        success: function (res) {
                            if (res.code === 200){
                                getOutBound(); // 重载出库口
                                locDetlData = [];
                                tableIns.reload({data: locDetlData,done:function (res) {limit();getOutBound();}});
                                layer.msg(res.msg);
                            } else if (res.code === 403){
                                top.location.href = baseUrl+"/";
@@ -95,10 +95,7 @@
                        locDetlData.splice(i, 1);
                    }
                }
                tableIns.reload({data: locDetlData,done:function (res) {
                        limit();
                        getOutBound();
                    }});
                tableIns.reload({data: locDetlData,done:function (res) {limit();getOutBound();}});
                break;
        }
    });