diff --git a/changelogs/2026-03/26_1830_price_tier_fix.md b/changelogs/2026-03/26_1830_price_tier_fix.md new file mode 100644 index 0000000..5372bfc --- /dev/null +++ b/changelogs/2026-03/26_1830_price_tier_fix.md @@ -0,0 +1,18 @@ +# 价格档位人数和价格计算问题 + +**日期**: 2026-03-26 + +--- + +## 前端BUG:价格档位人数没联动 + +`priceTierLabels` 保存的成人儿童数全是1,没和组合名对应: + +- "1大2小" 应该是 `adultCount: 1, childCount: 2` +- "2大1小" 应该是 `adultCount: 2, childCount: 1` + +目前都是 `adultCount: 1, childCount: 1`,前端改下联动。 + +## 后端优化:价格从价格日历计算(进行中) + +后端正在改:`priceTiers` 的价格从价格日历的 `adultSellPrice × 成人数 + childSellPrice × 儿童数` 自动算,不再依赖团期套餐(combo)。