From e21e9ad99c4c2a306d15cb270dc41520450ac9f2 Mon Sep 17 00:00:00 2001 From: yxh <172933527@qq.com> Date: 星期二, 12 十二月 2023 00:16:02 +0800 Subject: [PATCH] yxh:修改了预审核提示信息 --- src/views/project/fund/performancedetails/index.vue | 58 +++++++++++++++++++++++++++++++++++++++++++--------------- 1 files changed, 43 insertions(+), 15 deletions(-) diff --git a/src/views/project/fund/performancedetails/index.vue b/src/views/project/fund/performancedetails/index.vue index a1c1dfa..ec00066 100644 --- a/src/views/project/fund/performancedetails/index.vue +++ b/src/views/project/fund/performancedetails/index.vue @@ -118,14 +118,16 @@ </div></el-col > </el-row> - <el-row v-if="userprofile.nickName == '闄堟厱鍗�' && operationType == 'check'"> + <el-row + v-if="userprofile.nickName == '闄堟厱鍗�' && operationType == 'check'" + > <el-col :span="3" ><div style="margin-bottom: 15px;"> <el-button type="success" icon="el-icon-edit-outline" @click="Manualcalculationfn" - >璁$畻鏄庣粏</el-button + >璁$畻涓◣</el-button > </div></el-col > @@ -245,6 +247,16 @@ : "鐐瑰嚮閫夋嫨" }}</el-button > + </template> + </el-table-column> + <el-table-column + prop="idcardno" + align="center" + label="韬唤璇佸彿" + width="200" + > + <template slot-scope="scope"> + <el-input v-model="scope.row.idcardno" placeholder="韬唤璇佸彿" /> </template> </el-table-column> @@ -629,7 +641,7 @@ }, { id: 2, - name: "鐢宠鏉愭枡閫氳繃绛夊緟鏉愭枡" + name: "瀹℃牳閫氳繃绛夊緟閭瘎绾歌川鏉愭枡" }, { id: 3, @@ -1170,6 +1182,14 @@ ); return; } + if (tempDetail.idcardno == null) { + this.$modal.msgWarning( + "鏈嶅姟椤圭洰琛ㄤ腑锛岀" + + (k + 1).toString() + + "琛岀殑韬唤璇佹湭瀹屽杽锛岃鍏堝~鍐欒韩浠借瘉鍚庡啀鎻愪氦淇濆瓨锛�" + ); + return; + } if (this.businessType == "1") { if (tempDetail.servicesscope == null) { @@ -1290,17 +1310,25 @@ addorupdateFund(this.form).then(response => { console.log(response, "淇濆瓨杩斿弬"); if (response.code === 200) { - this.$modal.msgSuccess("鐢宠鍗曚繚瀛樻垚鍔燂紒"); - this.$store.dispatch("tagsView/delView", this.$route); - this.$router.push({ - path: "/finance/performancedetails/", - query: { - id: response.data, - businessType: "5", - operationType: "update" - } - }); + if (this.form.id) { + this.$modal.msgSuccess("鐢宠鍗曚慨鏀规垚鍔燂紒"); + this.$router.go(-1); + } else { + this.$modal.msgSuccess("鐢宠鍗曚繚瀛樻垚鍔燂紒"); + this.$store.dispatch("tagsView/delView", this.$route); + this.$router.push({ + path: "/finance/performancedetails/", + query: { + id: response.data, + businessType: "5", + operationType: "update" + } + }); + } this.Routinglevel++; + this.form.id = response.data; + this.curId = response.data; + this.handleUpdate(); } else { this.$modal.msgError("鐢宠鍗曚繚瀛樺け璐ワ細" + response.msg); } @@ -1780,7 +1808,7 @@ BatchentryFn() { console.log(this.rbDetails[0]); if (!this.rbDetails[0].applytype) { - this.rbDetails=[] + this.rbDetails = []; } this.checkedCities.forEach(item => { let rowData = { @@ -1985,7 +2013,7 @@ singleDetail.bankcardno = res.bankCardNo; singleDetail.branchbankname = res.branchbankname; singleDetail.depositbank = res.depositBank; - singleDetail.idcardno = res.bankCardNo; + singleDetail.idcardno = res.idcardNo; singleDetail.phone = res.telephone; singleDetail.title = res.title; singleDetail.unitname = res.unitname; -- Gitblit v1.9.3