feat(shop): 完善订单发货功能及配送方式展示

- 新增发货备注、快递公司、发货人信息等字段
- 优化发货表单验证逻辑,支持不同配送方式的动态校验
- 新增配送方式为"商家送货"和"无需发货"的处理逻辑
- 完善订单详情页配送信息展示,增加发货店铺和无需发货备注显示
- 修复发货模态框中部分字段重置逻辑
- 调整开发环境API配置注释状态
This commit is contained in:
2025-12-09 12:01:48 +08:00
parent a485faa0e4
commit a6a8915282
5 changed files with 110 additions and 16 deletions

View File

@@ -93,6 +93,18 @@ export interface ShopOrder {
deliveryStatus?: number;
// 发货时间
deliveryTime?: string;
// 发货备注/无需发货备注
deliveryNote?: string;
// 快递公司id
expressId?: number;
// 快递公司名称
expressName?: string;
// 发货人
sendName?: string;
// 发货人联系方式
sendPhone?: string;
// 发货地址
sendAddress?: string;
// 优惠类型0无、1抵扣优惠券、2折扣优惠券、3、VIP月卡、4VIP年卡5VIP次卡、6VIP会员卡、7IC月卡、8IC年卡、9IC次卡、10IC会员卡、11免费订单、12VIP充值卡、13IC充值卡、14VIP季卡、15IC季卡
couponType?: number;
// 优惠说明
@@ -145,6 +157,8 @@ export interface ShopOrder {
selfTakeCode?: string;
// 是否已收到赠品
hasTakeGift?: string;
// 发货信息
shopOrderDelivery?: any;
// 订单商品
orderGoods?: OrderGoods[];
}