11
WXL
2025-07-04 fafbff04fac1199fad291afdbe7d7b158bfd076e
src/store/modules/checkType.ts
@@ -61,7 +61,7 @@
      if (!this.isSetCheckType) {
        this.setCheckTypeMap()
      }
      return this.checkTypeMap[type].name
      return this.checkTypeMap[type]?.name
    },
    getCheckTypeOptions() {
      if (!this.isSetCheckType) {
@@ -78,7 +78,7 @@
      if (!this.isSetCheckType) {
        this.setCheckTypeMap()
      }
      return this.checkTypeMap[type].displayBarcode
      return this.checkTypeMap[type]?.displayBarcode
    },
    getCheckTypeNotes(type: number) {
      if (!this.isSetCheckType) {
@@ -96,7 +96,7 @@
      if (!this.isSetCheckType) {
        this.setCheckTypeMap()
      }
      return this.checkTypeMap[type].expenseRecognition
      return this.checkTypeMap[type]?.expenseRecognition
    },
    async resetCheckTypeInfo() {
      wsCache.delete(CACHE_KEY.CHECKTYPE_CACHE)