From 3c2ae69383282120f2660869e352d8467c646eea Mon Sep 17 00:00:00 2001 From: Lewis_yan Date: Tue, 7 Apr 2026 10:19:08 +0800 Subject: [PATCH] debug: log full task object to identify actual API field names --- web/src/views/pisadmin/dashboard/BuyerDashboard.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/src/views/pisadmin/dashboard/BuyerDashboard.vue b/web/src/views/pisadmin/dashboard/BuyerDashboard.vue index ed76fa0..b532378 100644 --- a/web/src/views/pisadmin/dashboard/BuyerDashboard.vue +++ b/web/src/views/pisadmin/dashboard/BuyerDashboard.vue @@ -183,6 +183,8 @@ function getMethodText(method: string) { } function getDeadlineClass(task: any): string { + // Debug: log full task object to find actual field names + console.log('[BuyerDashboard] getDeadlineClass full task:', JSON.stringify(task)); const deadline = task.method === '招标' ? task.bid_end_time : task.quote_deadline; console.log('[BuyerDashboard] getDeadlineClass task:', task.inquiry_no, 'method:', task.method, 'deadline:', deadline); if (!deadline) return '';