From 408360a5156afcd3724aa4d88fff38ba82e20d81 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期五, 10 十一月 2023 15:37:03 +0800 Subject: [PATCH] 11 --- src/views/project/fundcheck/ethicalExpertFeeCheck/index.vue | 21 ++++++++++++--------- 1 files changed, 12 insertions(+), 9 deletions(-) diff --git a/src/views/project/fundcheck/ethicalExpertFeeCheck/index.vue b/src/views/project/fundcheck/ethicalExpertFeeCheck/index.vue index 9b8a1ca..aebe8e1 100644 --- a/src/views/project/fundcheck/ethicalExpertFeeCheck/index.vue +++ b/src/views/project/fundcheck/ethicalExpertFeeCheck/index.vue @@ -1320,7 +1320,6 @@ const obj = selection.find(obj => obj.id === item); console.log(obj); this.overallidsvalue.push(obj); - } }); console.log(this.overallids); @@ -1354,17 +1353,17 @@ }, Totalcalculation(tot) { console.log(tot); - let bojite={ - fundids:this.overallids, - isTaxAfter:tot, - } + let bojite = { + fundids: this.overallids, + isTaxAfter: tot + }; if (tot == 0) { TotalcalculationFn(bojite).then(row => { console.log(row.msg); - if (row.code=200) { + if ((row.code = 200)) { this.$modal.msgSuccess(row.msg); - }else{ - this.$modal.msgError(row.msg); + } else { + this.$modal.msgError(row.msg); } }); } else { @@ -1372,7 +1371,11 @@ const hasValue = this.overallidsvalue.every(obj => obj.istax == 1); if (hasValue) { TotalcalculationFn(bojite).then(row => { - console.log(row.msg); + if ((row.code = 200)) { + this.$modal.msgSuccess(row.msg); + } else { + this.$modal.msgError(row.msg); + } }); } else { this.$modal.msgError("璇烽�夋嫨绠楃◣鍚庣殑鏁版嵁杩涜鍚堝苟璁$畻"); -- Gitblit v1.9.3