From 943a2c431b178e37913544b1c6c9beafb4b74b74 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期六, 28 十二月 2024 00:55:27 +0800
Subject: [PATCH] update

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

diff --git a/src/store/modules/checkType.ts b/src/store/modules/checkType.ts
index c282975..3e1c1d4 100644
--- a/src/store/modules/checkType.ts
+++ b/src/store/modules/checkType.ts
@@ -8,8 +8,10 @@
 export interface CheckTypeSimpleVO {
   value: number
   name: string
-  displayBarcode: number
+  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