From 4ddba9d454ebfd221f39ba12b375401768ff7f45 Mon Sep 17 00:00:00 2001 From: puhui999 Date: Wed, 17 May 2023 18:24:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E5=95=86=E5=93=81?= =?UTF-8?q?=E4=B8=8A=E4=B8=80=E7=89=88=E9=81=97=E7=95=99=E7=9A=84=E5=90=84?= =?UTF-8?q?=E7=A7=8D=E5=B0=8Fbug=E5=85=B3=E9=94=AE=E9=83=A8=E5=88=86?= =?UTF-8?q?=E5=B7=B2=E6=B7=BB=E5=8A=A0fix=E6=B3=A8=E9=87=8A=E3=80=82?= =?UTF-8?q?=E5=AE=8C=E6=88=90=E7=9A=84TODO=E4=B9=9F=E5=B7=B2=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0fix=E6=A0=87=E8=AE=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/mall/product/spu.ts | 5 + src/components/UploadFile/src/UploadImgs.vue | 60 +++-- src/router/modules/remaining.ts | 21 +- src/views/mall/product/spu/addForm.vue | 211 +++++++----------- .../product/spu/components/BasicInfoForm.vue | 56 ++--- .../spu/components/DescriptionForm.vue | 17 +- .../spu/components/OtherSettingsForm.vue | 32 ++- .../spu/components/ProductAttributes.vue | 5 +- .../mall/product/spu/components/SkuList.vue | 18 +- src/views/mall/product/spu/index.vue | 9 +- 10 files changed, 216 insertions(+), 218 deletions(-) diff --git a/src/api/mall/product/spu.ts b/src/api/mall/product/spu.ts index 1d32046f..7bc645e0 100644 --- a/src/api/mall/product/spu.ts +++ b/src/api/mall/product/spu.ts @@ -82,3 +82,8 @@ export const getSpu = (id: number) => { export const deleteSpu = (id: number) => { return request.delete({ url: `/product/spu/delete?id=${id}` }) } + +// 导出商品 Spu +export const exportUser = (params) => { + return request.download({ url: '/product/spu/export', params }) +} diff --git a/src/components/UploadFile/src/UploadImgs.vue b/src/components/UploadFile/src/UploadImgs.vue index 82e5030c..857959bf 100644 --- a/src/components/UploadFile/src/UploadImgs.vue +++ b/src/components/UploadFile/src/UploadImgs.vue @@ -1,19 +1,19 @@ - -