feat: 完善报销单审批流程及退回原因追踪
新增直属领导审批通过接口和审批待办列表查询,报销单退回 支持原因码分类和审批环节标记,优化票据附件去重和路径 回退查找,前端新增退回原因对话框、审批收件箱和工作台 图标组件,补充工具函数和单元测试覆盖。
This commit is contained in:
@@ -194,7 +194,13 @@ export function normalizeRequestForUi(request) {
|
||||
const sceneTarget = String(request.sceneTarget || request.location || request.city || request.entity || '').trim() || '待补充'
|
||||
const occurredDisplay = String(request.occurredDisplay || request.period || request.occurredAt || '').trim() || '待补充'
|
||||
const applyTime = String(request.applyTime || parseRequestDateFromId(request.id) || '').trim() || '待补充'
|
||||
const workflowNode = String(request.workflowNode || request.node || '').trim() || '待提交'
|
||||
const workflowNode = String(
|
||||
request.workflowNode
|
||||
|| request.node
|
||||
|| request.approval_stage
|
||||
|| request.approvalStage
|
||||
|| ''
|
||||
).trim() || '待提交'
|
||||
const secondaryStatusValue =
|
||||
String(request.secondaryStatusValue || request.travel || '').trim()
|
||||
|| (detailVariant === 'travel' ? '待安排行程' : '待补充票据')
|
||||
|
||||
Reference in New Issue
Block a user