报表优化,增加查询条件校验
This commit is contained in:
@@ -155,13 +155,17 @@
|
||||
}
|
||||
})
|
||||
},
|
||||
searchQuery() {
|
||||
this.loadData(1);
|
||||
this.getTotalCountMoney();
|
||||
},
|
||||
onChange: function (value, dateString) {
|
||||
console.log(dateString);
|
||||
this.queryParam.monthTime=dateString;
|
||||
},
|
||||
searchQuery() {
|
||||
if(this.queryParam.monthTime == ''){
|
||||
this.$message.warning('请选择月份!')
|
||||
} else {
|
||||
this.loadData(1);
|
||||
this.getTotalCountMoney();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user