feat(shop): 添加套票活动功能并优化购买数量控制

- 在仓库模型中添加状态字段
- 实现套票活动最低购买量的灵活配置,优先取模板配置值
- 优化数量输入逻辑,支持套票活动下的默认数量设置
- 改进优惠券加载逻辑,使用初始数量对应总价进行推荐
- 修复商品信息加载顺序,确保套票模板数据正确应用
- 更新支付工具类中的仓库类型引用
- 调整数量输入组件的最小值和禁用状态逻辑
This commit is contained in:
2026-02-09 16:02:33 +08:00
parent 231723e960
commit 37c2f030f2
3 changed files with 58 additions and 24 deletions

View File

@@ -28,6 +28,8 @@ export interface ShopStoreWarehouse {
lngAndLat?: string;
// 用户ID
userId?: number;
// 状态
status?: number;
// 备注
comments?: string;
// 排序号