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/utils/checkTypeFormatter.ts | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/utils/checkTypeFormatter.ts b/src/utils/checkTypeFormatter.ts index 64f3767..5ffe6c7 100644 --- a/src/utils/checkTypeFormatter.ts +++ b/src/utils/checkTypeFormatter.ts @@ -7,3 +7,10 @@ export const getCheckTypeSeqPrefix = (checkType) => checkTypeStore.getCheckTypeSeqPrefix(checkType) +export const needAutoFeeConfirm = (checkType: number | null | undefined) => { + if (checkType == null) + return false + + return checkTypeStore.getExpenseRecognition(checkType) +} + -- Gitblit v1.9.3