From fec99908eda695e37ca79c8e9a3fd103b9af88f2 Mon Sep 17 00:00:00 2001 From: kangwenjing <1138819403@qq.com> Date: Fri, 12 Jun 2026 16:05:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=87=BA=E5=8A=9F=E8=83=BD=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/pages/Opportunities.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/frontend/src/pages/Opportunities.tsx b/frontend/src/pages/Opportunities.tsx index 8353d830..0f0e6f81 100644 --- a/frontend/src/pages/Opportunities.tsx +++ b/frontend/src/pages/Opportunities.tsx @@ -281,10 +281,8 @@ const opportunityExportColumns: OpportunityExportColumn[] = [ { key: "stage", label: "项目阶段", value: (item) => normalizeOpportunityExportText(item.stage) }, { key: "confidence", label: "项目把握度", value: (item) => normalizeOpportunityExportText(item.confidence) }, { key: "amount", label: "预计金额(元)", numFmt: "#,##0.00", value: (item) => normalizeOpportunityExportNumber(item.amount) ?? "" }, - { key: "actualSignedAmount", label: "实际签约金额(元)", numFmt: "#,##0.00", value: (item) => normalizeOpportunityExportNumber(item.actualSignedAmount) ?? "" }, { key: "date", label: "预计下单时间", value: (item) => normalizeOpportunityExportText(item.date) }, { key: "competitorName", label: "竞争对手", value: (item) => normalizeOpportunityExportText(item.competitorName) }, - { key: "isPoc", label: "是否POC测试项目", value: (item) => formatOpportunityBoolean(item.isPoc, "是", "否") }, { key: "latestProgress", label: "项目最新进展", kind: "longText", value: (item) => normalizeOpportunityExportText(item.latestProgress) }, { key: "nextPlan", label: OPPORTUNITY_NEXT_PLAN_LABEL, kind: "longText", value: (item) => normalizeOpportunityExportText(item.nextPlan) }, { key: "followUps", label: "跟进记录", kind: "followup", value: (item, relatedSales, relatedChannel) => buildOpportunityFollowUpExportText(item, relatedSales, relatedChannel) }, @@ -304,6 +302,8 @@ const opportunityExportColumns: OpportunityExportColumn[] = [ { key: "updatedAt", label: "更新修改时间", value: (item) => normalizeOpportunityExportText(item.updatedAt) }, { key: "archived", label: "是否签单", value: (item) => formatOpportunityBoolean(item.archived, "已签单", "未签单") }, { key: "pushedToOms", label: "是否推送OMS", value: (item) => formatOpportunityBoolean(item.pushedToOms, "已推送", "未推送") }, + { key: "actualSignedAmount", label: "实际签约金额(元)", numFmt: "#,##0.00", value: (item) => normalizeOpportunityExportNumber(item.actualSignedAmount) ?? "" }, + { key: "isPoc", label: "是否POC测试项目", value: (item) => formatOpportunityBoolean(item.isPoc, "是", "否") }, ]; const defaultOpportunityExportFields: OpportunityExportFieldKey[] = [ @@ -318,13 +318,12 @@ const defaultOpportunityExportFields: OpportunityExportFieldKey[] = [ "stage", "confidence", "amount", - "actualSignedAmount", "date", "competitorName", - "isPoc", "latestProgress", "nextPlan", "followUps", + "isPoc", ]; function resolveSelectedOpportunityFields(selectedFields: OpportunityExportFieldKey[] | undefined) {