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
4d454f70
Commit
4d454f70
authored
Jan 24, 2022
by
前端-黄佳鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改商城询价跳转的问题
parent
01aabd83
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
addForm.tsx
...ion/dealAbility/productInquiry/waitAddInquiry/addForm.tsx
+4
-2
rfq.tsx
...saction/dealAbility/productInquiry/waitAddInquiry/rfq.tsx
+1
-0
No files found.
src/pages/transaction/dealAbility/productInquiry/waitAddInquiry/addForm.tsx
View file @
4d454f70
...
...
@@ -33,12 +33,14 @@ interface AddedFormLayoutProps {
title
?:
string
,
/** 二次询价 */
two
?:
boolean
,
/** 商城来询价 */
rfq
?:
boolean
,
/** 二次询价地址显示 */
isDefault
?:
boolean
}
const
AddedFormLayout
:
React
.
FC
<
AddedFormLayoutProps
>
=
(
props
:
any
)
=>
{
const
{
isEdit
,
id
,
fetchRequest
,
spam
,
title
,
two
,
shopId
,
isDefault
}
=
props
;
const
{
isEdit
,
id
,
fetchRequest
,
spam
,
title
,
two
,
shopId
,
rfq
,
isDefault
}
=
props
;
const
[
form
]
=
Form
.
useForm
();
const
[
loading
,
setLoading
]
=
useState
<
boolean
>
(
false
)
const
[
unsaved
,
setUnsaved
]
=
useState
<
boolean
>
(
false
);
...
...
@@ -83,7 +85,7 @@ const AddedFormLayout: React.FC<AddedFormLayoutProps> = (props: any) => {
}
setUnsaved
(
false
);
setLoading
(
false
);
if
(
two
)
{
if
(
two
||
rfq
)
{
history
.
push
(
`/memberCenter/tranactionAbility/productInquiry/waitAddInquiry`
)
return
}
...
...
src/pages/transaction/dealAbility/productInquiry/waitAddInquiry/rfq.tsx
View file @
4d454f70
...
...
@@ -12,6 +12,7 @@ const RfqEnquiryOrder = (props: any) => {
title=
{
props
.
route
.
name
}
fetchRequest=
{
postTransactionInquiryListAdd
}
spam=
{
spam_id
}
rfq
/>
)
}
...
...
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