src/views/reportAnalysis/qualityAnalysis/components/right-top.vue
@@ -47,9 +47,9 @@ return { rank: `Top${index + 1}`, productName: item.productName || `产品${index + 1}`, total: total.toFixed(2), finished: finished.toFixed(2), qualifiedRate: passRate.toFixed(2), total: total.toFixed(3), finished: finished.toFixed(3), qualifiedRate: passRate.toFixed(3), percentage: Math.min(100, Math.max(0, passRate)), // 确保百分比在0-100之间 } })