From a5e004bc89dfe842b102deef80d6b342c43fedfb Mon Sep 17 00:00:00 2001
From: hailu <962012470@qq.com>
Date: 星期二, 18 六月 2024 17:34:14 +0800
Subject: [PATCH] 下属公司

---
 src/view/diligenceTools/leasefinancing.vue |   18 ++++++------------
 1 files changed, 6 insertions(+), 12 deletions(-)

diff --git a/src/view/diligenceTools/leasefinancing.vue b/src/view/diligenceTools/leasefinancing.vue
index 1778b2f..76792a4 100644
--- a/src/view/diligenceTools/leasefinancing.vue
+++ b/src/view/diligenceTools/leasefinancing.vue
@@ -3090,12 +3090,12 @@
     },
     changeDetailTab(name) {
       this.tabName = name;
-      if (name === "tab1" && this.isfirsttab1) {
-        (this.isfirsttab1 = false), this.getRentList();
-      } else if (name === "tab2" && this.isfirsttab2) {
-        this.isfirsttab2 = false;
+      // if (name === "tab1" && this.isfirsttab1) {
+      //   (this.isfirsttab1 = false), this.getRentList();
+      // } else if (name === "tab2" && this.isfirsttab2) {
+      //   this.isfirsttab2 = false;
         this.getRentList();
-      }
+      // }/
       console.log(this.rentList, this.rentList2);
     },
     /**
@@ -3321,12 +3321,6 @@
      *  鑾峰彇绉熻祦鏁版嵁
      **/
     getRentList() {
-      let fenlei = true;
-      if (this.tabName === "tab1") {
-        fenlei = true;
-      } else {
-        fenlei = false;
-      }
       // this.isfirsttab1 = false;
       // this.firstHis=true
       this.searchChange = 1;
@@ -3346,7 +3340,7 @@
         boardingTime2: this.boardingTime2,
         expirationTime2: this.expirationTime2,
         ReportId: -100,
-        SubLtdFlag: fenlei,
+        SubLtdFlag: this.tabName === "tab1"?true:false,
       };
       //   if (this.componentsType == 'noTitle') {
       //     data.FilterLtd = 1

--
Gitblit v1.8.0