yxh
yxh
2023-11-20 966a9c008ded0a25f1de183b680a291212445e31
src/views/project/fundcheck/expertFeeCheck/index.vue
@@ -122,20 +122,21 @@
      <el-col :span="8">
        <div style="margin-bottom: 15px;">
          <el-button
            icon="el-icon-remove-outline"
            type="success"
            plain
            size="mini"
            disabled="true"
            @click="Totalcalculation(0)"
            >个税前汇总</el-button
          >
          <el-button
            type="primary"
            plain
            icon="el-icon-circle-check"
            size="mini"
            @click="Totalcalculation(1)"
            >计税后合计</el-button
          >
          <el-button
            icon="el-icon-remove-outline"
            type="success"
            plain
            size="mini"
            @click="Totalcalculation(0)"
            >计税前合计</el-button
            >个税后汇总</el-button
          >
        </div>
      </el-col>
@@ -159,8 +160,8 @@
          </el-table-column>
          -->
          <el-table-column type="selection" width="45"> </el-table-column>
          <el-table-column
            label="个税计算情况"
          <!-- <el-table-column
            label="个税计算"
            align="center"
            prop="recordstatus"
            width="200"
@@ -168,7 +169,28 @@
            <template slot-scope="scope">
              <dict-tag :options="dict.type.sys_tax" :value="scope.row.istax" />
            </template>
          </el-table-column> -->
          <el-table-column
            label="个税日期"
            width="120"
            align="center"
            prop="fundtaxtime"
          >
            <template slot-scope="scope">
              <span>{{ parseTime(scope.row.fundtaxtime, "{y}-{m}-{d}") }}</span>
            </template>
          </el-table-column>
          <el-table-column
            label="所属组别"
            align="center"
            prop="deptmentname"
            width="200px"
          /><el-table-column
            label="经办人"
            align="center"
            prop="username"
            width="150px"
          />
          <el-table-column
            label="申请日期"
            width="120"
@@ -179,24 +201,14 @@
              <span>{{ parseTime(scope.row.createTime, "{y}-{m}-{d}") }}</span>
            </template>
          </el-table-column>
          <el-table-column
            label="经办人"
            align="center"
            prop="username"
            width="150px"
          />
          <el-table-column
            label="申请金额"
            align="center"
            prop="pretaxcost"
            width="200px"
          />
          <el-table-column
            label="所属组别"
            align="center"
            prop="deptmentname"
            width="200px"
          />
          <el-table-column
            label="组长"
            align="center"
@@ -1374,6 +1386,13 @@
    },
    Totalcalculation(tot) {
      console.log(tot);
      if(this.overallids.length == 0) {
        this.$message({
            type: "info",
            message: "当前没有选择要汇总的专家费申请单,不能汇总!"
          });
        return;}
      let bojite = {
        fundids: this.overallids,
        isTaxAfter: tot