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
66628f55
Commit
66628f55
authored
Dec 29, 2020
by
前端-黄佳鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改提交商品询价不能拒绝的问题
parent
44bd470c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
3 deletions
+23
-3
details.tsx
src/pages/transaction/goodsOffer/components/details.tsx
+23
-3
No files found.
src/pages/transaction/goodsOffer/components/details.tsx
View file @
66628f55
import
React
,
{
useState
,
useEffect
}
from
'react'
;
import
style
from
'./index.less'
;
import
{
history
}
from
'umi'
;
import
{
Button
,
Tabs
,
Steps
,
Table
}
from
'antd'
;
import
{
Button
,
Tabs
,
Steps
,
Table
,
Popconfirm
}
from
'antd'
;
import
{
ColumnType
}
from
'antd/lib/table/interface'
;
import
{
CheckSquareOutlined
,
LinkOutlined
}
from
'@ant-design/icons'
import
{
PageHeaderWrapper
}
from
'@ant-design/pro-layout'
;
...
...
@@ -240,6 +240,18 @@ const Details: React.FC<parmas> = (props) => {
})
},
[])
const
handleSubmit
=
()
=>
{
const
value
=
{
id
,
state
:
1
,
}
PublicApi
.
postOrderInquiryListSubmit
(
value
).
then
(
res
=>
{
if
(
res
.
code
===
1000
)
{
history
.
goBack
()
}
})
}
return
(
<
PageHeaderWrapper
className=
{
style
.
header
}
...
...
@@ -267,9 +279,17 @@ const Details: React.FC<parmas> = (props) => {
}
{
(
last
===
'details'
&&
Number
(
page_type
)
===
6
&&
data
.
interiorState
===
1
)
&&
<
Button
className=
{
style
[
'saveBtn'
]
}
onClick=
{
()
=>
setvisible
(
true
)
}
>
<
CheckSquareOutlined
/>
提交
<
Popconfirm
title=
"确定要提交吗?"
okText=
"是"
cancelText=
"否"
onConfirm=
{
handleSubmit
}
>
<
Button
className=
{
style
[
'saveBtn'
]
}
>
<
CheckSquareOutlined
/>
提交
</
Button
>
</
Popconfirm
>
}
</>
}
...
...
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