diff --git a/apps/web-antd/src/views/mall/promotion/bargain/activity/data.ts b/apps/web-antd/src/views/mall/promotion/bargain/activity/data.ts index 4bd28f89b..3505f1b7d 100644 --- a/apps/web-antd/src/views/mall/promotion/bargain/activity/data.ts +++ b/apps/web-antd/src/views/mall/promotion/bargain/activity/data.ts @@ -24,6 +24,7 @@ export function useFormSchema(): VbenFormSchema[] { placeholder: '请输入活动名称', }, rules: 'required', + formItemClass: 'col-span-2', }, { fieldName: 'startTime', @@ -133,13 +134,6 @@ export function useFormSchema(): VbenFormSchema[] { placeholder: '请输入最大砍价金额', }, }, - // TODO @puhui999:这里交互不太对,可以对比下 element-plus 版本呢 - { - fieldName: 'spuId', - label: '砍价商品', - component: 'Input', - rules: 'required', - }, ]; } diff --git a/apps/web-antd/src/views/mall/promotion/bargain/activity/modules/form.vue b/apps/web-antd/src/views/mall/promotion/bargain/activity/modules/form.vue index 71e91a979..ccb54e4c2 100644 --- a/apps/web-antd/src/views/mall/promotion/bargain/activity/modules/form.vue +++ b/apps/web-antd/src/views/mall/promotion/bargain/activity/modules/form.vue @@ -1,20 +1,21 @@ - - - - - - - + + + + + + + + 砍价活动商品: + + 选择商品 + + + 已选择: {{ spuName }} + + + + + + + + + 商品图片 + SKU 名称 + 原价(元) + + + + + + + + + {{ skuInfo.skuName }} + + + ¥{{ (skuInfo.price / 100).toFixed(2) }} + + + + + + + + + +