自动化立体仓库 - WMS系统
lty
8 天以前 539a56279625242c497b4b4093f2defbb9d80334
src/main/webapp/static/js/saas/stockAdjust.js
@@ -98,12 +98,20 @@
                        async: false,
                        success: function (res) {
                            if (res.code === 200){
                                layer.msg(currLocNo + res.msg, {icon: 1});
                                if (typeof I18n !== 'undefined') {
                                    layer.msg(currLocNo + " " + I18n.t(res.msg), {icon: 1});
                                } else {
                                    layer.msg(currLocNo + res.msg, {icon: 1});
                                }
                                init(currLocNo)
                            } else if (res.code === 403){
                                top.location.href = baseUrl+"/";
                            }else {
                                layer.msg(res.msg, {icon: 2})
                                if (typeof I18n !== 'undefined') {
                                    layer.msg(I18n.t(res.msg), {icon: 2});
                                } else {
                                    layer.msg(res.msg, {icon: 2});
                                }
                            }
                        }
                    })