From 2adb1adb8be3e2e00e4c9e6a905f164f29fab147 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 1 Mar 2026 13:52:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=8F=98=E9=87=8F?= =?UTF-8?q?=E5=90=8D=E4=B8=8D=E4=B8=80=E8=87=B4=E5=92=8C=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E9=A2=84=E8=AE=A1=E8=B4=B9=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/app/service/FeishuNotificationService.php | 2 +- frontend/src/pages/approval/detail.tsx | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) 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 (