shiy 2 роки тому
батько
коміт
4c281abb78
1 змінених файлів з 9 додано та 8 видалено
  1. 9 8
      src/views/material/basicFile/details.vue

+ 9 - 8
src/views/material/basicFile/details.vue

@@ -1365,14 +1365,15 @@
               type: 'warning'
             });
           }
-        }
-        if (this.otherDeatils.queryKey) {
-          this.otherDeatils.show = true;
-          this.otherDeatils.isEdit = true;
-          let activeTab = this.detailsTabs.filter(item => item.code == this.activeMainTab)[0];
-          this.otherDeatils.title = activeTab.label;
-          // 查询其他标签页列表详情
-          this.getOtherListDetails(activeTab.code, this.otherDeatils.queryKey);
+        } else if ('form' === type) {
+          if (this.otherDeatils.queryKey) {
+            this.otherDeatils.show = true;
+            this.otherDeatils.isEdit = true;
+            let activeTab = this.detailsTabs.filter(item => item.code == this.activeMainTab)[0];
+            this.otherDeatils.title = activeTab.label;
+            // 查询其他标签页列表详情
+            this.getOtherListDetails(activeTab.code, this.otherDeatils.queryKey);
+          }
         }
       },
       // 其他标签详情弹窗-刷新