Explorar o código

系统台账建筑楼层 只读模式不可编辑

haojianlong %!s(int64=5) %!d(string=hai) anos
pai
achega
60d9e8ff03
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      src/components/ledger/handsontables/system.vue

+ 3 - 1
src/components/ledger/handsontables/system.vue

@@ -557,7 +557,9 @@ export default {
           }
           return false
         case 'BuildingFloorInfoList':
-          this.$refs.editFloor.showDialog(this.tableData[row.row]);
+          if (!this.onlyRead) {
+            this.$refs.editFloor.showDialog(this.tableData[row.row]);
+          }
           return false
         default:
           break;