From aa2d6665f95a0701b61272fd8065663070565034 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期二, 15 四月 2025 12:31:05 +0800
Subject: [PATCH] bug fix:  pat_id  dev_id 都为空时 不应该取患者列表

---
 src/store/modules/checkType.ts |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/store/modules/checkType.ts b/src/store/modules/checkType.ts
index 3e1c1d4..72d8b2c 100644
--- a/src/store/modules/checkType.ts
+++ b/src/store/modules/checkType.ts
@@ -90,7 +90,7 @@
       if (!this.isSetCheckType) {
         this.setCheckTypeMap()
       }
-      return this.checkTypeMap[type].seqPrefix
+      return this.checkTypeMap[type]?.seqPrefix || ''
     },
     getExpenseRecognition(type: number) {
       if (!this.isSetCheckType) {

--
Gitblit v1.9.3