报表优化,增加查询条件校验
This commit is contained in:
@@ -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 @@
|
|||||||
this.$message.warning('请选择单据日期!')
|
this.$message.warning('请选择单据日期!')
|
||||||
} else {
|
} else {
|
||||||
this.loadData(1);
|
this.loadData(1);
|
||||||
|
this.initStatistics();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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 @@
|
|||||||
this.$message.warning('请选择单据日期!')
|
this.$message.warning('请选择单据日期!')
|
||||||
} else {
|
} else {
|
||||||
this.loadData(1);
|
this.loadData(1);
|
||||||
|
this.initStatistics();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user