优化进销存统计报表
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user