From a3eb23533a2dceefa11c3e41b1ef3f6110d77209 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期四, 12 十二月 2024 20:28:09 +0800 Subject: [PATCH] bug fix : 领用 安装 界面不显示 --- 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 6cacbbf..3e1c1d4 100644 --- a/src/store/modules/checkType.ts +++ b/src/store/modules/checkType.ts @@ -11,6 +11,7 @@ displayBarcode: [] notes: string seqPrefix: string // 搴忓彿鍓嶇紑 + expenseRecognition: number } export interface CheckTypeState { checkTypeMap: Map<number, CheckTypeSimpleVO> @@ -91,6 +92,12 @@ } 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