diff --git a/src/api/mall/product/spu.ts b/src/api/mall/product/spu.ts
index 4b0a4b08..1494037e 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 @@
-
-
-
+
@@ -24,21 +17,35 @@
v-model="formData.categoryId"
:options="categoryList"
:props="defaultProps"
- class="w-1/1"
+ class="w-80"
clearable
placeholder="请选择商品分类"
filterable
/>
+
+
+
+
+
-
+
@@ -47,67 +54,20 @@
-
-
-
-
-
-
-
-
- {{ formatCategoryName(row.categoryId) }}
-
- {{ brandList.find((item) => item.id === row.brandId)?.name }}
-
-
-
-
-
-
-
-