From 34a8c44f9afd1f847fb848b6f6ffd52fb0b12650 Mon Sep 17 00:00:00 2001 From: xingyu4j Date: Mon, 3 Nov 2025 18:05:53 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96sku=20list=20?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/mall/product/spu/form/data.ts | 1 - .../src/views/mall/product/spu/form/index.vue | 5 +- .../product/spu/form/modules/sku-list.vue | 86 +++++++++++-------- 3 files changed, 53 insertions(+), 39 deletions(-) diff --git a/apps/web-antd/src/views/mall/product/spu/form/data.ts b/apps/web-antd/src/views/mall/product/spu/form/data.ts index 3ca6e5c79..d2ff7eeb5 100644 --- a/apps/web-antd/src/views/mall/product/spu/form/data.ts +++ b/apps/web-antd/src/views/mall/product/spu/form/data.ts @@ -102,7 +102,6 @@ export function useInfoFormSchema(): VbenFormSchema[] { } /** 价格库存的表单 */ -// TODO @puhui999:貌似太宽了。。。屏幕小的,整个 table 展示补全哈~~ export function useSkuFormSchema( propertyList: any[] = [], isDetail: boolean = false, diff --git a/apps/web-antd/src/views/mall/product/spu/form/index.vue b/apps/web-antd/src/views/mall/product/spu/form/index.vue index 8e9144cca..78c5d6a4b 100644 --- a/apps/web-antd/src/views/mall/product/spu/form/index.vue +++ b/apps/web-antd/src/views/mall/product/spu/form/index.vue @@ -128,10 +128,6 @@ const [InfoForm, infoFormApi] = useVbenForm({ const [SkuForm, skuFormApi] = useVbenForm({ commonConfig: { - componentProps: { - class: 'w-full', - }, - formItemClass: 'col-span-2', labelWidth: 120, }, layout: 'horizontal', @@ -364,6 +360,7 @@ onMounted(async () => {