diff --git a/yudao-admin-vue3/src/api/mall/product/spu.ts b/yudao-admin-vue3/src/api/mall/product/spu.ts index 32fe688..197d02f 100644 --- a/yudao-admin-vue3/src/api/mall/product/spu.ts +++ b/yudao-admin-vue3/src/api/mall/product/spu.ts @@ -23,6 +23,7 @@ export interface Sku { firstBrokeragePrice?: number | string // 一级分销的佣金 secondBrokeragePrice?: number | string // 二级分销的佣金 salesCount?: number // 商品销量 + paidMemberPrice?: number | string //付费会员价 } export interface GiveCouponTemplate { @@ -58,6 +59,8 @@ export interface Spu { status?: number // 商品状态 pointsStatus?: number // 商品使用积分状态 usePointsMax?: number // 单商品积分使用上限 + isPaidMemberPrice?: number//是否设置付费会员价 + paidMemberPrice?: number//会员价 } // 获得 Spu 列表 diff --git a/yudao-admin-vue3/src/views/mall/product/spu/components/MarkingtingList.vue b/yudao-admin-vue3/src/views/mall/product/spu/components/MarkingtingList.vue new file mode 100644 index 0000000..a15dc46 --- /dev/null +++ b/yudao-admin-vue3/src/views/mall/product/spu/components/MarkingtingList.vue @@ -0,0 +1,470 @@ + + + diff --git a/yudao-admin-vue3/src/views/mall/product/spu/components/index.ts b/yudao-admin-vue3/src/views/mall/product/spu/components/index.ts index e2cbe73..843d948 100644 --- a/yudao-admin-vue3/src/views/mall/product/spu/components/index.ts +++ b/yudao-admin-vue3/src/views/mall/product/spu/components/index.ts @@ -1,4 +1,5 @@ import SkuList from './SkuList.vue' +import MarkingtingList from './MarkingtingList.vue' import { Spu } from '@/api/mall/product/spu' interface PropertyAndValues { @@ -51,4 +52,4 @@ const getPropertyList = (spu: Spu): PropertyAndValues[] => { return properties } -export { SkuList, PropertyAndValues, RuleConfig, getPropertyList } +export { MarkingtingList, SkuList, PropertyAndValues, RuleConfig, getPropertyList } diff --git a/yudao-admin-vue3/src/views/mall/product/spu/form/MarketingForm.vue b/yudao-admin-vue3/src/views/mall/product/spu/form/MarketingForm.vue index 7edce03..4bb3c68 100644 --- a/yudao-admin-vue3/src/views/mall/product/spu/form/MarketingForm.vue +++ b/yudao-admin-vue3/src/views/mall/product/spu/form/MarketingForm.vue @@ -2,54 +2,84 @@