11
WXL
6 小时以前 f030d8a9607cef32ee41e01d96817c7e47681602
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) {
@@ -90,13 +90,13 @@
      if (!this.isSetCheckType) {
        this.setCheckTypeMap()
      }
      return this.checkTypeMap[type].seqPrefix
      return this.checkTypeMap[type]?.seqPrefix || ''
    },
    getExpenseRecognition(type: number) {
      if (!this.isSetCheckType) {
        this.setCheckTypeMap()
      }
      return this.checkTypeMap[type].expenseRecognition
      return this.checkTypeMap[type]?.expenseRecognition
    },
    async resetCheckTypeInfo() {
      wsCache.delete(CACHE_KEY.CHECKTYPE_CACHE)