Ver código fonte

出运明细调整

huxy 1 semana atrás
pai
commit
9aa75e69e8
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      src/views/shipment-details/shipmentList.vue

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

@@ -1333,8 +1333,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 > 60){
-             this.$message.error('预发货时间区间超过60天,请重新选择!');
+            if(timeInterval > 180){
+             this.$message.error('预发货时间区间超过180天,请重新选择!');
             }else {
               this.queryParam.id = ''
              this.getShipmentList()