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

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

parent 0c33e0cb
...@@ -122,7 +122,6 @@ ...@@ -122,7 +122,6 @@
depotSelected:[], depotSelected:[],
depotList: [], depotList: [],
totalCountMoneyStr: '0元', totalCountMoneyStr: '0元',
disableMixinCreated: true,
// 表头 // 表头
columns: [ columns: [
{ {
...@@ -153,6 +152,7 @@ ...@@ -153,6 +152,7 @@
}, },
created() { created() {
this.getDepotData() this.getDepotData()
this.getTotalCountMoney()
}, },
methods: { methods: {
moment, moment,
...@@ -197,9 +197,7 @@ ...@@ -197,9 +197,7 @@
this.queryParam.monthTime=dateString; this.queryParam.monthTime=dateString;
}, },
searchQuery() { searchQuery() {
if(this.depotSelected.length===0){ if(this.queryParam.monthTime == ''){
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