yxh
yxh
2025-05-23 8022f7036945b75f82f2dfc43055623f81ed98f6
src/views/project/fund/performancedetails/index.vue
@@ -14,7 +14,7 @@
                type="date"
                value-format="yyyy-MM-dd HH:mm:ss"
                placeholder="申请日期"
                disabled="true"
                :disabled="true"
              >
              </el-date-picker>
            </el-form-item>
@@ -205,7 +205,7 @@
                ></el-cascader> -->
              </template>
            </el-table-column>
            <el-table-column
            <!-- <el-table-column
              prop="jxrq"
              align="center"
              label="绩效日期"
@@ -219,7 +219,7 @@
                >
                </el-date-picker>
              </template>
            </el-table-column>
            </el-table-column> -->
            <el-table-column
              prop="amount"
              align="center"
@@ -1789,12 +1789,21 @@
      };
      this.$modal.loading("正在提交审核,请稍候!");
      checkfund(checkFundObj).then(res => {
        //关闭窗口
        this.reset();
        this.$modal.closeLoading();
        this.$modal.msgSuccess("审核完成!");
        this.$store.dispatch("tagsView/delView", this.$route);
        this.$router.go(-1);
        if (res.code == 200) {
          //关闭窗口
          this.reset();
          this.$modal.closeLoading();
          this.$modal.msgSuccess("审核完成!");
          this.$store.dispatch("tagsView/delView", this.$route);
          this.$router.go(-1);
        } else {
          this.$modal.closeLoading();
          if (res.msg) {
            this.$modal.msgError("操作失误");
          } else {
            this.$modal.msgError(res.msg);
          }
        }
      });
    },
@@ -2056,10 +2065,12 @@
        if (!this.rbDetails[i].taxamount) {
          this.rbDetails[i].taxamount = 0;
        }
        this.rbDetails[i].taxedamount =
        this.rbDetails[i].taxedamount = (
          parseFloat(this.rbDetails[i].amount) -
          parseFloat(this.rbDetails[i].taxamount);
          parseFloat(this.rbDetails[i].taxamount)
        ).toFixed(2);
        targetValue += parseFloat(this.rbDetails[i].amount); // 假设每个对象中的特定值存储在'specificValue'属性下
        console.log(this.rbDetails[i].taxedamount, "合计");
      }
      console.log(targetValue, "合计");
      this.form.pretaxcost = targetValue;
@@ -2831,19 +2842,19 @@
      var columnnames = [
        "applytype",
        "itemid",
        "jxrq",
        // "jxrq",
        "beneficiaryname",
        "idcardno",
        "depositbank",
        "bankcardno",
        "remark",
        "remark"
      ];
      columns.forEach((column, index) => {
        if (index === 0) {
          sums[index] = "合计";
          return;
        }
        //去除部分字段计算
        if (columnnames.indexOf(column.property) > -1) {
          return;