diff --git a/src/views/Company/components/ForecastReport/components/DetailTable.tsx b/src/views/Company/components/ForecastReport/components/DetailTable.tsx index bcf8f123..71a269fa 100644 --- a/src/views/Company/components/ForecastReport/components/DetailTable.tsx +++ b/src/views/Company/components/ForecastReport/components/DetailTable.tsx @@ -89,10 +89,15 @@ const DetailTable: React.FC = ({ data }) => { const isGrowthMetric = record['指标']?.includes('增长') || record['指标']?.includes('率'); const isPositiveGrowth = isGrowthMetric && !isNaN(numValue) && numValue > 0; + // PE 和 PEG 需要显示单位"倍" + const metricName = record['指标'] as string; + const isPeOrPeg = metricName === 'PE' || metricName === 'PEG'; + const displayValue = isPeOrPeg ? `${value}倍` : value; + // 数值类添加样式类名 const className = `data-cell ${isNegative ? 'negative-value' : ''} ${isPositiveGrowth ? 'positive-growth' : ''}`; - return {value}; + return {displayValue}; }, }); });