From 936c01060eea0924b88ca5c35d221a972a6aba7d Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期一, 05 十月 2026 10:47:22 +0800
Subject: [PATCH] 检查单列表调整

---
 src/utils/checkTypeFormatter.ts |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/src/utils/checkTypeFormatter.ts b/src/utils/checkTypeFormatter.ts
index 64f3767..d698fa9 100644
--- a/src/utils/checkTypeFormatter.ts
+++ b/src/utils/checkTypeFormatter.ts
@@ -7,3 +7,24 @@
 export const getCheckTypeSeqPrefix = (checkType) => checkTypeStore.getCheckTypeSeqPrefix(checkType)
 
 
+export const needAutoFeeConfirm = (checkType: number | null | undefined) => {
+  if (checkType == null)
+    return false
+
+  return checkTypeStore.getExpenseRecognition(checkType)
+}
+
+/**
+ * 璇ユ鏌ラ」鐩槸鍚﹂渶瑕併�岃澶囬鐢ㄣ�嶃��
+ *
+ * 閰嶇疆鏉ユ簮锛歚check_type.need_dev_ready`锛堟鏌ョ被鍨嬬鐞嗛〉鐨勩�岄渶瑕佽澶囬鐢ㄣ�嶅紑鍏筹級銆�
+ * 鐢ㄤ簬銆岃澶囬鐢ㄣ�嶉〉鎷︽埅涓嶅睘浜庢湰娴佺▼鐨勬偅鑰� 鈥斺�� 渚嬪甯歌蹇冪數鍥�(needDevReady=0)
+ * 琚鎷夊埌棰嗙敤椤垫椂鎻愮ず骞堕樆鏂紝閬垮厤"妫�鏌ョ被鎮h�呭嚭鐜板湪璁惧棰嗙敤妯″潡"銆�
+ */
+export const needDevReady = (checkType: number | null | undefined) => {
+  if (checkType == null)
+    return false
+
+  return checkTypeStore.getNeedDevReady(checkType) === 1
+}
+

--
Gitblit v1.9.3