From a30f5ac1fd3b69457b16f8332cd918aa2f5a093b Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期一, 02 十二月 2024 11:37:42 +0800
Subject: [PATCH] 条码复制完成

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

diff --git a/src/store/modules/checkType.ts b/src/store/modules/checkType.ts
index 54b50fd..459548c 100644
--- a/src/store/modules/checkType.ts
+++ b/src/store/modules/checkType.ts
@@ -8,7 +8,8 @@
 export interface CheckTypeSimpleVO {
   value: number
   name: string
-  displayBarcode: number
+  displayBarcode: []
+  notes: string
 }
 export interface CheckTypeState {
   checkTypeMap: Map<number, CheckTypeSimpleVO>
@@ -77,6 +78,12 @@
       }
       return this.checkTypeMap[type].displayBarcode
     },
+    getCheckTypeNotes(type: number) {
+      if (!this.isSetCheckType) {
+        this.setCheckTypeMap()
+      }
+      return this.checkTypeMap[type].notes
+    },
     async resetCheckTypeInfo() {
       wsCache.delete(CACHE_KEY.CHECKTYPE_CACHE)
       const res = await CheckTypeApi.getSimpleCheckTypeList()

--
Gitblit v1.9.3