浏览代码

手持-收货设置时间区间 2000~2099

fengyanglei 8 月之前
父节点
当前提交
44f796c12a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/inbound/takeDelivery/components/LotDate.vue

+ 1 - 1
src/views/inbound/takeDelivery/components/LotDate.vue

@@ -24,7 +24,7 @@ const currentDate = ref([today.getFullYear(), today.getMonth() + 1, today.getDat
 // 最小日期为当前日期前三年
 const minDate = computed(() => {
   const date = new Date(today)
-  date.setFullYear(today.getFullYear() - 20) // 当前日期减去3年
+  date.setFullYear(today.getFullYear() - 25) // 当前日期减去3年
   return date
 })
 // 最大日期为当前日期后8年