fix: 恢复行程显示,只移除主表单预计费用
This commit is contained in:
@@ -596,7 +596,7 @@ export default function ApprovalDetail() {
|
|||||||
<Card title="申请内容" className={styles.section}>
|
<Card title="申请内容" className={styles.section}>
|
||||||
<div className={styles.formData}>
|
<div className={styles.formData}>
|
||||||
{Object.entries(detail.form_data)
|
{Object.entries(detail.form_data)
|
||||||
.filter(([key]) => !['approvers', 'cc_users', 'itineraries', 'estimated_cost'].includes(key))
|
.filter(([key]) => !['approvers', 'cc_users', 'estimated_cost'].includes(key))
|
||||||
.map(([key, value]) => {
|
.map(([key, value]) => {
|
||||||
// 获取字段标签,优先使用映射表,没有则使用原始key
|
// 获取字段标签,优先使用映射表,没有则使用原始key
|
||||||
const label = formFieldLabelMap[key] || key
|
const label = formFieldLabelMap[key] || key
|
||||||
|
|||||||
Reference in New Issue
Block a user