Browse Source

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

haojianlong 5 năm trước cách đây
mục cha
commit
60d9e8ff03
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  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;