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
bd7f0b1f
Commit
bd7f0b1f
authored
Apr 13, 2022
by
卢均锐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: [22203] 修改竞价结果保存无法成功,报当前竞价单不是可审核状态,正确可以保存才对
-修改判断状态类型
parent
c51739af
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
index.tsx
.../transaction/purchaseAbility/purchaseBid/detail/index.tsx
+3
-3
No files found.
src/pages/transaction/purchaseAbility/purchaseBid/detail/index.tsx
View file @
bd7f0b1f
...
@@ -296,7 +296,7 @@ const SearchDetail = () => {
...
@@ -296,7 +296,7 @@ const SearchDetail = () => {
switch
(
pathPci
)
{
switch
(
pathPci
)
{
case
'readyAdd'
:
case
'readyAdd'
:
case
'readyAddShop'
:
case
'readyAddShop'
:
if
(
button
===
1
)
{
if
(
button
===
'1'
)
{
return
(
return
(
<
Popconfirm
title=
{
intl
.
formatMessage
({
id
:
'table.purchase.popconfirm1'
})
}
okText=
{
intl
.
formatMessage
({
id
:
'detail.purchase.okText'
})
}
cancelText=
{
intl
.
formatMessage
({
id
:
'detail.purchase.cancelText'
})
}
onConfirm=
{
fetchSubmitBatch
}
>
<
Popconfirm
title=
{
intl
.
formatMessage
({
id
:
'table.purchase.popconfirm1'
})
}
okText=
{
intl
.
formatMessage
({
id
:
'detail.purchase.okText'
})
}
cancelText=
{
intl
.
formatMessage
({
id
:
'detail.purchase.cancelText'
})
}
onConfirm=
{
fetchSubmitBatch
}
>
<
Button
type=
'primary'
>
<
Button
type=
'primary'
>
...
@@ -321,7 +321,7 @@ const SearchDetail = () => {
...
@@ -321,7 +321,7 @@ const SearchDetail = () => {
case
'readySubmitExamineResult'
:
case
'readySubmitExamineResult'
:
return
(
return
(
<
Button
onClick=
{
()
=>
setUploadBidResultVisible
(
true
)
}
type=
'primary'
>
<
Button
onClick=
{
()
=>
setUploadBidResultVisible
(
true
)
}
type=
'primary'
>
<
CheckCircleOutlined
/>
{
button
===
1
?
intl
.
formatMessage
({
id
:
'table.purchase.eidt'
})
:
intl
.
formatMessage
({
id
:
'table.purchase.submit'
})
}{
intl
.
formatMessage
({
id
:
'detail.purchase.bidResultLayout'
})
}
<
CheckCircleOutlined
/>
{
button
===
'1'
?
intl
.
formatMessage
({
id
:
'table.purchase.eidt'
})
:
intl
.
formatMessage
({
id
:
'table.purchase.submit'
})
}{
intl
.
formatMessage
({
id
:
'detail.purchase.bidResultLayout'
})
}
</
Button
>
</
Button
>
)
)
case
'readyConfirm'
:
case
'readyConfirm'
:
...
@@ -600,7 +600,7 @@ const SearchDetail = () => {
...
@@ -600,7 +600,7 @@ const SearchDetail = () => {
signUpIdea
,
signUpIdea
,
urls
urls
}
}
const
_fetch
=
button
===
1
?
postPurchaseBiddingUpdateBiddingReturn
:
postPurchaseBiddingSubmitExamineBiddingReturn
;
const
_fetch
=
button
===
'1'
?
postPurchaseBiddingUpdateBiddingReturn
:
postPurchaseBiddingSubmitExamineBiddingReturn
;
setConfirmLoading
(
true
)
setConfirmLoading
(
true
)
_fetch
(
_params
).
then
(
res
=>
{
_fetch
(
_params
).
then
(
res
=>
{
if
(
res
.
code
===
1000
)
{
if
(
res
.
code
===
1000
)
{
...
...
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