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()