From 4434fc4e9fa6819452596445b71eb67f4b422f0d Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期一, 16 十月 2023 18:02:37 +0800 Subject: [PATCH] 11 --- src/views/project/fund/applyDetail/index.vue | 53 ++++++++++++++++++++++++++++++++++------------------- 1 files changed, 34 insertions(+), 19 deletions(-) diff --git a/src/views/project/fund/applyDetail/index.vue b/src/views/project/fund/applyDetail/index.vue index 69bd09a..d793382 100644 --- a/src/views/project/fund/applyDetail/index.vue +++ b/src/views/project/fund/applyDetail/index.vue @@ -147,17 +147,17 @@ </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' + userprofile.nickName == '闄堟厱鍗�' && operationType == 'check' " > <el-button type="success" icon="el-icon-edit-outline" @click="Manualcalculationfn" - >璁$畻鏄庣粏</el-button + >璁$畻涓◣</el-button > </div> </el-col> @@ -738,15 +738,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 +780,7 @@ v-if=" operationType == 'add' || operationType == 'update' || - ismanager == true || - beforehandType == '1' + ismanager == true " >鎻愪氦淇濆瓨</el-button > @@ -794,7 +793,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,15 +1468,15 @@ baselisttages: [ { id: 1, - name: "寰呴瀹�" + name: "鏉愭枡寰呭鏍�" }, { id: 2, - name: "棰勫閫氳繃绛夊緟鏉愭枡" + name: "瀹℃煡閫氳繃绛夊緟閭瘎绾歌川鏉愭枡" }, { id: 3, - name: "宸叉敹鍒版姤閿�鏉愭枡" + name: "宸叉敹鍒扮焊璐ㄦ潗鏂�" } ], @@ -1614,7 +1613,6 @@ money: "0", startTime: "" }, - beforehandType: null, //鏈嶅姟璐圭敤鍙傛暟 expenseQueryParams: { pageNum: 1, @@ -1740,7 +1738,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(); @@ -2060,6 +2057,14 @@ ); return; } + if (tempDetail.idcardno == null) { + this.$modal.msgWarning( + "鏈嶅姟椤圭洰琛ㄤ腑锛岀" + + (k + 1).toString() + + "琛岀殑韬唤璇佹湭瀹屽杽锛岃鍏堝~鍐欒韩浠借瘉鍚庡啀鎻愪氦淇濆瓨锛�" + ); + return; + } if (this.businessType == "1") { if (tempDetail.servicesscope == null) { @@ -2225,7 +2230,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 +2257,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 +2276,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