报表优化,增加查询条件校验
This commit is contained in:
parent
16b3153b1c
commit
f6d96a3f81
@ -108,6 +108,13 @@
|
|||||||
onChange: function (value, dateString) {
|
onChange: function (value, dateString) {
|
||||||
console.log(dateString);
|
console.log(dateString);
|
||||||
this.queryParam.monthTime=dateString;
|
this.queryParam.monthTime=dateString;
|
||||||
|
},
|
||||||
|
searchQuery() {
|
||||||
|
if(this.queryParam.monthTime == ''){
|
||||||
|
this.$message.warning('请选择月份!')
|
||||||
|
} else {
|
||||||
|
this.loadData(1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -194,6 +194,13 @@
|
|||||||
this.handleDetail(res.data, record.type);
|
this.handleDetail(res.data, record.type);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
},
|
||||||
|
searchQuery() {
|
||||||
|
if(this.queryParam.beginTime == '' || this.queryParam.endTime == ''){
|
||||||
|
this.$message.warning('请选择单据日期!')
|
||||||
|
} else {
|
||||||
|
this.loadData(1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -183,6 +183,13 @@
|
|||||||
this.handleDetail(res.data, record.newType);
|
this.handleDetail(res.data, record.newType);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
},
|
||||||
|
searchQuery() {
|
||||||
|
if(this.queryParam.beginTime == '' || this.queryParam.endTime == ''){
|
||||||
|
this.$message.warning('请选择单据日期!')
|
||||||
|
} else {
|
||||||
|
this.loadData(1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -162,6 +162,13 @@
|
|||||||
this.$message.info(res.data);
|
this.$message.info(res.data);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
},
|
||||||
|
searchQuery() {
|
||||||
|
if(this.queryParam.beginTime == '' || this.queryParam.endTime == ''){
|
||||||
|
this.$message.warning('请选择单据日期!')
|
||||||
|
} else {
|
||||||
|
this.loadData(1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -155,13 +155,17 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
searchQuery() {
|
|
||||||
this.loadData(1);
|
|
||||||
this.getTotalCountMoney();
|
|
||||||
},
|
|
||||||
onChange: function (value, dateString) {
|
onChange: function (value, dateString) {
|
||||||
console.log(dateString);
|
console.log(dateString);
|
||||||
this.queryParam.monthTime=dateString;
|
this.queryParam.monthTime=dateString;
|
||||||
|
},
|
||||||
|
searchQuery() {
|
||||||
|
if(this.queryParam.monthTime == ''){
|
||||||
|
this.$message.warning('请选择月份!')
|
||||||
|
} else {
|
||||||
|
this.loadData(1);
|
||||||
|
this.getTotalCountMoney();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -183,6 +183,13 @@
|
|||||||
this.handleDetail(res.data, record.newType);
|
this.handleDetail(res.data, record.newType);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
},
|
||||||
|
searchQuery() {
|
||||||
|
if(this.queryParam.beginTime == '' || this.queryParam.endTime == ''){
|
||||||
|
this.$message.warning('请选择单据日期!')
|
||||||
|
} else {
|
||||||
|
this.loadData(1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -162,6 +162,13 @@
|
|||||||
this.$message.info(res.data);
|
this.$message.info(res.data);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
},
|
||||||
|
searchQuery() {
|
||||||
|
if(this.queryParam.beginTime == '' || this.queryParam.endTime == ''){
|
||||||
|
this.$message.warning('请选择单据日期!')
|
||||||
|
} else {
|
||||||
|
this.loadData(1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -111,6 +111,13 @@
|
|||||||
onChange: function (value, dateString) {
|
onChange: function (value, dateString) {
|
||||||
console.log(dateString);
|
console.log(dateString);
|
||||||
this.queryParam.monthTime=dateString;
|
this.queryParam.monthTime=dateString;
|
||||||
|
},
|
||||||
|
searchQuery() {
|
||||||
|
if(this.queryParam.monthTime == ''){
|
||||||
|
this.$message.warning('请选择月份!')
|
||||||
|
} else {
|
||||||
|
this.loadData(1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -195,6 +195,13 @@
|
|||||||
this.handleDetail(res.data, record.type);
|
this.handleDetail(res.data, record.type);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
},
|
||||||
|
searchQuery() {
|
||||||
|
if(this.queryParam.beginTime == '' || this.queryParam.endTime == ''){
|
||||||
|
this.$message.warning('请选择单据日期!')
|
||||||
|
} else {
|
||||||
|
this.loadData(1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user