diff --git a/backend/app/service/FeishuNotificationService.php b/backend/app/service/FeishuNotificationService.php index 0cdec49..04f328f 100644 --- a/backend/app/service/FeishuNotificationService.php +++ b/backend/app/service/FeishuNotificationService.php @@ -720,7 +720,7 @@ class FeishuNotificationService return false; } - error_log("🔍 准备更新操作人消息: message_id={$message->message_id}, company_id={$companyId}, feishu_app_id={$feishu_app_id}"); + error_log("🔍 准备更新操作人消息: message_id={$message->message_id}, company_id={$companyId}, feishu_app_id={$feishuAppId}"); // 使用该消息对应的飞书应用配置 $this->companyId = $companyId; diff --git a/frontend/src/pages/approval/detail.tsx b/frontend/src/pages/approval/detail.tsx index 923ee63..cc88860 100644 --- a/frontend/src/pages/approval/detail.tsx +++ b/frontend/src/pages/approval/detail.tsx @@ -613,19 +613,16 @@ export default function ApprovalDetail() { 行程 {index + 1} {Object.entries(itinerary).map(([ikey, ivalue]) => { - if (ikey === 'id') return null + if (ikey === 'id' || ikey === 'estimated_cost') return null const itineraryLabelMap: Record = { destination: '目的地', start_date: '开始日期', end_date: '结束日期', - estimated_cost: '预计费用', } const itineraryLabel = itineraryLabelMap[ikey] || ikey let displayValue = ivalue as string if (ikey.includes('date') && ivalue) { displayValue = dayjs(String(ivalue)).format('YYYY-MM-DD') - } else if (ikey === 'estimated_cost' && ivalue) { - displayValue = `¥${Number(ivalue).toFixed(2)}` } return (