Commit 5c4a0e64 authored by 季圣华's avatar 季圣华
Browse files

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

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