mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 01:19:19 +08:00
后端: - 重写 ProductOverviewServiceImpl匹配新的扁平化VO结构 - ProductOverviewVO: 新增 totalSalesAmount/monthOverMonthGrowth/totalROI 等扁平KPI字段 - ProductOverviewQueryDTO: 支持 productId/startDate/endDate/taxRate 前端: - types.vo.ts: 适配新VO结构 (KPI字段扁平化+趋势数据+规格汇总) - types.dto.ts: 更新查询DTO - details/index.vue: fetchOverview调用真实API,normalizeOverview保留所有字段 - details/components/: StatCards/SalesTrendChart/FinancialPanel/SpecSummaryTable 适配新数据 - 修复 formatPercentPlain 对 null 值崩溃的问题 - StatCards/SalesTrendChart/FinancialPanel 使用 v-if 保护避免初始渲染报错