优化进销存统计报表

This commit is contained in:
季圣华
2021-12-03 23:24:15 +08:00
parent 3e2bbd0a1b
commit 85216670e4

View File

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