From 69b18cf813e7f742ff343a358c580c329c9acda5 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期三, 11 十二月 2024 11:37:40 +0800 Subject: [PATCH] 预约确认有时不会弹出的问题修改 --- src/views/ecg/appointment/AppointmentConfirm.vue | 2 +- src/store/modules/checkType.ts | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletions(-) diff --git a/src/store/modules/checkType.ts b/src/store/modules/checkType.ts index 6cacbbf..3e1c1d4 100644 --- a/src/store/modules/checkType.ts +++ b/src/store/modules/checkType.ts @@ -11,6 +11,7 @@ displayBarcode: [] notes: string seqPrefix: string // 搴忓彿鍓嶇紑 + expenseRecognition: number } export interface CheckTypeState { checkTypeMap: Map<number, CheckTypeSimpleVO> @@ -91,6 +92,12 @@ } return this.checkTypeMap[type].seqPrefix }, + getExpenseRecognition(type: number) { + if (!this.isSetCheckType) { + this.setCheckTypeMap() + } + return this.checkTypeMap[type].expenseRecognition + }, async resetCheckTypeInfo() { wsCache.delete(CACHE_KEY.CHECKTYPE_CACHE) const res = await CheckTypeApi.getSimpleCheckTypeList() diff --git a/src/views/ecg/appointment/AppointmentConfirm.vue b/src/views/ecg/appointment/AppointmentConfirm.vue index 93a42f6..6d11df4 100644 --- a/src/views/ecg/appointment/AppointmentConfirm.vue +++ b/src/views/ecg/appointment/AppointmentConfirm.vue @@ -6,7 +6,7 @@ </div> <div style="display: flex; flex-wrap: wrap; justify-content: center; margin-bottom: 20px"> - <div v-for="_appointment in appointmentVOList" :key="_appointment.applyNo"> + <div v-for="(_appointment, index) in appointmentVOList" :key="index"> <CheckItemPanel :appointment="_appointment" @event_appoint_confirm="onEventAppointConfirm"/> </div> </div> -- Gitblit v1.9.3