fix: 更新订单组件以支持新价格逻辑和回显数据
- 修改 env.js 中的 IP 地址以适应新的开发环境 - 在 ConfirmOrder 组件中根据订单类型动态计算价格,确保使用正确的 finalPrice 或 totalPrice - 更新 CreateOrder 组件以优先使用商品级别的订单类型进行策略配置 - 优化 OrderManagement 组件中的价格计算逻辑,确保一致性 - 在多个组件中添加对 discountType 和 discountValue 的处理,避免重复初始化策略配置
Showing
7 changed files
with
90 additions
and
9 deletions
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment