From e1d633ddeece986c1c866d4bc28e4193f3e3c41e Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期四, 12 十月 2023 15:49:49 +0800 Subject: [PATCH] 11 --- src/views/project/fund/applyDetail/index.vue | 38 +++++++++++++++++++++++--------------- 1 files changed, 23 insertions(+), 15 deletions(-) diff --git a/src/views/project/fund/applyDetail/index.vue b/src/views/project/fund/applyDetail/index.vue index 69bd09a..9168654 100644 --- a/src/views/project/fund/applyDetail/index.vue +++ b/src/views/project/fund/applyDetail/index.vue @@ -147,7 +147,8 @@ </el-col> <el-col :span="3"> - <div style="margin-bottom: 15px;" + <div + style="margin-bottom: 15px;" v-if=" (businessType == 1 || businessType == 2 || businessType == 5) && operationType != 'detail' @@ -738,15 +739,15 @@ v-if="operationType == 'check'" > <el-col :span="7"> - <el-form-item label="棰勫鐘舵��" prop="infoid"> + <el-form-item label="鐢宠鏉愭枡鐘舵��" prop="infoid"> <el-radio-group v-model="form.checkstatus" align="left" :disabled="userprofile.nickName != '闄堟厱鍗�'" > - <el-radio label="1">寰呴瀹�</el-radio> - <el-radio label="2">棰勫閫氳繃绛夊緟鏉愭枡</el-radio> - <el-radio label="3">宸叉敹鍒版姤閿�鏉愭枡</el-radio> + <el-radio :label="1">寰呯敵璇锋潗鏂�</el-radio> + <el-radio :label="2">鐢宠鏉愭枡閫氳繃绛夊緟鏉愭枡</el-radio> + <el-radio :label="3">宸叉敹鍒版姤閿�鏉愭枡</el-radio> </el-radio-group> </el-form-item> </el-col> @@ -780,8 +781,7 @@ v-if=" operationType == 'add' || operationType == 'update' || - ismanager == true || - beforehandType == '1' + ismanager == true " >鎻愪氦淇濆瓨</el-button > @@ -794,7 +794,7 @@ <el-button type="primary" @click="checksubmit" - v-if="operationType == 'check' && beforehandType != '1'" + v-if="operationType == 'check'" >鎻愪氦瀹℃牳</el-button > <el-button @click="cancel">鍏� 闂�</el-button> @@ -1469,11 +1469,11 @@ baselisttages: [ { id: 1, - name: "寰呴瀹�" + name: "寰呯敵璇锋潗鏂�" }, { id: 2, - name: "棰勫閫氳繃绛夊緟鏉愭枡" + name: "鐢宠鏉愭枡閫氳繃绛夊緟鏉愭枡" }, { id: 3, @@ -1614,7 +1614,6 @@ money: "0", startTime: "" }, - beforehandType: null, //鏈嶅姟璐圭敤鍙傛暟 expenseQueryParams: { pageNum: 1, @@ -1740,7 +1739,6 @@ this.curId = this.$route.query.id; this.businessType = this.$route.query.businessType; this.operationType = this.$route.query.operationType; - this.beforehandType = this.$route.query.beforehandType; //鑾峰彇璐圭敤椤圭洰绫诲瀷 this.getFeeTypes(); @@ -2225,7 +2223,9 @@ console.log(this.form); console.log(response, "淇濆瓨杩斿弬"); if (response.code === 200) { - this.$modal.msgSuccess("鐢宠鍗曚繚瀛樻垚鍔燂紒"); + if (this.userprofile.nickName != "闄堟厱鍗�") { + this.$modal.msgSuccess("鐢宠鍗曚繚瀛樻垚鍔燂紒"); + } this.$store.dispatch("tagsView/delView", this.$route); this.$router.push({ path: "/finance/applyDetail/", @@ -2250,8 +2250,13 @@ //瀹℃壒鎻愪氦 checksubmit() { - if (!this.form.checkstatus && this.userprofile.nickName == "闄堟厱鍗�") { - this.$modal.msgError("璇风‘璁ら瀹$姸鎬佸悗鍐嶆彁浜ゅ鏍革紒"); + console.log(this.checkObj.flowlevelone); + if ( + this.form.checkstatus != 3 && + this.userprofile.nickName == "闄堟厱鍗�" && + this.checkObj.flowlevelone == 1 + ) { + this.$modal.msgError("璇烽�夌‘璁ゆ潗鏂欑姸鎬佸凡鏀跺埌锛�"); return; } let checkFundObj = { @@ -2264,6 +2269,9 @@ //鍏抽棴绐楀彛 this.reset(); this.$modal.msgSuccess("瀹℃牳瀹屾垚!"); + if (this.userprofile.nickName == "闄堟厱鍗�") { + this.submitForm(); + } this.$store.dispatch("tagsView/delView", this.$route); this.$router.go(-1); }); -- Gitblit v1.9.3