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