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 | 26 +++++++++++++++++--------- 1 files changed, 17 insertions(+), 9 deletions(-) diff --git a/src/views/project/fund/applyDetail/index.vue b/src/views/project/fund/applyDetail/index.vue index b6116e3..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) & @@ -269,7 +269,7 @@ </el-button> <el-button @click.native.prevent=" Filepopup(scope.$index, rbDetails, scope.row) - " type="text" size="small">绁ㄦ嵁</el-button> + " type="text" size="small" v-if="businessType == 3 || businessType == 4">绁ㄦ嵁</el-button> </template> </el-table-column> </el-table> @@ -330,11 +330,13 @@ </el-row> <el-row v-if="operationType == 'detail' || operationType == 'check'"> <el-table :data="fundflowList" border> - <el-table-column label="瀹℃牳浜�" align="center" width="120" prop="checkusername" /> <el-table-column label="瀹℃牳鏃ユ湡" align="center" width="160" prop="createTime" /> - <el-table-column label="瀹℃牳缁撴灉" align="center" width="200" prop="flowconclusion"><template - slot-scope="scope"><span v-if="scope.row.flowconclusion == 1">閫氳繃</span><span - v-if="scope.row.flowconclusion == 2">涓嶉�氳繃</span></template> + <el-table-column label="瀹℃牳浜�" align="center" width="120" prop="checkusername" /> + <el-table-column label="瀹℃牳缁撴灉" align="center" width="200" prop="flowconclusion"> + <template slot-scope="scope"> + <span v-if="scope.row.flowconclusion == 1">閫氳繃</span> + <span v-if="scope.row.flowconclusion == 2">涓嶉�氳繃</span> + </template> </el-table-column> <el-table-column label="瀹℃牳澶囨敞" align="center" prop="flowcontent" /> </el-table> @@ -664,6 +666,8 @@ //涓撳/鍗曚綅閫夋嫨锛歟xpert/unit selectionType: "", showSelectionDialog: false, + //绋庡墠閲戦鏍囬锛氫笓瀹惰垂-绋庡墠閲戦锛涘尰瀛︽垚鏈�佸姙鍏垂鐢�-閲戦 + amountLabel:"绋庡墠閲戦", // 琛ㄥ崟鏍¢獙 rules: { @@ -855,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") { @@ -867,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