优化进销存统计报表,去掉仓库选择限制

This commit is contained in:
季圣华 2022-04-22 23:47:39 +08:00
parent 0c33e0cba8
commit ecc999df85

View File

@ -122,7 +122,6 @@
depotSelected:[],
depotList: [],
totalCountMoneyStr: '0元',
disableMixinCreated: true,
// 表头
columns: [
{
@ -153,6 +152,7 @@
},
created() {
this.getDepotData()
this.getTotalCountMoney()
},
methods: {
moment,
@ -197,9 +197,7 @@
this.queryParam.monthTime=dateString;
},
searchQuery() {
if(this.depotSelected.length===0){
this.$message.warning('请选择仓库')
} else if(this.queryParam.monthTime == ''){
if(this.queryParam.monthTime == ''){
this.$message.warning('请选择月份')
} else {
this.loadData(1);