|
@@ -641,8 +641,8 @@ export default {
|
|
|
var startDate = new Date(startDates[0], startDates[1]-1, startDates[2]);
|
|
|
var endDate = new Date(endDates[0], endDates[1]-1, endDates[2]);
|
|
|
var timeInterval= parseInt(Math.abs(endDate - startDate ) / 1000 / 60 / 60 /24) + 1;
|
|
|
- if(timeInterval > 31 ){
|
|
|
- this.$message.error('预发货时间区间超过31天,请重新选择!');
|
|
|
+ if(timeInterval > 60 ){
|
|
|
+ this.$message.error('预发货时间区间超过60天,请重新选择!');
|
|
|
this.range = []
|
|
|
this.queryParam.preDeliveryDateS = ''
|
|
|
this.queryParam.preDeliveryDateE = ''
|