You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
# 新产品定价:第 3 步价值感知定价设计
## 范围
仅调整学生端“新产品定价”(`product-pricing`)的第 3 步“价值感知定价”。复用现有 `StudentTrainingAnswer.step3Answer` 和通用学生答题读写接口;不新增接口、数据表、附件上传或附件预览。
## 页面与交互
1. 步骤导航新增第 3 步“价值感知定价”,保留现有前两步功能和数据。
2. 页面提供“可替代产品/功能/额外价值感知”和“价值感知( 元) ”两列表格。初始仅有一行, 展示“示例: 闹钟”和“示例: 20”作为输入提示, 学生可直接填写或替换。
3. 学生可增加或删除普通数据行,至少保留一行。底部“感知价值合计”自动汇总所有有效的价值金额。
4. 学生填写“利润让渡折扣率”( 0 到 100, 表示百分比) ; “价值定价法价格”自动按 `感知价值合计 × 折扣率 ÷ 100` 计算并保留两位小数。
5. 保存时要求至少有一条完整条目、每条价值金额大于 0, 折扣率必须在 0 到 100 范围内。保存成功后停留在第 3 步,不虚构后续步骤。
## 数据与兼容性
第 3 步写入 `step3Answer` ,格式如下:
```json
{
"rows" : [
{ "item" : "闹钟" , "value" : 20 }
],
"profitDiscountRate" : 80
}
```
读取时恢复条目与折扣率;总计和价格由页面重新计算,不单独持久化,避免保存冗余计算结果。
## 验证
执行现有前端构建 `npm run build:prod` ,确认 Vue 模板、脚本与样式可编译;并人工检查新增步骤可保存、刷新后恢复、总计与价格计算正确、无上传控件出现。