WXL
3 天以前 4c9fdc87987140e8b2c3f0dfc2f6608cdb6be774
src/views/project/travelexpensecheck/index.vue
@@ -5,7 +5,7 @@
      ref="queryForm"
      :inline="true"
      v-show="showSearch"
      label-width="68px"
      label-width="80px"
    >
      <el-row>
        <el-col :span="5">
@@ -54,6 +54,23 @@
          </el-form-item>
        </el-col>
        <el-col :span="5">
          <el-form-item align="left" label="业务组" prop="deptnos">
            <el-select
              v-model="queryParams.deptnos"
              placeholder="请选择案例状态"
            >
              <el-option
                v-for="item in deptList"
                :label="item.deptName"
                :value="item.deptId"
              >
              </el-option>
            </el-select>
          </el-form-item>
        </el-col>
      </el-row>
      <el-row>
      <el-col :span="5">
          <el-form-item label="经办人" prop="username">
            <el-input
              v-model="queryParams.username"
@@ -63,9 +80,7 @@
              @keyup.enter.native="handleQuery"
            />
          </el-form-item>
        </el-col>
      </el-row>
      <el-row>
        </el-col>
        <el-col :span="5">
          <el-form-item label="报销金额" prop="money" style="float: left">
            <el-input
@@ -122,7 +137,7 @@
          >导出</el-button
        >
      </el-col>
      <!-- v-hasPermi="['project:funddetail:export']" -->
      <!-- -->
      <right-toolbar
        :showSearch.sync="showSearch"
        @queryTable="getList"
@@ -250,7 +265,7 @@
            @click="handleShow(scope.row)"
            >详情</el-button
          >
          <!-- v-hasPermi="['project:funddetail:edit']" -->
          <!-- -->
          <el-button
            size="mini"
            type="text"
@@ -259,7 +274,7 @@
          >
            下载
          </el-button>
          <!-- v-hasPermi="['project:funddetail:edit']" -->
          <!-- -->
          <el-button
            size="mini"
            type="text"
@@ -268,11 +283,11 @@
            @click="handleDelete(scope.row)"
            >删除</el-button
          >
          <!-- v-hasPermi="['project:funddetail:remove']" -->
          <!-- -->
        </template>
      </el-table-column>
    </el-table>
    <!-- v-hasPermi="['project:donateconsolationfund:edit']" -->
    <!-- -->
    <pagination
      v-show="total > 0"
      :total="total"
@@ -1198,6 +1213,7 @@
  listbypowerone,
  addShareData
} from "@/api/project/reimbursement";
import { listDept } from "@/api/system/dept";
import {
  provinceAndCityData,
  regionData,
@@ -1322,8 +1338,11 @@
        APPLICANT: null,
        APPLICATIONBEGTIME: null,
        APPLICATIONENDTIME: null,
        CHECKFLAG: 1
      },
        CHECKFLAG: 1,
        money: null,
        deptnos: null
      },
      deptList: [],
      //查询付款
      queryParamsPayee: {
        rbid: null
@@ -1359,7 +1378,9 @@
      dialogType: "show"
    };
  },
  created() {},
  created() {
    this.listDept();
  },
  mounted() {
    if (grtItem("travelexpensecheck")) {
      this.queryParams = grtItem("travelexpensecheck");
@@ -1371,6 +1392,12 @@
    selectapplication() {
      this.queryParams.APPLICATIONBEGTIME = this.applyTime[0];
      this.queryParams.APPLICATIONENDTIME = this.applyTime[1];
    },
    listDept() {
      listDept({}).then(response => {
        this.deptList = response.data;
        this.loading = false;
      });
    },
    getList() {
      this.loading = true;
@@ -1597,7 +1624,8 @@
        APPLICANT: null,
        APPLICATIONBEGTIME: null,
        APPLICATIONENDTIME: null,
        CHECKFLAG: 1
        CHECKFLAG: 1,
        deptnos: null
      }),
        this.handleQuery();
    },