From b3631abf0aaddb74be6ebd0803792833bb7285e6 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期二, 10 十二月 2024 21:10:15 +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 54b50fd..6cacbbf 100644
--- a/src/store/modules/checkType.ts
+++ b/src/store/modules/checkType.ts
@@ -8,7 +8,9 @@
 export interface CheckTypeSimpleVO {
   value: number
   name: string
-  displayBarcode: number
+  displayBarcode: []
+  notes: string
+  seqPrefix: string // 搴忓彿鍓嶇紑
 }
 export interface CheckTypeState {
   checkTypeMap: Map<number, CheckTypeSimpleVO>
@@ -77,6 +79,18 @@
       }
       return this.checkTypeMap[type].displayBarcode
     },
+    getCheckTypeNotes(type: number) {
+      if (!this.isSetCheckType) {
+        this.setCheckTypeMap()
+      }
+      return this.checkTypeMap[type].notes
+    },
+    getCheckTypeSeqPrefix(type: number) {
+      if (!this.isSetCheckType) {
+        this.setCheckTypeMap()
+      }
+      return this.checkTypeMap[type].seqPrefix
+    },
     async resetCheckTypeInfo() {
       wsCache.delete(CACHE_KEY.CHECKTYPE_CACHE)
       const res = await CheckTypeApi.getSimpleCheckTypeList()

--
Gitblit v1.9.3