|
@@ -780,19 +780,18 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- querySearch10(isExport) {
|
|
|
-
|
|
|
- if (this.timeArray10 == null || this.timeArray10.length == 0) {
|
|
|
- this.$message.warning("请选择支付日期");
|
|
|
- return;
|
|
|
- }
|
|
|
+ querySearch10(isExport) {
|
|
|
|
|
|
if (isExport) {
|
|
|
+ if (this.timeArray10 == null || this.timeArray10.length == 0) {
|
|
|
+ this.$message.warning("请选择支付日期");
|
|
|
+ return;
|
|
|
+ }
|
|
|
let days = moment(this.timeArray10[1]).diff(moment(this.timeArray10[0]), "days");
|
|
|
if (days > 7) {
|
|
|
this.$message.warning("请调整支付日期范围,不能超过7天");
|
|
|
return;
|
|
|
- }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
let temp = {
|