From ec3c0ea4503d268318df538b0604d4ecd1eabec3 Mon Sep 17 00:00:00 2001 From: yangmf_0726 <13243152557@163.com> Date: Wed, 9 Jul 2025 11:46:02 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=9C=A8=E5=95=86=E5=93=81=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E5=92=8CSKU=E5=88=97=E8=A1=A8=E4=B8=AD=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E8=B4=A7=E9=81=93/=E6=9F=9C=E9=97=A8=E7=BC=96?= =?UTF-8?q?=E5=8F=B7=E5=92=8C=E9=80=9A=E9=81=93=E7=B1=BB=E5=9E=8B=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/mall/product/spu.ts | 4 ++- .../mall/product/spu/components/SkuList.vue | 30 +++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/src/api/mall/product/spu.ts b/src/api/mall/product/spu.ts index c6d162b8..55b3dc1c 100644 --- a/src/api/mall/product/spu.ts +++ b/src/api/mall/product/spu.ts @@ -24,6 +24,8 @@ export interface Sku { firstBrokeragePrice?: number | string // 一级分销的佣金 secondBrokeragePrice?: number | string // 二级分销的佣金 salesCount?: number // 商品销量 + cabinetChannel?: string // 货道或柜门编号 + cabinetType?: string // 通道类型 } export interface GiveCouponTemplate { @@ -59,7 +61,7 @@ export interface Spu { stock?: number // 商品库存 createTime?: Date // 商品创建时间 status?: number // 商品状态 - types?: number // 商品类型 + types?: number // 商品类型 } // 获得 Spu 列表 diff --git a/src/views/mall/product/spu/components/SkuList.vue b/src/views/mall/product/spu/components/SkuList.vue index 2ffb37d0..98580d75 100644 --- a/src/views/mall/product/spu/components/SkuList.vue +++ b/src/views/mall/product/spu/components/SkuList.vue @@ -34,6 +34,16 @@ + + + + + +