From d4b76c90c28d61d3fae48773ba9582859fd0c8ca Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期三, 09 四月 2025 17:15:23 +0800
Subject: [PATCH] 更改: 已召回 - 安装  序号

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

diff --git a/src/store/modules/checkType.ts b/src/store/modules/checkType.ts
index 459548c..72d8b2c 100644
--- a/src/store/modules/checkType.ts
+++ b/src/store/modules/checkType.ts
@@ -10,6 +10,8 @@
   name: string
   displayBarcode: []
   notes: string
+  seqPrefix: string // 搴忓彿鍓嶇紑
+  expenseRecognition: number
 }
 export interface CheckTypeState {
   checkTypeMap: Map<number, CheckTypeSimpleVO>
@@ -84,6 +86,18 @@
       }
       return this.checkTypeMap[type].notes
     },
+    getCheckTypeSeqPrefix(type: number) {
+      if (!this.isSetCheckType) {
+        this.setCheckTypeMap()
+      }
+      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()

--
Gitblit v1.9.3