报表优化,增加查询条件校验

This commit is contained in:
季圣华
2021-06-04 21:39:07 +08:00
parent cdb8bb17e0
commit 5c4a0e6466
2 changed files with 2 additions and 8 deletions

View File

@@ -184,10 +184,6 @@
this.pleaseSelect = ''
}
},
searchQuery() {
this.loadData(1);
this.initStatistics();
},
myHandleDetail(record) {
findBillDetailByNumber({ number: record.number }).then((res) => {
if (res && res.code === 200) {
@@ -200,6 +196,7 @@
this.$message.warning('请选择单据日期!')
} else {
this.loadData(1);
this.initStatistics();
}
}
}

View File

@@ -185,10 +185,6 @@
this.pleaseSelect = ''
}
},
searchQuery() {
this.loadData(1);
this.initStatistics();
},
myHandleDetail(record) {
findBillDetailByNumber({ number: record.number }).then((res) => {
if (res && res.code === 200) {
@@ -201,6 +197,7 @@
this.$message.warning('请选择单据日期!')
} else {
this.loadData(1);
this.initStatistics();
}
}
}