fix: 审批详情页兼容旧数据格式的时间字段
同时支持 start_date/end_date(旧格式)和 start_time/end_time(新格式) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -618,7 +618,9 @@ export default function ApprovalDetail() {
|
|||||||
departure: '出发地',
|
departure: '出发地',
|
||||||
destination: '目的地',
|
destination: '目的地',
|
||||||
start_time: '开始时间',
|
start_time: '开始时间',
|
||||||
|
start_date: '开始时间',
|
||||||
end_time: '结束时间',
|
end_time: '结束时间',
|
||||||
|
end_date: '结束时间',
|
||||||
transport: '出行方式',
|
transport: '出行方式',
|
||||||
trip_type: '行程类型',
|
trip_type: '行程类型',
|
||||||
remark: '备注',
|
remark: '备注',
|
||||||
|
|||||||
Reference in New Issue
Block a user