From 3caebf79cfe8c6bd80c823312eae20b7902cb891 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期三, 27 十二月 2023 18:55:07 +0800
Subject: [PATCH] yxh
---
src/views/project/travelexpensecheck/index.vue | 93 ++++++++++++++++++++++++++++++++++------------
1 files changed, 68 insertions(+), 25 deletions(-)
diff --git a/src/views/project/travelexpensecheck/index.vue b/src/views/project/travelexpensecheck/index.vue
index 1a6f73c..9fce196 100644
--- a/src/views/project/travelexpensecheck/index.vue
+++ b/src/views/project/travelexpensecheck/index.vue
@@ -15,7 +15,7 @@
</el-form-item>
</el-col>-->
<el-col :span="8">
- <el-form-item label="鐢宠鏃ユ湡" prop="createTime">
+ <el-form-item label="鐢宠鏃ユ湡" prop="applyTime">
<el-date-picker
format="yyyy-MM-dd"
value-format="yyyy-MM-dd"
@@ -67,6 +67,41 @@
>
</el-option>
</el-select>
+ </el-form-item>
+ </el-col>
+ </el-row>
+ <el-row>
+ <el-col :span="5">
+ <el-form-item
+ label-width="120px"
+ label="鐢宠鏉愭枡鐘舵��"
+ prop="checkstatus"
+ style="float: left"
+ >
+ <el-select
+ v-model="queryParams.checkstatus"
+ placeholder="璇烽�夋嫨"
+ style="width: 100%"
+ >
+ <el-option
+ v-for="item in checkmaterials"
+ :key="item.value"
+ :label="item.label"
+ :value="item.value"
+ >
+ </el-option>
+ </el-select>
+ </el-form-item>
+ </el-col>
+ <el-col :span="6">
+ <el-form-item label="鎹愮尞鑰�" prop="name">
+ <el-input
+ v-model="queryParams.donorname"
+ placeholder="璇疯緭鍏ユ崘鐚�呭鍚�"
+ clearable
+ size="small"
+ @keyup.enter.native="handleQuery"
+ />
</el-form-item>
</el-col>
<el-col :span="6">
@@ -122,10 +157,10 @@
label="鐢宠鏃ユ湡"
width="120"
align="center"
- prop="createTime"
+ prop="applyTime"
>
<template slot-scope="scope">
- <span>{{ parseTime(scope.row.createTime, "{y}-{m}-{d}") }}</span>
+ <span>{{ parseTime(scope.row.applyTime, "{y}-{m}-{d}") }}</span>
</template>
</el-table-column>
@@ -176,7 +211,7 @@
</template>
</el-table-column>
<el-table-column
- label="棰勫鐘舵��"
+ label="鐢宠鏉愭枡鐘舵��"
width="140"
align="center"
prop="checkstatus"
@@ -214,14 +249,6 @@
width="270"
>
<template slot-scope="scope">
- <el-button
- v-if="scope.row.checkFlag == 1"
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="beforehandCheck(scope.row)"
- >棰勫鏍�</el-button
- >
<el-button
size="mini"
type="text"
@@ -279,10 +306,10 @@
<el-form ref="form" :model="form" label-width="120px">
<el-row>
<el-col :span="5">
- <el-form-item label="鐢宠鏃ユ湡" prop="createTime">
+ <el-form-item label="鐢宠鏃ユ湡" prop="applyTime">
<el-date-picker
style="width: 100%"
- v-model="form.createTime"
+ v-model="form.applyTime"
:disabled="true"
type="date"
value-format="yyyy-MM-dd HH:mm:ss"
@@ -1289,6 +1316,20 @@
label: "鍏ㄩ儴"
}
],
+ checkmaterials: [
+ {
+ value: 1,
+ label: "寰呭鏍�"
+ },
+ {
+ value: 2,
+ label: "瀹℃牳閫氳繃绛夊緟鏉愭枡"
+ },
+ {
+ value: 3,
+ label: "宸叉敹鍒版潗鏂�"
+ }
+ ],
// 鏌ヨ鍙傛暟
queryParams: {
pageNum: 1,
@@ -1328,7 +1369,7 @@
},
standardlevel: 0,
- createTime: [],
+ applyTime: [],
//寮圭獥璇︽儏--show锛沞dit
dialogType: "show"
};
@@ -1343,8 +1384,8 @@
},
methods: {
selectapplication() {
- this.queryParams.APPLICATIONBEGTIME = this.createTime[0];
- this.queryParams.APPLICATIONENDTIME = this.createTime[1];
+ this.queryParams.APPLICATIONBEGTIME = this.applyTime[0];
+ this.queryParams.APPLICATIONENDTIME = this.applyTime[1];
},
getList() {
this.loading = true;
@@ -1537,8 +1578,15 @@
},
/** 閲嶇疆鎸夐挳鎿嶄綔 */
resetQuery() {
- this.resetForm("queryForm");
- this.handleQuery();
+ (this.queryParams = {
+ pageNum: 1,
+ pageSize: 10,
+ APPLICANT: null,
+ APPLICATIONBEGTIME: null,
+ APPLICATIONENDTIME: null,
+ CHECKFLAG: 1
+ }),
+ this.handleQuery();
},
// 澶氶�夋閫変腑鏁版嵁
handleSelectionChange(selection) {
@@ -1555,12 +1603,7 @@
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({
--
Gitblit v1.9.3