From 1a0879569c66aeb77917145a82c81dd7330a5ced Mon Sep 17 00:00:00 2001
From: BAOLH <baolh@yhzhg.cn>
Date: Tue, 21 Jul 2026 05:41:56 +0000
Subject: [PATCH] 请假、外出、出差、报销增加再提交功能;出差审核状态常量名称规范;
---
eladmin-web-master/src/views/project/projectReimburse/index.vue | 24 ++++++++++++++++++++++++
1 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/eladmin-web-master/src/views/project/projectReimburse/index.vue b/eladmin-web-master/src/views/project/projectReimburse/index.vue
index 07a0874..8ee253c 100644
--- a/eladmin-web-master/src/views/project/projectReimburse/index.vue
+++ b/eladmin-web-master/src/views/project/projectReimburse/index.vue
@@ -300,8 +300,16 @@
<el-table-column v-if="checkPer(['admin','projectReimburse:edit','projectReimburse:del'])" label="操作" width="150px" align="center" fixed="right">
<template slot-scope="scope">
<udOperation
+ v-if="!scope.row.wecomSpNo"
:data="scope.row"
:permission="permission"
+ />
+ <el-button
+ v-if="scope.row.wecomSpNo && user.id === scope.row.userId && scope.row.approvalStatus === dictReimburseApproveStatusRefuse"
+ size="mini"
+ type="primary"
+ icon="el-icon-refresh-right"
+ @click="reAdd(scope.row)"
/>
</template>
</el-table-column>
@@ -699,6 +707,22 @@
return
}
}
+ },
+ // 再新增(企微)
+ reAdd(data) {
+ const that = this
+ that.crud.toAdd()
+ that.$set(that.form, 'userId', data.userId)
+ that.$set(that.form, 'approvalUserId', data.approvalUserId)
+ that.$set(that.form, 'projectId', data.projectId)
+ that.$set(that.form, 'reimburseTypes', data.reimburseType.split(','))
+ that.$set(that.form, 'reimburseReason', data.reimburseReason)
+ that.$set(that.form, 'expenseTypes', data.expenseType.split(','))
+ that.$set(that.form, 'startTime', data.startTime)
+ that.$set(that.form, 'endTime', data.endTime)
+ that.$set(that.form, 'expenseAmount', data.expenseAmount)
+ that.$set(that.form, 'expenseComment', data.expenseComment)
+ that.$set(that.form, 'filePath', data.filePath)
}
}
}
--
Gitblit v1.9.3