From c7c376e151fd91c6b94b72b691e9b158755723a8 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期一, 11 九月 2023 15:23:48 +0800
Subject: [PATCH] 11

---
 src/views/project/fund/applyDetail/index.vue |   32 +++++++++++++++++++-------------
 1 files changed, 19 insertions(+), 13 deletions(-)

diff --git a/src/views/project/fund/applyDetail/index.vue b/src/views/project/fund/applyDetail/index.vue
index c9a45de..36f8615 100644
--- a/src/views/project/fund/applyDetail/index.vue
+++ b/src/views/project/fund/applyDetail/index.vue
@@ -164,7 +164,7 @@
           >
           </el-alert>
         </el-row>
-        <el-row>
+        <el-row v-if="businessType == 2">
           <div style="margin-bottom: 15px;">
             <el-button
               type="success"
@@ -416,11 +416,7 @@
                   type="primary"
                   plain
                   @click="ShowDetailDialog(scope, 'expert')"
-                  >{{
-                    experthear == "expert"
-                      ? scope.row.unitname
-                      : scope.row.beneficiaryname
-                  }}</el-button
+                  >{{ scope.row.beneficiaryname }}</el-button
                 >
                 <!-- <el-select
                   v-model="scope.row.unitno"
@@ -873,7 +869,7 @@
                 ref="beneficiaryname"
                 default-first-option
                 @change="bbaaccss"
-                v-model="funddetailForm.beneficiaryname"
+                v-model="Personnelforname"
                 placeholder="璇烽�夋嫨"
                 style="width: 100%"
               >
@@ -890,7 +886,7 @@
           <el-col :span="24" v-if="experthear == 'expert'">
             <el-form-item label="鍗曚綅鍚嶇О" prop="unitno" label-width="120px">
               <el-select
-                v-model="funddetailForm.unitname"
+                v-model="unitforname"
                 placeholder="鍗曚綅鍚嶇О"
                 @change="bbaaccss"
                 clearable
@@ -1119,7 +1115,7 @@
           </div> -->
         </div>
 
-        <div v-if="this.previewpdf" class="pdfimgmin">
+        <div v-if="this.previewpdf && pdfimgsrcList.length" class="pdfimgmin">
           <!-- <img :src="pdfimg" /> -->
           <el-image
             style="width: 95%; height: 90%"
@@ -1327,7 +1323,8 @@
       cityOptions: [],
       checkAll: false,
       checkedCities: [],
-
+      Personnelforname: "璇烽�夋嫨",
+      unitforname: "璇烽�夋嫨",
       isIndeterminate: true,
 
       //鏄惁鏄笓瀹惰垂鐨凮PO瀹℃壒浜哄憳
@@ -1483,7 +1480,7 @@
       pdfimgsrcList: [],
       pdfVisible: false,
       previewpdf: false,
-      hintitle: "閫変腑宸︿晶宸蹭笂浼犳枃浠堕瑙堟煡鐪�",
+      hintitle: "璇蜂笂浼犳枃浠跺悗鏌ョ湅",
       atpresent: "",
       Savereminder: false, //鎻愰啋淇濆瓨寮规
       Reminderquantity: 0, //鎻愰啋鏁伴噺
@@ -3220,7 +3217,15 @@
 
     //涓撳/鍖荤枟鏈烘瀯/璐圭敤鎶ラ攢鏈烘瀯閫夋嫨
     ConfirmDetailDialog() {
-      console.log(this.funddetailForm.tempExpertName);
+      console.log(this.unitforname);
+      console.log(this.Personnelforname);
+      if (this.experthear == "expert") {
+        this.funddetailForm.beneficiaryname = this.unitforname;
+      } else {
+        console.log(11);
+        this.funddetailForm.beneficiaryname = this.Personnelforname;
+        console.log(this.funddetailForm.beneficiaryname);
+      }
       console.log(this.funddetailForm);
       let tempIndex = this.funddetailForm.index;
       let tempExpertName = this.funddetailForm.beneficiaryname;
@@ -3348,8 +3353,9 @@
       //   singleDetail.unitname = "";
       // }
       if (this.businessType == 4) {
-        singleDetail.unitname = this.funddetailForm.unitname;
+        singleDetail.beneficiaryname = this.funddetailForm.beneficiaryname;
       }
+      console.log(singleDetail);
       console.log(this.funddetailForm);
       this.rbDetails[tempIndex] = singleDetail;
       this.showSelectionDialog = false;

--
Gitblit v1.9.3