Quellcode durchsuchen

出运明细-筛选时间最大值修改

jbb vor 2 Jahren
Ursprung
Commit
d71be05bfa
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      src/views/shipment-details/shipmentList.vue

+ 2 - 2
src/views/shipment-details/shipmentList.vue

@@ -985,8 +985,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天,请重新选择!');
             }else { 
              this.getShipmentList()