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