From 8022f7036945b75f82f2dfc43055623f81ed98f6 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期五, 23 五月 2025 22:42:56 +0800
Subject: [PATCH] yxh
---
src/views/project/travelexpensecheck/index.vue | 44 ++++++++++++++++++++++++++++++++++++--------
1 files changed, 36 insertions(+), 8 deletions(-)
diff --git a/src/views/project/travelexpensecheck/index.vue b/src/views/project/travelexpensecheck/index.vue
index 0608b84..01916a5 100644
--- a/src/views/project/travelexpensecheck/index.vue
+++ b/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
@@ -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();
},
--
Gitblit v1.9.3