Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄庭坚
jinfa-platform
Commits
8a6ad22a
Commit
8a6ad22a
authored
Jul 20, 2021
by
卢均锐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: [12860]
parent
ea6636fb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
8 deletions
+12
-8
basic.tsx
...purchaseAbility/purchaseBid/readyAdd/components/basic.tsx
+4
-0
bidRequirement.tsx
...bility/purchaseBid/readyAdd/components/bidRequirement.tsx
+2
-2
condition.tsx
...haseAbility/purchaseBid/readyAdd/components/condition.tsx
+6
-6
No files found.
src/pages/transaction/purchaseAbility/purchaseBid/readyAdd/components/basic.tsx
View file @
8a6ad22a
...
...
@@ -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'
}
}
>
...
...
src/pages/transaction/purchaseAbility/purchaseBid/readyAdd/components/bidRequirement.tsx
View file @
8a6ad22a
...
...
@@ -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
)
=>
(
...
...
src/pages/transaction/purchaseAbility/purchaseBid/readyAdd/components/condition.tsx
View file @
8a6ad22a
...
...
@@ -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
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment