From d1a3fe5d5a91ea5f782d1c83abb7b6a111ec0a14 Mon Sep 17 00:00:00 2001 From: puhui999 Date: Wed, 18 Oct 2023 11:33:42 +0800 Subject: [PATCH 01/13] =?UTF-8?q?=E8=90=A5=E9=94=80=E6=96=87=E7=AB=A0?= =?UTF-8?q?=EF=BC=9A=E6=96=B0=E5=A2=9E=E8=A1=A8=E5=8D=95=E5=B1=9E=E6=80=A7?= =?UTF-8?q?=E7=A7=BB=E9=99=A4=E6=B5=8F=E8=A7=88=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mall/promotion/article/ArticleForm.vue | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/views/mall/promotion/article/ArticleForm.vue b/src/views/mall/promotion/article/ArticleForm.vue index 36fc1340..2f99fa38 100644 --- a/src/views/mall/promotion/article/ArticleForm.vue +++ b/src/views/mall/promotion/article/ArticleForm.vue @@ -40,16 +40,6 @@ - - - - - @@ -141,7 +131,6 @@ const formData = ref({ author: undefined, picUrl: undefined, introduction: undefined, - browseCount: 0, sort: 0, status: 0, spuId: undefined, @@ -215,7 +204,6 @@ const resetForm = () => { author: undefined, picUrl: undefined, introduction: undefined, - browseCount: 0, sort: 0, status: 0, spuId: undefined, From 04d88ce1a61cacbf613f7d77565334bc15abfd12 Mon Sep 17 00:00:00 2001 From: puhui999 Date: Wed, 18 Oct 2023 17:20:13 +0800 Subject: [PATCH 02/13] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E5=88=97=E8=A1=A8?= =?UTF-8?q?=EF=BC=9A=E8=87=AA=E5=AE=9A=E4=B9=89=E5=88=97=E6=8A=BD=E7=A6=BB?= =?UTF-8?q?=E5=B0=81=E8=A3=85=E4=B8=BA=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mall/trade/delivery/pickUpStore/index.ts | 2 +- .../order/components/OrderTableColumn.vue | 222 +++++++++++++ .../mall/trade/order/components/index.ts | 3 + src/views/mall/trade/order/index.vue | 304 ++++-------------- 4 files changed, 282 insertions(+), 249 deletions(-) create mode 100644 src/views/mall/trade/order/components/OrderTableColumn.vue create mode 100644 src/views/mall/trade/order/components/index.ts diff --git a/src/api/mall/trade/delivery/pickUpStore/index.ts b/src/api/mall/trade/delivery/pickUpStore/index.ts index 82ba66c4..c3175021 100644 --- a/src/api/mall/trade/delivery/pickUpStore/index.ts +++ b/src/api/mall/trade/delivery/pickUpStore/index.ts @@ -26,7 +26,7 @@ export const getDeliveryPickUpStore = async (id: number) => { } // 查询自提门店精简列表 -export const getListAllSimple = async () => { +export const getListAllSimple = async (): Promise => { return await request.get({ url: '/trade/delivery/pick-up-store/list-all-simple' }) } diff --git a/src/views/mall/trade/order/components/OrderTableColumn.vue b/src/views/mall/trade/order/components/OrderTableColumn.vue new file mode 100644 index 00000000..89a1ed25 --- /dev/null +++ b/src/views/mall/trade/order/components/OrderTableColumn.vue @@ -0,0 +1,222 @@ + + + diff --git a/src/views/mall/trade/order/components/index.ts b/src/views/mall/trade/order/components/index.ts new file mode 100644 index 00000000..9cce9fac --- /dev/null +++ b/src/views/mall/trade/order/components/index.ts @@ -0,0 +1,3 @@ +import OrderTableColumn from './OrderTableColumn.vue' + +export { OrderTableColumn } diff --git a/src/views/mall/trade/order/index.vue b/src/views/mall/trade/order/index.vue index 33d98548..94cd8c17 100644 --- a/src/views/mall/trade/order/index.vue +++ b/src/views/mall/trade/order/index.vue @@ -163,177 +163,42 @@ - - diff --git a/src/views/mall/product/spu/form/OtherSettingsForm.vue b/src/views/mall/product/spu/form/OtherSettingsForm.vue index d7217cfe..24498860 100644 --- a/src/views/mall/product/spu/form/OtherSettingsForm.vue +++ b/src/views/mall/product/spu/form/OtherSettingsForm.vue @@ -41,16 +41,11 @@ - - - {{ type.label }} - + @@ -115,6 +110,7 @@ import { copyValueToTarget } from '@/utils' import { otherSettingsSchema } from './spu.data' import { DICT_TYPE, DictDataType, getIntDictOptions } from '@/utils/dict' import CouponSelect from './CouponSelect.vue' +import ActivityOrdersSort from './ActivityOrdersSort.vue' defineOptions({ name: 'OtherSettingsForm' }) From 2a150cf0c0b330dc2a4bf331cb83c074c6ba2f42 Mon Sep 17 00:00:00 2001 From: puhui999 Date: Fri, 20 Oct 2023 21:42:50 +0800 Subject: [PATCH 11/13] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=90=88=E5=B9=B6?= =?UTF-8?q?=E5=B7=AE=E5=BC=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 4 ---- 1 file changed, 4 deletions(-) diff --git a/package.json b/package.json index 37801eef..e81fe550 100644 --- a/package.json +++ b/package.json @@ -84,10 +84,6 @@ "@types/qrcode": "^1.5.2", "@types/qs": "^6.9.8", "@types/sortablejs": "^1.15.4", - "@typescript-eslint/eslint-plugin": "^6.7.2", - "@typescript-eslint/parser": "^6.7.2", - "@unocss/eslint-config": "^0.56.1", - "@unocss/transformer-variant-group": "^0.56.1", "@typescript-eslint/eslint-plugin": "^6.7.5", "@typescript-eslint/parser": "^6.7.5", "@unocss/transformer-variant-group": "^0.56.5", From 0730e215d89c7de7f5f5e67bffdf61074f855cd1 Mon Sep 17 00:00:00 2001 From: puhui999 Date: Fri, 20 Oct 2023 22:16:18 +0800 Subject: [PATCH 12/13] =?UTF-8?q?=E5=AE=8C=E5=96=84=E6=96=87=E7=AB=A0?= =?UTF-8?q?=E7=AE=A1=E7=90=86=20review=20=E6=8F=90=E5=88=B0=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mall/promotion/article/ArticleForm.vue | 33 +++++++++---------- src/views/mall/promotion/article/index.vue | 19 +++++------ 2 files changed, 25 insertions(+), 27 deletions(-) diff --git a/src/views/mall/promotion/article/ArticleForm.vue b/src/views/mall/promotion/article/ArticleForm.vue index 80248f6a..1e44fad6 100644 --- a/src/views/mall/promotion/article/ArticleForm.vue +++ b/src/views/mall/promotion/article/ArticleForm.vue @@ -40,7 +40,6 @@ - @@ -59,19 +58,6 @@ - - - - - - - - @@ -98,6 +84,14 @@ + + + + {{ spuList.find((item) => item.id === formData.spuId)?.name }} + + 选择商品 + + @@ -110,12 +104,14 @@ 取 消 + diff --git a/src/views/mall/promotion/market/banner/index.vue b/src/views/mall/promotion/market/banner/index.vue new file mode 100644 index 00000000..6050abb5 --- /dev/null +++ b/src/views/mall/promotion/market/banner/index.vue @@ -0,0 +1,199 @@ + + +