From 6914d3d6ab1f76e6f1b85fdb547b016707ae0179 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期四, 01 八月 2024 17:34:30 +0800 Subject: [PATCH] 11 --- src/views/project/fund/applyDetail/index.vue | 32 ++++++++++++++++++++------------ 1 files changed, 20 insertions(+), 12 deletions(-) diff --git a/src/views/project/fund/applyDetail/index.vue b/src/views/project/fund/applyDetail/index.vue index 0643097..8da0d89 100644 --- a/src/views/project/fund/applyDetail/index.vue +++ b/src/views/project/fund/applyDetail/index.vue @@ -158,7 +158,7 @@ > </div> </el-col> - <el-col + <!-- <el-col :span="3" v-if=" userprofile.nickName == '闄堟厱鍗�' && @@ -174,7 +174,7 @@ >璁$畻涓◣</el-button > </div> - </el-col> + </el-col> --> </el-row> <el-row> <el-table @@ -657,12 +657,12 @@ </el-radio-group> </el-form-item> </el-col> - <el-col :span="12" v-if="businessType==1"> + <el-col :span="12" v-if="businessType == 1"> <el-form-item label="绠楃◣鐘舵��" prop="infoid"> <el-radio-group v-model="form.istax" align="left"> - <el-radio :label="0">瀹℃牳涓�</el-radio> - <el-radio :label="1">鍏佽绠楃◣</el-radio> - <el-radio :label="2">宸茬畻绋�</el-radio> + <el-radio :label="-1">瀹℃牳涓�</el-radio> + <el-radio :label="0">鍏佽绠楃◣</el-radio> + <el-radio :label="1">宸茬畻绋�</el-radio> </el-radio-group> </el-form-item> </el-col> @@ -2237,7 +2237,7 @@ sessionStorage.setItem("apiform", JSON.stringify(this.form)); addorupdateFund(this.form) .then(response => { - if (response.code === 200) { + if (response.code == 200) { if (this.form.id) { this.$modal.msgSuccess("鐢宠鍗曚慨鏀规垚鍔燂紒"); this.$router.go(-1); @@ -2807,11 +2807,19 @@ }; this.$modal.loading("姝e湪鎻愪氦瀹℃牳锛岃绋嶅�欙紒"); checkfund(checkFundObj).then(res => { - //鍏抽棴绐楀彛 - this.$modal.closeLoading(); - this.$modal.msgSuccess("瀹℃牳瀹屾垚!"); - this.$store.dispatch("tagsView/delView", this.$route); - this.$router.go(-1); + if (res.code == 200) { + //鍏抽棴绐楀彛 + this.$modal.closeLoading(); + this.$modal.msgSuccess("瀹℃牳瀹屾垚!"); + this.$store.dispatch("tagsView/delView", this.$route); + this.$router.go(-1); + } else { + if (res.msg) { + this.$modal.msgError("鎿嶄綔澶辫"); + } else { + this.$modal.msgError(res.msg); + } + } }); } this.Getnetworkheader(); -- Gitblit v1.9.3