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
aa51ebde
Commit
aa51ebde
authored
Dec 29, 2020
by
GuanHua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 查询电子合同的问题
parent
0f59f401
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
index.tsx
src/pages/lxMall/order/index.tsx
+7
-5
No files found.
src/pages/lxMall/order/index.tsx
View file @
aa51ebde
...
...
@@ -85,13 +85,15 @@ const Order: React.FC<OrderPropsType> = (props) => {
message
.
error
(
"订单不存在"
)
history
.
goBack
()
}
initOrderInfo
()
if
(
storeId
)
{
initOrderInfo
()
}
return
()
=>
{
if
(
sessionStorage
.
getItem
(
"contractInfo"
))
{
sessionStorage
.
removeItem
(
"contractInfo"
)
}
}
},
[])
},
[
storeId
])
const
initOrderInfo
=
async
()
=>
{
const
result
=
[]
...
...
@@ -120,9 +122,9 @@ const Order: React.FC<OrderPropsType> = (props) => {
try
{
const
param
:
any
=
{
productId
,
shopId
,
storeId
,
memberId
:
o
rderInfo
.
supplyMembersId
,
memberRoleId
:
o
rderInfo
.
supplyMembersRoleId
,
shopId
:
storeId
,
memberId
:
sessionO
rderInfo
.
supplyMembersId
,
memberRoleId
:
sessionO
rderInfo
.
supplyMembersRoleId
,
}
const
rulesRes
=
await
PublicApi
.
getOrderTradingRulesByProductId
(
param
)
const
{
data
}
=
rulesRes
...
...
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