From fe2631099f522612b4f44d7d975d81346a9559b1 Mon Sep 17 00:00:00 2001 From: API Changelog Bot Date: Thu, 26 Mar 2026 16:01:23 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=9A=E7=9F=A5:=20=E6=B8=B8=E7=8E=A9?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E7=BC=96=E8=BE=91=E7=A7=BB=E9=99=A4=E6=88=90?= =?UTF-8?q?=E6=9C=AC=E4=BB=B7=E5=AD=97=E6=AE=B5=EF=BC=8C=E4=BB=B7=E6=A0=BC?= =?UTF-8?q?=E7=BB=9F=E4=B8=80=E8=B5=B0=E4=BB=B7=E6=A0=BC=E6=97=A5=E5=8E=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../26_1600_activity_remove_base_price.md | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 changelogs/2026-03/26_1600_activity_remove_base_price.md diff --git a/changelogs/2026-03/26_1600_activity_remove_base_price.md b/changelogs/2026-03/26_1600_activity_remove_base_price.md new file mode 100644 index 0000000..3a68a69 --- /dev/null +++ b/changelogs/2026-03/26_1600_activity_remove_base_price.md @@ -0,0 +1,23 @@ +# 游玩项目编辑——移除"成本价"字段 + +**日期**: 2026-03-26 +**类型**: 前端UI调整 +**涉及页面**: 资源管理 → 游玩项目管理 → 编辑弹窗 + +--- + +## 变更说明 + +游玩项目(Activity)的价格统一在**价格日历**中管理,编辑弹窗中的"成本价"(`basePrice`)字段应移除。 + +## 前端需要做的 + +1. **编辑弹窗**(`EditModal.vue` 或对应组件):移除"成本价"输入框 +2. **新增弹窗**(如有):同样移除"成本价"输入框 +3. 提交请求时不再传 `basePrice` 字段(后端会忽略) + +## 说明 + +- 后端 API 不变,`basePrice` 字段仍存在于接口中但不再使用 +- 所有活动的成本价格通过 **价格日历**(`activity_price_calendar`)按日期管理 +- 与景区、酒店、车型等资源一致:价格统一走价格日历