From 54be87efeabcaa10fe8d003c8995fd0c50800794 Mon Sep 17 00:00:00 2001 From: Yer <17633066053@163.com> Date: Thu, 14 Sep 2023 18:07:42 +0800 Subject: [PATCH 1/5] =?UTF-8?q?fix:=20:bug:=20=E8=A7=A3=E5=86=B3=E5=87=A0?= =?UTF-8?q?=E4=B8=AA=E5=8F=91=E7=8E=B0=E7=9A=84=E9=87=8D=E7=BD=AEbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seller/src/views/promotion/coupon/coupon.vue | 9 +++++++-- .../views/promotion/full-discount/full-discount.vue | 10 +++++++--- seller/src/views/promotion/pintuan/pintuan.vue | 11 ++++++++--- seller/src/views/promotion/seckill/seckill.vue | 10 +++++++--- 4 files changed, 29 insertions(+), 11 deletions(-) diff --git a/seller/src/views/promotion/coupon/coupon.vue b/seller/src/views/promotion/coupon/coupon.vue index 7e61f22f..ecf49242 100644 --- a/seller/src/views/promotion/coupon/coupon.vue +++ b/seller/src/views/promotion/coupon/coupon.vue @@ -277,9 +277,14 @@ export default { this.getDataList(); }, handleReset() { - this.searchForm = {}; + this.searchForm = { + // 搜索框初始化对象 + pageNumber: 1, // 当前页数 + pageSize: 10, // 页面大小 + sort: "startTime", // 默认排序字段 + order: "desc", // 默认排序方式 + }; this.selectDate = ""; - this.searchForm.pageNumber = 1; this.getDataList(); }, clearSelectAll() { diff --git a/seller/src/views/promotion/full-discount/full-discount.vue b/seller/src/views/promotion/full-discount/full-discount.vue index 012efdea..b7a9b1f4 100644 --- a/seller/src/views/promotion/full-discount/full-discount.vue +++ b/seller/src/views/promotion/full-discount/full-discount.vue @@ -168,9 +168,13 @@ export default { // 重置 handleReset () { this.selectDate = ""; - this.searchForm = {}; - this.searchForm.pageNumber = 1; - this.searchForm.pageSize = 10; + this.searchForm = { + // 搜索框初始化对象 + pageNumber: 1, // 当前页数 + pageSize: 10, // 页面大小 + sort: "startTime", // 默认排序字段 + order: "desc", // 默认排序方式 + }; this.getDataList(); }, // 编辑 diff --git a/seller/src/views/promotion/pintuan/pintuan.vue b/seller/src/views/promotion/pintuan/pintuan.vue index 809f55d2..25f86bae 100644 --- a/seller/src/views/promotion/pintuan/pintuan.vue +++ b/seller/src/views/promotion/pintuan/pintuan.vue @@ -205,10 +205,15 @@ export default { }, // 重置 handleReset() { - this.searchForm = {}; + this.searchForm = { + // 搜索框初始化对象 + pageNumber: 0, // 当前页数 + pageSize: 10, // 页面大小 + sort: "startTime", + order: "desc", // 默认排序方式 + }; this.selectDate = ""; - this.searchForm.pageNumber = 0; - this.searchForm.pageSize = 10; + this.getDataList(); }, // 时间段分别赋值 diff --git a/seller/src/views/promotion/seckill/seckill.vue b/seller/src/views/promotion/seckill/seckill.vue index 2e22a9d8..3314fa7f 100644 --- a/seller/src/views/promotion/seckill/seckill.vue +++ b/seller/src/views/promotion/seckill/seckill.vue @@ -145,10 +145,14 @@ export default { }, // 重置 handleReset () { - this.searchForm = {}; + this.searchForm = { + // 搜索框初始化对象 + pageNumber: 1, // 当前页数 + pageSize: 10, // 页面大小 + sort: "startTime", + order: "desc", // 默认排序方式 + }; this.selectDate = ""; - this.searchForm.pageNumber = 1; - this.searchForm.pageSize = 10; this.getDataList(); }, // 管理 From 2c32088f4c5b5bf72aa20d0a84a351904fb83c7a Mon Sep 17 00:00:00 2001 From: Yer <17633066053@163.com> Date: Fri, 15 Sep 2023 19:43:41 +0800 Subject: [PATCH 2/5] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E9=83=A8?= =?UTF-8?q?=E5=88=86=E4=BB=A3=E7=A0=81=EF=BC=8C=E6=96=B0=E5=A2=9E=E5=AE=A1?= =?UTF-8?q?=E6=A0=B8=E5=95=86=E5=93=81=E8=A7=86=E9=A2=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manager/src/views/goods/goods-info/goodsDetail.vue | 8 ++++++++ seller/src/views/goods/goods-seller/goods.vue | 14 ++++++-------- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/manager/src/views/goods/goods-info/goodsDetail.vue b/manager/src/views/goods/goods-info/goodsDetail.vue index 4eb3dcff..7446b5ab 100644 --- a/manager/src/views/goods/goods-info/goodsDetail.vue +++ b/manager/src/views/goods/goods-info/goodsDetail.vue @@ -72,6 +72,14 @@ + +