diff --git a/jshERP-web/src/views/report/InOutStockReport.vue b/jshERP-web/src/views/report/InOutStockReport.vue index df513939..46fc9668 100644 --- a/jshERP-web/src/views/report/InOutStockReport.vue +++ b/jshERP-web/src/views/report/InOutStockReport.vue @@ -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);