|
|
@@ -210,14 +210,16 @@ interface DeptDisplay {
|
|
|
|
|
|
const numberFormatter = new Intl.NumberFormat('zh-CN');
|
|
|
|
|
|
+// S8-MODULE-CARD-METRIC-LABEL-UNIFY-1:S1-S7 主指标统一为「累计异常数」+ valueMode=total,
|
|
|
+// 取 orderGrid.modules[].total 直显,避免同组卡片语义不一致影响演示叙事。
|
|
|
const STAGE_META_FALLBACK: ReadonlyArray<StageMeta> = [
|
|
|
- { code: 'S1', title: '销售评审', icon: Checked, metricLabel: '累计监控单量', valueMode: 'total' },
|
|
|
+ { code: 'S1', title: '销售评审', icon: Checked, metricLabel: '累计异常数', valueMode: 'total' },
|
|
|
{ code: 'S2', title: '计划排产', icon: TrendCharts, metricLabel: '累计异常数', valueMode: 'total' },
|
|
|
- { code: 'S3', title: '物料备料', icon: ShoppingBag, metricLabel: '累计异常数量', valueMode: 'total' },
|
|
|
- { code: 'S4', title: '生产制造', icon: Tools, metricLabel: '平均处理时长', valueMode: 'avgHours' },
|
|
|
- { code: 'S5', title: '质量检测', icon: DataAnalysis, metricLabel: '异常关闭率', valueMode: 'closeRate' },
|
|
|
- { code: 'S6', title: '总装入库', icon: Box, metricLabel: '累计异常数量', valueMode: 'total' },
|
|
|
- { code: 'S7', title: '订单交付', icon: Van, metricLabel: '累计异常数量', valueMode: 'total' },
|
|
|
+ { code: 'S3', title: '物料备料', icon: ShoppingBag, metricLabel: '累计异常数', valueMode: 'total' },
|
|
|
+ { code: 'S4', title: '生产制造', icon: Tools, metricLabel: '累计异常数', valueMode: 'total' },
|
|
|
+ { code: 'S5', title: '质量检测', icon: DataAnalysis, metricLabel: '累计异常数', valueMode: 'total' },
|
|
|
+ { code: 'S6', title: '总装入库', icon: Box, metricLabel: '累计异常数', valueMode: 'total' },
|
|
|
+ { code: 'S7', title: '订单交付', icon: Van, metricLabel: '累计异常数', valueMode: 'total' },
|
|
|
];
|
|
|
|
|
|
const CATEGORY_DEFS_FALLBACK: ReadonlyArray<{ key: string; title: string; icon: Component }> = [
|