diff --git a/src/api/mall/product/spu.ts b/src/api/mall/product/spu.ts index 4ca9f2c8..75b3b433 100644 --- a/src/api/mall/product/spu.ts +++ b/src/api/mall/product/spu.ts @@ -60,7 +60,8 @@ export interface Spu { stock?: number // 商品库存 createTime?: Date // 商品创建时间 status?: number // 商品状态 - giveCouponTemplate?: GiveCouponTemplate[] + activityOrders: number[] // 活动排序 + giveCouponTemplates: GiveCouponTemplate[] // 优惠卷 } // 获得 Spu 列表 diff --git a/src/views/mall/product/spu/form/OtherSettingsForm.vue b/src/views/mall/product/spu/form/OtherSettingsForm.vue index 033806b6..d7217cfe 100644 --- a/src/views/mall/product/spu/form/OtherSettingsForm.vue +++ b/src/views/mall/product/spu/form/OtherSettingsForm.vue @@ -44,7 +44,7 @@ - + {{ coupon.name }} 选择优惠券 @@ -67,35 +71,49 @@ -