Browse Source

修改系统所属建筑楼层

haojianlong 5 years ago
parent
commit
03d709266a
1 changed files with 2 additions and 5 deletions
  1. 2 5
      src/components/ledger/handsontables/system.vue

+ 2 - 5
src/components/ledger/handsontables/system.vue

@@ -393,7 +393,7 @@ export default {
         columnSorting: true, //添加排序
         sortIndicator: true, //添加排序
         renderAllRows: true,
-        // observeChanges: false,
+        observeChanges: false,
         // colWidths: 200,
         autoColumnSize: true,
         language: "zh-CN",
@@ -474,9 +474,6 @@ export default {
     },
     //删除资产
     async handleDeleteTableRow() {
-      if (arguments[2] == "ObserveChanges.change") {
-        return;
-      }
       this.$confirm('此操作将删除该系统, 是否继续?', '提示', {
         confirmButtonText: '确定',
         cancelButtonText: '取消',
@@ -588,7 +585,7 @@ export default {
     },
     //关联建筑楼层成功
     relateSuccess(data) {
-      this.tableData[this.row].BuildingFloorInfoList = data
+      this.getTableData()
       // tools.setDataForKey(this.tableData[this.row], "BuildingFloorInfoList", data)
     },
     //获取被筛选掉的行号