11
WXL
2023-11-10 4f46cedca8a80f5126aca46d6369cc592b91ef58
src/views/project/fundcheck/expertFeeCheck/index.vue
@@ -1368,23 +1368,32 @@
        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 => {
            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 {
                this.$modal.msgError(row.msg);
              }
            })
            .catch(error => {
              this.$modal.msgError(error);
            });
        } else {
          this.$modal.msgError("请选择算税后的数据进行合并计算");
        }