11
WXL
2023-10-10 36229448f3d9631a46101e6e7467cdaa64b08f86
src/views/project/travelexpensecheck/index.vue
@@ -128,19 +128,7 @@
          <span>{{ parseTime(scope.row.createTime, "{y}-{m}-{d}") }}</span>
        </template>
      </el-table-column>
      <el-table-column
        label="审批状态"
        width="120"
        align="center"
        prop="checkFlag"
      >
        <template slot-scope="scope">
          <dict-tag
            :options="dict.type.sys_recordstatus"
            :value="scope.row.recordstatus"
          />
        </template>
      </el-table-column>
      <el-table-column
        label="经办人"
        width="120"
@@ -166,14 +154,41 @@
        prop="amountrequested"
      >
      </el-table-column>
      <el-table-column label="出差事由" align="center" prop="reason">
      </el-table-column>
      <el-table-column
        label="捐献者"
        width="120"
        align="center"
        prop="donorname"
      >
      </el-table-column>
      <el-table-column
        label="审批状态"
        width="140"
        align="center"
        prop="checkFlag"
      >
        <template slot-scope="scope">
          <dict-tag
            :options="dict.type.sys_recordstatus"
            :value="scope.row.recordstatus"
          />
        </template>
      </el-table-column>
      <el-table-column
        label="预审状态"
        width="140"
        align="center"
        prop="checkstatus"
      >
        <template slot-scope="scope">
          <dict-tag
            :options="dict.type.sys_stage_type"
            :value="scope.row.checkstatus"
          />
        </template>
      </el-table-column>
      <el-table-column label="出差事由" align="center" prop="reason">
      </el-table-column>
      <!-- 
      <el-table-column label="出差人" width="180" align="center" prop="travelers">
@@ -200,10 +215,18 @@
      >
        <template slot-scope="scope">
          <el-button
            v-if="scope.row.checkFlag == 1"
            size="mini"
            type="text"
            icon="el-icon-edit"
            v-if="scope.row.checkFlag == 1 || scope.row.checkFlag == 0"
            @click="beforehandCheck(scope.row)"
            >预审核</el-button
          >
          <el-button
            size="mini"
            type="text"
            icon="el-icon-edit"
            v-if="scope.row.checkFlag == 1"
            @click="handleUpdate(scope.row)"
            >审批</el-button
          >
@@ -1212,7 +1235,8 @@
    "sys_0_1",
    "sys_fund_type",
    "sys_financeitemtype",
    "sys_travelexpensebelong"
    "sys_travelexpensebelong",
    "sys_stage_type"
  ],
  data() {
    return {
@@ -1309,12 +1333,11 @@
      dialogType: "show"
    };
  },
  created() {
  },
  created() {},
  mounted() {
    if (grtItem("travelexpensecheck")) {
      this.queryParams = grtItem("travelexpensecheck");
    };
    }
    //this.getlistDonatebaseinfo();
    this.getList();
  },
@@ -1532,6 +1555,12 @@
      this.open = true;
      this.title = "添加报销申请";
    },
    beforehandCheck(row) {
      this.$router.push({
        path: "/finance/travelexpenseapply/travelexpensedetail/",
        query: { id: row.id, pos: 4, beforehandType: "1" }
      });
    },
    /** 修改按钮操作 */
    handleUpdate(row) {
      this.$router.push({
@@ -1585,6 +1614,11 @@
    },
    //查看审核详情
    handleShow(row) {
      this.$router.push({
        path: "/finance/travelexpenseapply/travelexpensedetail/",
        query: { id: row.id, pos: 3 }
      });
      this.dialogType = "show";
      //加载审核记录
      let listFundflowparams = {