Commit 85216670 authored by 季圣华's avatar 季圣华
Browse files

优化进销存统计报表

parent 3e2bbd0a
...@@ -121,7 +121,8 @@ ...@@ -121,7 +121,8 @@
}, },
depotSelected:[], depotSelected:[],
depotList: [], depotList: [],
totalCountMoneyStr: '', totalCountMoneyStr: '0元',
disableMixinCreated: true,
// 表头 // 表头
columns: [ columns: [
{ {
...@@ -152,7 +153,6 @@ ...@@ -152,7 +153,6 @@
}, },
created() { created() {
this.getDepotData() this.getDepotData()
this.getTotalCountMoney()
}, },
methods: { methods: {
moment, moment,
...@@ -197,7 +197,9 @@ ...@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment