From 84a94be7d253a89919e60199b635be3766374819 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Fri, 28 May 2021 17:38:25 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=AE=A1=E7=90=86=E7=AB=AF=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E3=80=91=20https://www.tapd.cn/39598945/prong/stories?= =?UTF-8?q?/view/1139598945001000225?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/order/refundsearch.vue | 7 +++++++ src/components/user/statisticsOne.vue | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/src/components/order/refundsearch.vue b/src/components/order/refundsearch.vue index 35b2def..e6a642e 100644 --- a/src/components/order/refundsearch.vue +++ b/src/components/order/refundsearch.vue @@ -125,6 +125,13 @@ export default { }, methods: { search(){ + if(this.searchModel.keyWord.length<1){ + this.$message({ + message: '请正确填写', + type: 'warning' + }) + return + } this.searchModel.PageIndex=1; this.get(); }, diff --git a/src/components/user/statisticsOne.vue b/src/components/user/statisticsOne.vue index 71be93f..05bb4fe 100644 --- a/src/components/user/statisticsOne.vue +++ b/src/components/user/statisticsOne.vue @@ -217,6 +217,13 @@ export default { // this.get() // }, search () { + if(this.searchModel.keyWord.length<1){ + this.$message({ + message: '请正确填写会员号', + type: 'warning' + }) + return + } if (this.last_month && this.last_month.length === 2) { this.searchModel.last_month.s_time = this.last_month[0] this.searchModel.last_month.e_time = this.last_month[1]