From 20b4a7fd66185da0e4d6e510bc455e88710c876a Mon Sep 17 00:00:00 2001 From: YunaiV Date: Thu, 11 Jan 2024 22:22:07 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=96=20MALL=EF=BC=9A=E5=95=86=E5=93=81?= =?UTF-8?q?=E7=BC=96=E8=BE=91=20=3D>=20=E4=BC=98=E5=8C=96=20SKU=20?= =?UTF-8?q?=E8=A1=A8=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/mall/product/property.ts | 5 - .../mall/product/spu/components/SkuList.vue | 46 +++++- src/views/mall/product/spu/form/InfoForm.vue | 4 +- .../product/spu/form/ProductAttributes.vue | 30 ++-- .../spu/form/ProductPropertyAddForm.vue | 29 ++-- src/views/mall/product/spu/form/SkuForm.vue | 151 +++++++++--------- 6 files changed, 141 insertions(+), 124 deletions(-) diff --git a/src/api/mall/product/property.ts b/src/api/mall/product/property.ts index ac8bac59..c4398486 100644 --- a/src/api/mall/product/property.ts +++ b/src/api/mall/product/property.ts @@ -70,11 +70,6 @@ export const getPropertyList = (params: any) => { return request.get({ url: '/product/property/list', params }) } -// 获得属性项列表 -export const getPropertyListAndValue = (data: any) => { - return request.post({ url: '/product/property/get-value-list', data }) -} - // ------------------------ 属性值 ------------------- // 获得属性值分页 diff --git a/src/views/mall/product/spu/components/SkuList.vue b/src/views/mall/product/spu/components/SkuList.vue index efbc1ae7..5934db52 100644 --- a/src/views/mall/product/spu/components/SkuList.vue +++ b/src/views/mall/product/spu/components/SkuList.vue @@ -34,12 +34,19 @@ - + - + - + @@ -96,6 +120,7 @@ :precision="2" :step="0.1" class="w-100%" + controls-position="right" /> @@ -124,7 +149,12 @@