Browse Source

关联表格组问题处理

lph 1 năm trước cách đây
mục cha
commit
9e59fea7fe
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      zkqy-ui/src/views/relateTable/index.vue

+ 2 - 0
zkqy-ui/src/views/relateTable/index.vue

@@ -787,6 +787,7 @@ export default {
         this.conditionDefault[this.isSearchIndex] =
           this.conditionDefaultValueMap;
       } else {
+        console.log(this.tableDataList, this.editIndex);
         if (this.tableDataList.length !== 0) {
           this.relyFileds.tableName =
             this.tableDataList[this.editIndex - 1]?.dtTableName;
@@ -1616,6 +1617,7 @@ export default {
     },
     // 新增一个联动表格
     addOneTable() {
+      this.editIndex = this.tableDataList.length;
       this.relateTitle = true;
       if (this.relateTitle) {
         this.tableItemForm = {};