Commit 8a6ad22a authored by 卢均锐's avatar 卢均锐

fix: [12860]

parent ea6636fb
......@@ -226,6 +226,10 @@ const BasicInfo: React.FC<Iprops> = (props: any) => {
<Input maxLength={60} placeholder='最长60个字符,30个汉字' />
</Form.Item>
<Form.Item
rules={[
{ required: true, message: '请添加适用地市' },
]}
required
label={<Tooltip placement="right" title='设置了归属地市后,此商品可根据地市进行筛选,未设置时默认为所有地市'>适用地市<QuestionCircleOutlined style={{ marginLeft: '5px' }} /></Tooltip>}
style={{ marginBottom: '0' }}
>
......
......@@ -147,7 +147,7 @@ const BidRequirement: React.FC<Iprops> = (props: any) => {
label="报名要求"
name="demand"
rules={[
{ required: true, message: '请输入报名要求' },
// { required: true, message: '请输入报名要求' },
{
validator: (r, v) => validatorByte(v, 200)
}
......@@ -158,7 +158,7 @@ const BidRequirement: React.FC<Iprops> = (props: any) => {
<Form.Item
label="报名要求附件"
name="demandUrls"
rules={[{ required: true, message: '请上传报名要求附件' }]}
// rules={[{ required: true, message: '请上传报名要求附件' }]}
>
<div className={styles.upload_data}>
{files.length > 0 && files.map((v, index) => (
......
......@@ -145,7 +145,7 @@ const Condition: React.FC<Iprops> = (props: any) => {
label="报价要求"
name="offer"
rules={[
{ required: true, message: '请输入报价要求' },
// { required: true, message: '请输入报价要求' },
{
validator: (r, v) => validatorByte(v, 100)
}
......@@ -157,7 +157,7 @@ const Condition: React.FC<Iprops> = (props: any) => {
label="付款方式"
name="paymentType"
rules={[
{ required: true, message: '请输入付款方式' },
// { required: true, message: '请输入付款方式' },
{
validator: (r, v) => validatorByte(v, 100)
}
......@@ -169,7 +169,7 @@ const Condition: React.FC<Iprops> = (props: any) => {
label="税费要求"
name="taxes"
rules={[
{ required: true, message: '请输入税费要求' },
// { required: true, message: '请输入税费要求' },
{
validator: (r, v) => validatorByte(v, 100)
}
......@@ -181,7 +181,7 @@ const Condition: React.FC<Iprops> = (props: any) => {
label="物流要求"
name="logistics"
rules={[
{ required: true, message: '请输入物流要求' },
// { required: true, message: '请输入物流要求' },
{
validator: (r, v) => validatorByte(v, 100)
}
......@@ -193,7 +193,7 @@ const Condition: React.FC<Iprops> = (props: any) => {
label="包装要求"
name="packRequire"
rules={[
{ required: true, message: '请输入包装要求' },
// { required: true, message: '请输入包装要求' },
{
validator: (r, v) => validatorByte(v, 100)
}
......@@ -205,7 +205,7 @@ const Condition: React.FC<Iprops> = (props: any) => {
label="其他要求"
name="otherRequire"
rules={[
{ required: true, message: '请输入其他要求' },
// { required: true, message: '请输入其他要求' },
{
validator: (r, v) => validatorByte(v, 100)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment