From fcff97064428e8f814ba638c2dce345a0073daa8 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期四, 25 一月 2024 15:39:17 +0800
Subject: [PATCH] 11

---
 src/views/project/donationdetails/index.vue                        |    2 +-
 src/views/project/fund/performancedetails/index.vue                |    5 ++---
 src/views/project/fund/applyDetail/index.vue                       |    7 ++++---
 src/views/project/travelexpenseapply/travelexpensedetail/index.vue |   13 ++++++++-----
 4 files changed, 15 insertions(+), 12 deletions(-)

diff --git a/src/views/project/donationdetails/index.vue b/src/views/project/donationdetails/index.vue
index 7f30e89..bf138d3 100644
--- a/src/views/project/donationdetails/index.vue
+++ b/src/views/project/donationdetails/index.vue
@@ -3524,8 +3524,8 @@
       };
 
       this.fileListto = [];
-      this.invoicepdfimg = [];
       this.pdfimgsrcList = [];
+      this.pdfimg = '';
       this.atpresent = index;
       this.pdfVisible = true;
       if (this.annexfilesList.length) {
diff --git a/src/views/project/fund/applyDetail/index.vue b/src/views/project/fund/applyDetail/index.vue
index 6f0703c..8418eb9 100644
--- a/src/views/project/fund/applyDetail/index.vue
+++ b/src/views/project/fund/applyDetail/index.vue
@@ -3234,15 +3234,16 @@
 
       this.tableDatatop = [];
       this.fileListto = [];
+      this.invoicefileListto = [];
+      this.pdfimg = '';
       this.invoicepdfimg = [];
       this.pdfimgsrcList = [];
-      this.invoDatatop = [];
       this.invoicepdfimgsrcList = [];
-      this.invoDatatop.push(row);
       this.tableDatatop.push(row);
       this.atpresent = index;
       this.pdfVisible = true;
-
+      console.log(this.fileListto, "this.fileListto");
+      console.log(this.invoicefileListto, "this.invoicefileListto");
       if (this.rbDetails[index].annexfilesList) {
         this.rbDetails[index].annexfilesList.forEach((value, indexson) => {
           const pdfimg = this.Networkheader + "/prod-api" + value.url;
diff --git a/src/views/project/fund/performancedetails/index.vue b/src/views/project/fund/performancedetails/index.vue
index d8e70dc..d600a23 100644
--- a/src/views/project/fund/performancedetails/index.vue
+++ b/src/views/project/fund/performancedetails/index.vue
@@ -1083,7 +1083,6 @@
       invoicefileListto: [],
       invoicepdfimg: "",
       invoicepdfimgsrcList: [],
-      invoDatatop: [],
       activeName: 1, //鏂囦欢绫诲瀷
       //涓婁紶闄勪欢璺緞
       uploadFileUrl: process.env.VUE_APP_BASE_API + "/common/upload",
@@ -2500,11 +2499,11 @@
 
       this.tableDatatop = [];
       this.fileListto = [];
+      this.invoicefileListto = [];
+      this.pdfimg = '';
       this.invoicepdfimg = [];
       this.pdfimgsrcList = [];
-      this.invoDatatop = [];
       this.invoicepdfimgsrcList = [];
-      this.invoDatatop.push(row);
       this.tableDatatop.push(row);
       this.atpresent = index;
       this.pdfVisible = true;
diff --git a/src/views/project/travelexpenseapply/travelexpensedetail/index.vue b/src/views/project/travelexpenseapply/travelexpensedetail/index.vue
index b67779b..be304e3 100644
--- a/src/views/project/travelexpenseapply/travelexpensedetail/index.vue
+++ b/src/views/project/travelexpenseapply/travelexpensedetail/index.vue
@@ -1410,7 +1410,6 @@
       invoicefileListto: [],
       invoicepdfimg: "",
       invoicepdfimgsrcList: [],
-      invoDatatop: [],
       //浜哄憳绫诲埆
       persontype: null,
       //鍒拌揪鍦�
@@ -1636,11 +1635,11 @@
 
       this.tableDatatop = [];
       this.fileListto = [];
+      this.invoicefileListto = [];
+      this.pdfimg = [];
       this.invoicepdfimg = [];
       this.pdfimgsrcList = [];
-      this.invoDatatop = [];
       this.invoicepdfimgsrcList = [];
-      this.invoDatatop.push(row);
       this.tableDatatop.push(row);
       this.atpresent = index;
       this.pdfVisible = true;
@@ -2473,7 +2472,9 @@
                   if (this.form.infoid) {
                     updateReimbursementdetail(rbDetails[i]);
                   } else {
-                   return this.$message.error(`鍥犲灞炲垎閰嶈姹傦紝璇烽�夋嫨鎹愮尞鑰呬俊鎭痐);
+                    return this.$message.error(
+                      `鍥犲灞炲垎閰嶈姹傦紝璇烽�夋嫨鎹愮尞鑰呬俊鎭痐
+                    );
                   }
                 } else {
                   updateReimbursementdetail(rbDetails[i]);
@@ -2485,7 +2486,9 @@
                     rbDetails[i].rbid = this.form.id;
                     addReimbursementdetail(rbDetails[i]);
                   } else {
-                   return this.$message.error(`鍥犲灞炲垎閰嶈姹傦紝璇烽�夋嫨鎹愮尞鑰呬俊鎭痐);
+                    return this.$message.error(
+                      `鍥犲灞炲垎閰嶈姹傦紝璇烽�夋嫨鎹愮尞鑰呬俊鎭痐
+                    );
                   }
                 } else {
                   //rbid鍏宠仈涓昏〃Id

--
Gitblit v1.9.3