优化进销存统计报表

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

View File

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