From 2c76d3aeee85d509ffe079bd1e271a50928fdef3 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Thu, 11 Jan 2024 00:25:39 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=96=20MALL=EF=BC=9A=E5=95=86=E5=93=81?= =?UTF-8?q?=E7=BC=96=E8=BE=91=20=3D>=20=E5=B0=86=20detail=20=E8=BF=98?= =?UTF-8?q?=E6=98=AF=E4=BD=BF=E7=94=A8=20form=20=E5=A4=8D=E7=94=A8?= =?UTF-8?q?=EF=BC=8C=E5=87=8F=E5=B0=91=E7=BB=B4=E6=8A=A4=E6=88=90=E6=9C=AC?= 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/form/BasicInfoForm.vue | 95 ++++++------------- .../mall/product/spu/form/DeliveryForm.vue | 18 +--- .../mall/product/spu/form/DescriptionForm.vue | 18 +--- .../product/spu/form/OtherSettingsForm.vue | 9 +- src/views/mall/product/spu/form/SkuForm.vue | 51 +--------- src/views/mall/product/spu/form/index.vue | 3 +- src/views/mall/product/spu/form/spu.data.ts | 72 -------------- 8 files changed, 36 insertions(+), 234 deletions(-) delete mode 100644 src/views/mall/product/spu/form/spu.data.ts diff --git a/src/api/mall/product/spu.ts b/src/api/mall/product/spu.ts index 61bfe21e..fc871cf6 100644 --- a/src/api/mall/product/spu.ts +++ b/src/api/mall/product/spu.ts @@ -33,14 +33,14 @@ export interface GiveCouponTemplate { export interface Spu { id?: number name?: string // 商品名称 - categoryId?: number | undefined // 商品分类 + categoryId?: number // 商品分类 keyword?: string // 关键字 unit?: number | undefined // 单位 picUrl?: string // 商品封面图 sliderPicUrls?: string[] // 商品轮播图 introduction?: string // 商品简介 deliveryTemplateId?: number | undefined // 运费模版 - brandId?: number | undefined // 商品品牌编号 + brandId?: number // 商品品牌编号 specType?: boolean // 商品规格 subCommissionType?: boolean // 分销类型 skus?: Sku[] // sku数组 diff --git a/src/views/mall/product/spu/form/BasicInfoForm.vue b/src/views/mall/product/spu/form/BasicInfoForm.vue index 8d654381..824a8ca4 100644 --- a/src/views/mall/product/spu/form/BasicInfoForm.vue +++ b/src/views/mall/product/spu/form/BasicInfoForm.vue @@ -1,13 +1,5 @@