From ea03fa60b9fdf8eca24afa34259e1a0523a6e1cf Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期五, 10 十一月 2023 16:48:26 +0800 Subject: [PATCH] 11 --- src/views/project/fundcheck/expertFeeCheck/index.vue | 41 +++++++++++++++++++++++++++-------------- 1 files changed, 27 insertions(+), 14 deletions(-) diff --git a/src/views/project/fundcheck/expertFeeCheck/index.vue b/src/views/project/fundcheck/expertFeeCheck/index.vue index 383b157..c1215b4 100644 --- a/src/views/project/fundcheck/expertFeeCheck/index.vue +++ b/src/views/project/fundcheck/expertFeeCheck/index.vue @@ -1363,24 +1363,37 @@ }, 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 => { - if (row.code=200) { - this.$modal.msgSuccess(row.msg); - }else{ - this.$modal.msgError(row.msg); - } - }); + TotalcalculationFn(bojite) + .then(row => { + if (row.code == 200) { + this.$modal.msgSuccess(row.msg); + } else { + console.log(123); + this.$modal.msgError(row.msg); + } + }) + .catch(error => { + this.$modal.msgError(error); + }); } else { const hasValue = this.overallidsvalue.every(obj => obj.istax == 1); if (hasValue) { - TotalcalculationFn(bojite).then(row => { - console.log(row.msg); - }); + TotalcalculationFn(bojite) + .then(row => { + if (row.code == 200) { + this.$modal.msgSuccess(row.msg); + } else { + this.$modal.msgError(row.msg); + } + }) + .catch(error => { + this.$modal.msgError(error); + }); } else { this.$modal.msgError("璇烽�夋嫨绠楃◣鍚庣殑鏁版嵁杩涜鍚堝苟璁$畻"); } -- Gitblit v1.9.3