#
18516761980
2021-11-05 acdc4b3427cbd2a6dc811aed202fbd3e9c309d69
src/main/webapp/static/js/locNormal/locNormal.js
@@ -178,6 +178,7 @@
            statusCode: 200
        },
        done: function (res, curr, count) {
            console.log(res);
            if (res.code === 403) {
                top.location.href = baseUrl + "/";
            }
@@ -288,6 +289,12 @@
        }
        switch (obj.event) {
            case 'outLocNormal':
                var warehourse = data.warehouse;
                if(warehourse !== 'cs'){
                    layer.msg("只能出材料平仓");
                    return;
                }
                layer.confirm('确定要出库[' + data.matnr + ']吗?', {
                    btn: ['确定', '取消'] //可以无限个按钮
                }, function (index, layero) {