去掉预约时间必填校验

master
doublekou 1 year ago
parent 639711fda1
commit 08c30cac9c

@ -277,6 +277,11 @@
:style="{ width: title === '详情' || title === '分发' ? '103%' : '100%' }" :style="{ width: title === '详情' || title === '分发' ? '103%' : '100%' }"
/> />
</a-form-item> </a-form-item>
<!-- :rules="{
required: true,
message: '请选择预约日期',
trigger: 'change'
}" -->
<a-form-item <a-form-item
style="width: 30%" style="width: 30%"
label="预约时间" label="预约时间"
@ -290,11 +295,6 @@
? { sm: { span: 24 }, md: { span: 15 } } ? { sm: { span: 24 }, md: { span: 15 } }
: { sm: { span: 24 }, md: { span: 15 } } : { sm: { span: 24 }, md: { span: 15 } }
" "
:rules="{
required: true,
message: '请选择预约日期',
trigger: 'change'
}"
:name="['customStoreEntities', index, 'reservationDate']" :name="['customStoreEntities', index, 'reservationDate']"
> >
<a-space direction="vertical"> <a-space direction="vertical">
@ -306,6 +306,11 @@
/> />
</a-space> </a-space>
</a-form-item> </a-form-item>
<!-- :rules="{
required: true,
message: '请选择预约时间',
trigger: 'change'
}" -->
<a-form-item <a-form-item
style="width: 18%" style="width: 18%"
:label-col=" :label-col="
@ -318,11 +323,6 @@
? { sm: { span: 24 }, md: { span: 24 } } ? { sm: { span: 24 }, md: { span: 24 } }
: { sm: { span: 24 }, md: { span: 24 } } : { sm: { span: 24 }, md: { span: 24 } }
" "
:rules="{
required: true,
message: '请选择预约时间',
trigger: 'change'
}"
:name="['customStoreEntities', index, 'reservationTime']" :name="['customStoreEntities', index, 'reservationTime']"
> >
<a-space style="width: 100%"> <a-space style="width: 100%">

@ -22,13 +22,13 @@ import { antdvStyleDeps } from './src/utils/resolvers'
//项目 //项目
// const serverAddress = 'http://admin.ballcat.cn' // const serverAddress = 'http://admin.ballcat.cn'
//xy //xy
// const serverAddress = 'http://172.18.0.225:8000' const serverAddress = 'http://172.18.0.225:8000'
//jt //jt
// const serverAddress = 'http://172.18.1.8:8000' // const serverAddress = 'http://172.18.1.8:8000'
//ts //ts
// const serverAddress = 'http://172.18.0.228:8000' // const serverAddress = 'http://172.18.0.228:8000'
//测试 //测试
const serverAddress = 'http://39.100.77.21:8000' // const serverAddress = 'http://39.100.77.21:8000'
//线上ip //线上ip
// const serverAddress = 'http://175.27.212.74:80' // const serverAddress = 'http://175.27.212.74:80'

Loading…
Cancel
Save