diff --git a/src/api/mall/product/spu.ts b/src/api/mall/product/spu.ts index fc871cf6..eee632d5 100644 --- a/src/api/mall/product/spu.ts +++ b/src/api/mall/product/spu.ts @@ -39,6 +39,7 @@ export interface Spu { picUrl?: string // 商品封面图 sliderPicUrls?: string[] // 商品轮播图 introduction?: string // 商品简介 + deliveryTypes?: number[] // 配送方式 deliveryTemplateId?: number | undefined // 运费模版 brandId?: number // 商品品牌编号 specType?: boolean // 商品规格 diff --git a/src/utils/dict.ts b/src/utils/dict.ts index b3cd3999..8b543d15 100644 --- a/src/utils/dict.ts +++ b/src/utils/dict.ts @@ -103,7 +103,6 @@ export const getDictLabel = (dictType: string, value: any): string => { export enum DICT_TYPE { USER_TYPE = 'user_type', COMMON_STATUS = 'common_status', - SYSTEM_TENANT_PACKAGE_ID = 'system_tenant_package_id', TERMINAL = 'terminal', // 终端 // ========== SYSTEM 模块 ========== diff --git a/src/views/mall/product/spu/components/SkuList.vue b/src/views/mall/product/spu/components/SkuList.vue index 5934db52..2befe640 100644 --- a/src/views/mall/product/spu/components/SkuList.vue +++ b/src/views/mall/product/spu/components/SkuList.vue @@ -8,9 +8,9 @@ max-height="500" size="small" > - + diff --git a/src/views/mall/product/spu/form/DeliveryForm.vue b/src/views/mall/product/spu/form/DeliveryForm.vue index 07c0e9e9..5b91277b 100644 --- a/src/views/mall/product/spu/form/DeliveryForm.vue +++ b/src/views/mall/product/spu/form/DeliveryForm.vue @@ -1,15 +1,23 @@ +