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/fundcheck/ethicalExpertFeeCheck/index.vue | 59 +++++++++++++++++++++++++++++++++++++++++------------------
1 files changed, 41 insertions(+), 18 deletions(-)
diff --git a/src/views/project/fundcheck/ethicalExpertFeeCheck/index.vue b/src/views/project/fundcheck/ethicalExpertFeeCheck/index.vue
index 9b8a1ca..a4732e1 100644
--- a/src/views/project/fundcheck/ethicalExpertFeeCheck/index.vue
+++ b/src/views/project/fundcheck/ethicalExpertFeeCheck/index.vue
@@ -1305,9 +1305,20 @@
this.ids.forEach(item => {
if (xuanzlist.includes(item)) {
} else {
+ if (this.overallids.length == 1) {
+ this.overallids = [];
+ } else {
+ this.overallids.splice(this.overallids.indexOf(item), 1);
+ }
+ if (this.overallidsvalue.length == 1) {
+ this.overallidsvalue = [];
+ } else {
+ this.overallidsvalue.splice(
+ this.overallidsvalue.indexOf(item),
+ 1
+ );
+ }
this.ids.splice(this.ids.indexOf(item), 1);
- this.overallids.splice(this.overallids.indexOf(item), 1);
- this.overallidsvalue.splice(this.overallidsvalue.indexOf(item), 1);
}
});
}
@@ -1320,7 +1331,6 @@
const obj = selection.find(obj => obj.id === item);
console.log(obj);
this.overallidsvalue.push(obj);
-
}
});
console.log(this.overallids);
@@ -1354,26 +1364,39 @@
},
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) {
- this.$modal.msgSuccess(row.msg);
- }else{
- this.$modal.msgError(row.msg);
- }
- });
+ TotalcalculationFn(bojite)
+ .then(row => {
+ console.log(row.msg);
+ 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 {
console.log(this.overallidsvalue);
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