From d8c87c0f7cec03d812185b9cad0ef8d80d855b3e Mon Sep 17 00:00:00 2001 From: puhui999 Date: Sun, 14 Dec 2025 15:05:46 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E3=80=90antd=E3=80=91=E3=80=90mal?= =?UTF-8?q?l=E3=80=91=E7=A0=8D=E4=BB=B7=E6=B4=BB=E5=8A=A8=E5=95=86?= =?UTF-8?q?=E5=93=81=E9=80=89=E6=8B=A9=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mall/promotion/bargain/activity/data.ts | 8 +- .../bargain/activity/modules/form.vue | 202 +++++++++++++++--- 2 files changed, 179 insertions(+), 31 deletions(-) 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 @@