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

fix: [12860]

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