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
shenshaokai
jinfa-platform
Commits
e83456b4
Commit
e83456b4
authored
Apr 02, 2022
by
卢均锐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: [21807] 新增竞价页面,设置竞价规则的点击起拍价的问号,展示的文案有误,正确:初始起拍价,首次报价要低于或等于起拍价
parent
dddd0cdf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
bidRequirement.tsx
...bility/purchaseBid/readyAdd/components/bidRequirement.tsx
+2
-2
bidRules.tsx
...chaseAbility/purchaseBid/readyAdd/components/bidRules.tsx
+3
-3
No files found.
src/pages/transaction/purchaseAbility/purchaseBid/readyAdd/components/bidRequirement.tsx
View file @
e83456b4
...
...
@@ -126,10 +126,10 @@ const BidRequirement: React.FC<Iprops> = (props: any) => {
{
required
:
true
,
message
:
intl
.
formatMessage
({
id
:
'detail.purchase.message45'
})
},
()
=>
({
async
validator
(
_
,
value
)
{
let
_exVal
=
await
exRef
.
current
.
biddingTime
();
if
(
_exVal
[
0
]
&&
moment
(
value
[
1
]).
isAfter
(
_exVal
[
0
]))
{
if
(
_exVal
?.[
0
]
&&
value
?.[
1
]
&&
moment
(
value
?.[
1
]).
isAfter
(
_exVal
?.
[
0
]))
{
return
Promise
.
reject
(
new
Error
(
intl
.
formatMessage
({
id
:
'detail.purchase.message46'
})));
}
if
(
!
value
[
0
]
||
!
value
[
1
])
{
if
(
!
value
?.[
0
]
||
!
value
?.
[
1
])
{
return
Promise
.
reject
(
new
Error
(
intl
.
formatMessage
({
id
:
'detail.purchase.message45'
})));
}
else
{
return
Promise
.
resolve
();
...
...
src/pages/transaction/purchaseAbility/purchaseBid/readyAdd/components/bidRules.tsx
View file @
e83456b4
...
...
@@ -116,10 +116,10 @@ const BidRules: React.FC<Iprops> = (props: any) => {
{
required
:
true
,
message
:
intl
.
formatMessage
({
id
:
'detail.purchase.message47'
})
},
()
=>
({
async
validator
(
_
,
value
)
{
let
_exVal
=
await
exRef
.
current
.
signUpTime
();
if
(
_exVal
[
1
]
&&
moment
(
value
[
0
]).
isBefore
(
_exVal
[
1
]))
{
if
(
_exVal
?.[
1
]
&&
value
?.[
0
]
&&
moment
(
value
?.[
0
]).
isBefore
(
_exVal
?.
[
1
]))
{
return
Promise
.
reject
(
new
Error
(
intl
.
formatMessage
({
id
:
'detail.purchase.message48'
})));
}
if
(
!
value
[
0
]
||
!
value
[
1
])
{
if
(
!
value
?.[
0
]
||
!
value
?.
[
1
])
{
return
Promise
.
reject
(
new
Error
(
intl
.
formatMessage
({
id
:
'detail.purchase.message47'
})));
}
else
{
return
Promise
.
resolve
();
...
...
@@ -139,7 +139,7 @@ const BidRules: React.FC<Iprops> = (props: any) => {
</
Form
.
Item
>
<
Form
.
Item
name=
'isStartingPrice'
label=
{
<
Tooltip
placement=
"right"
title=
{
intl
.
formatMessage
({
id
:
'd
d
etail.purchase.tips9'
})
}
>
{
intl
.
formatMessage
({
id
:
'detail.purchase.startingPrice'
})
}
<
QuestionCircleOutlined
style=
{
{
marginLeft
:
'5px'
}
}
/></
Tooltip
>
}
label=
{
<
Tooltip
placement=
"right"
title=
{
intl
.
formatMessage
({
id
:
'detail.purchase.tips9'
})
}
>
{
intl
.
formatMessage
({
id
:
'detail.purchase.startingPrice'
})
}
<
QuestionCircleOutlined
style=
{
{
marginLeft
:
'5px'
}
}
/></
Tooltip
>
}
>
<
Checkbox
checked=
{
isStartingPrice
}
onChange=
{
(
e
)
=>
{
onCheckboxChange
(
e
,
setIsStartingPrice
,
'startingPrice'
)
}
}
>
{
intl
.
formatMessage
({
id
:
'detail.purchase.isStartingPrice'
})
}
</
Checkbox
>
</
Form
.
Item
>
...
...
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