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) {