From 1c200b3f9934e5c655b9d69a59b626cac14fd63e Mon Sep 17 00:00:00 2001 From: jazz <jazzxhunter@163.com> Date: 星期三, 27 十二月 2023 12:18:43 +0800 Subject: [PATCH] update_202312271217_门店选择修改 --- src/pages/room/detail.vue | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/pages/room/detail.vue b/src/pages/room/detail.vue index 17b2331..776f69f 100644 --- a/src/pages/room/detail.vue +++ b/src/pages/room/detail.vue @@ -343,12 +343,12 @@ offNarcosisNoticeConfirm() { if (this.occupyInfoView) { if (offNarcosisIds && offNarcosisIds.length) { - var flag = offNarcosisIds.find((o) => { return o === this.occupyInfoView.visitOrderId }) + var flag = offNarcosisIds.find((o) => { return o === this.occupyInfoView.userId }) if (!flag) { - offNarcosisIds.push(this.occupyInfoView.visitOrderId) + offNarcosisIds.push(this.occupyInfoView.userId) } } else if (offNarcosisIds) { - offNarcosisIds.push(this.occupyInfoView.visitOrderId) + offNarcosisIds.push(this.occupyInfoView.userId) } this.setLocalStorageOffNarcosisIds() } @@ -430,10 +430,10 @@ var offNarcosisTimer = null offNarcosisTimer = setTimeout(() => { console.log('================================>', this.occupyInfoView, 'offNarcosisIds:', offNarcosisIds, 'isOffNarcosisShow:', isOffNarcosisShow) - if (this.occupyInfoView && this.occupyInfoView.hempStatus === 2 && this.occupyInfoView.visitOrderId) { + if (this.occupyInfoView && this.occupyInfoView.hempStatus === 2 && this.occupyInfoView.userId) { var flag - // offNarcosisIds && offNarcosisIds.length && (flag = offNarcosisIds.find((o) => { return o === this.occupyInfoView.visitOrderId })) - flag = isOffNarcosisShow + offNarcosisIds && offNarcosisIds.length && (flag = offNarcosisIds.find((o) => { return o === this.occupyInfoView.userId })) + // flag = isOffNarcosisShow if (!flag) { this.showOffNarcosisNotice() } -- Gitblit v1.8.0