From 9fb9cd1ce924b6d0833ee9ca03581ff04352707b Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期四, 24 八月 2023 10:14:05 +0800
Subject: [PATCH] yxh

---
 src/views/project/fund/applyDetail/index.vue |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/src/views/project/fund/applyDetail/index.vue b/src/views/project/fund/applyDetail/index.vue
index 12b70ee..e2f8645 100644
--- a/src/views/project/fund/applyDetail/index.vue
+++ b/src/views/project/fund/applyDetail/index.vue
@@ -151,7 +151,7 @@
                 </el-select>
               </template>
             </el-table-column>
-            <el-table-column prop="price" align="center" label="鍗曚环" width="120" v-if="0">
+            <el-table-column prop="price" align="center" label="鍗曚环" width="120" v-if="businessType == 4">
               <template slot-scope="scope">
                 <el-input v-model="scope.row.price" placeholder="鍗曚环" @blur="val => {
                   sumTotalFee(scope.row);
@@ -159,7 +159,7 @@
                   " />
               </template>
             </el-table-column>
-            <el-table-column prop="quantity" align="center" label="鏁伴噺" width="120" v-if="0">
+            <el-table-column prop="quantity" align="center" label="鏁伴噺" width="120" v-if="businessType == 4">
               <template slot-scope="scope">
                 <el-input v-model="scope.row.quantity" placeholder="鏁伴噺" @blur="val => {
                   sumTotalFee(scope.row);
@@ -168,7 +168,7 @@
               </template>
             </el-table-column>
             <el-table-column v-if="businessType == 3 || businessType == 4 || ismanager == true" prop="amount"
-              align="center" label="绋庡墠閲戦" width="120">
+              align="center" :label=amountLabel width="120">
               <template slot-scope="scope">
                 <!--
                   <el-select v-model="scope.row.amount" placeholder="绋庡墠閲戦" clearable filterable allow-create
@@ -177,7 +177,7 @@
                     :value="dict.expense"></el-option>
                 </el-select>
               -->
-                <el-input v-model="scope.row.amount" placeholder="绋庡墠閲戦" />
+                <el-input v-model="scope.row.amount" placeholder="閲戦" />
               </template>
             </el-table-column>
             <el-table-column prop="taxedamount" align="center" label="绋庡悗閲戦" width="120" v-if="(this.ismanager == true) &
@@ -666,6 +666,8 @@
       //涓撳/鍗曚綅閫夋嫨锛歟xpert/unit
       selectionType: "",
       showSelectionDialog: false,
+      //绋庡墠閲戦鏍囬锛氫笓瀹惰垂-绋庡墠閲戦锛涘尰瀛︽垚鏈�佸姙鍏垂鐢�-閲戦
+      amountLabel:"绋庡墠閲戦",
 
       // 琛ㄥ崟鏍¢獙
       rules: {
@@ -857,11 +859,13 @@
       if (this.businessType == "1") {
         this.curCase = this.$route.query.curCase;
         this.businessName = "涓撳鍔冲姟璐圭敵璇峰崟"
+        this.amountLabel="绋庡墠閲戦"
         this.getUnitList();
       }
       else if (this.businessType == "2") {
         this.curCase = this.$route.query.curCase;
         this.businessName = "浼︾悊涓撳鍔冲姟璐圭敵璇峰崟";
+        this.amountLabel="绋庡墠閲戦"
         this.getUnitList();
       }
       else if (this.businessType == "3") {
@@ -869,9 +873,11 @@
           this.curCase = this.$route.query.curCase;
         }
         this.businessName = "鍖诲鎴愭湰鎶ラ攢鍗�";
+        this.amountLabel="閲戦"
       }
       else if (this.businessType == "4") {
         this.businessName = "鍔炲叕璐圭敤鎶ラ攢鍗�";
+        this.amountLabel="閲戦"
 
         // this.getBaseInfoList();
       }

--
Gitblit v1.9.3