Explorar el Código

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

haojianlong hace 5 años
padre
commit
60d9e8ff03
Se han modificado 1 ficheros con 3 adiciones y 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;