lilei před 2 roky
rodič
revize
0658933df9
2 změnil soubory, kde provedl 7 přidání a 2 odebrání
  1. 1 1
      public/version.json
  2. 6 1
      src/layouts/BasicLayout.vue

+ 1 - 1
public/version.json

@@ -1,5 +1,5 @@
 {
   "message": "发现有新版本发布,确定更新系统?",
   "vendorJsVersion": "",
-  "version": 1664271762228
+  "version": 1664336433825
 }

+ 6 - 1
src/layouts/BasicLayout.vue

@@ -387,7 +387,12 @@ export default {
       }
       // 货架异常
       if (data.notice.extInfo.bizType == 'SHELF_WARN') {
-        this.$router.push({ name: 'shelfOrderList', query: { bizType: 'SHELF_WARN', shelfSn: data.notice.extInfo.bizSn } })
+        if (this.nowRoute.indexOf('numsGoodsShelves/shelfOrder/list') >= 0) {
+          this.$router.go(-1)
+        }
+        setTimeout(() => {
+          this.$router.push({ name: 'shelfOrderList', query: { bizType: 'SHELF_WARN', shelfSn: data.notice.extInfo.bizSn } })
+        }, 500)
       }
       // 设置已读
       this.setRead(data)