From 4be1c5f30a0662383d01c185d3183ed9518fb4a5 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期二, 03 十二月 2024 15:34:26 +0800 Subject: [PATCH] 预约序号前缀 --- src/store/modules/checkType.ts | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/store/modules/checkType.ts b/src/store/modules/checkType.ts index 459548c..6cacbbf 100644 --- a/src/store/modules/checkType.ts +++ b/src/store/modules/checkType.ts @@ -10,6 +10,7 @@ name: string displayBarcode: [] notes: string + seqPrefix: string // 搴忓彿鍓嶇紑 } export interface CheckTypeState { checkTypeMap: Map<number, CheckTypeSimpleVO> @@ -84,6 +85,12 @@ } 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