Commit 15cd77b0 by 李伟康

fix(tool-form): add endDate limit for actual delivery date picker

为两个表单的实际交付日期选择器添加了截止日期限制,设置为当前日期,同时补全了配置项格式
1 parent fbea8fea
import dayjs from 'dayjs'
const FORM_LIST = [
[
{
......@@ -86,7 +87,8 @@ const FORM_LIST = [
label:'实际交付日期',
value:'actualDeliveryDate',
type:"single-calendar",
required: true
required: true,
endDate: dayjs().format('YYYY-MM-DD')
},
{
label: '性别',
......
import dayjs from 'dayjs'
const FORM_LIST = [
[
{
......@@ -81,7 +82,8 @@ const FORM_LIST = [
label: '实际交付日期',
value: 'actualDeliveryDate',
type:"single-calendar",
required: true
required: true,
endDate: dayjs().format('YYYY-MM-DD')
},
{
label: '性别',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!