浏览代码

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

jbb 2 年之前
父节点
当前提交
d71be05bfa
共有 1 个文件被更改,包括 2 次插入2 次删除
  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()