This commit is contained in:
“wanyongkang”
2021-05-28 17:38:25 +08:00
parent 1752789f9f
commit 84a94be7d2
2 changed files with 14 additions and 0 deletions

View File

@@ -125,6 +125,13 @@ export default {
}, },
methods: { methods: {
search(){ search(){
if(this.searchModel.keyWord.length<1){
this.$message({
message: '请正确填写',
type: 'warning'
})
return
}
this.searchModel.PageIndex=1; this.searchModel.PageIndex=1;
this.get(); this.get();
}, },

View File

@@ -217,6 +217,13 @@ export default {
// this.get() // this.get()
// }, // },
search () { search () {
if(this.searchModel.keyWord.length<1){
this.$message({
message: '请正确填写会员号',
type: 'warning'
})
return
}
if (this.last_month && this.last_month.length === 2) { if (this.last_month && this.last_month.length === 2) {
this.searchModel.last_month.s_time = this.last_month[0] this.searchModel.last_month.s_time = this.last_month[0]
this.searchModel.last_month.e_time = this.last_month[1] this.searchModel.last_month.e_time = this.last_month[1]