Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-admin
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
linweijiong
jinfa-admin
Commits
0477f6e4
Commit
0477f6e4
authored
Jan 25, 2022
by
前端-黄佳鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改营销活动执行明细订单跳转
parent
b0d0b27b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
detail.tsx
...ges/marketingManage/marketing/marketingExecute/detail.tsx
+4
-4
No files found.
src/pages/marketingManage/marketing/marketingExecute/detail.tsx
View file @
0477f6e4
...
...
@@ -250,9 +250,9 @@ const DetialLayout = () => {
if
(
!
isEmpty
(
DATA
))
{
DATA
.
forEach
(
item
=>
{
if
((
item
.
recordType
===
ORDER_TYPE
)
&&
name
)
{
buy_no
+=
item
[
name
]
buy_no
+=
Number
(
item
[
name
])
}
else
if
((
item
.
recordType
===
REFUND_TYPE
)
&&
name1
)
{
refund_no
+=
item
[
name1
].
toString
().
split
(
'-'
)[
1
]
refund_no
+=
Number
(
item
[
name1
].
toString
().
split
(
'-'
)[
1
])
console
.
log
(
typeof
item
[
name1
],
item
[
name1
])
}
})
...
...
@@ -267,8 +267,8 @@ const DetialLayout = () => {
dataIndex
:
'orderId'
,
render
:
(
_text
,
_r
)
=>
(
<>
{
_r
.
recordType
===
1
&&
<
Button
type=
'link'
target=
'_blank'
onClick=
{
()
=>
history
.
push
(
`/memberCenter/tranactionAbility/saleOrder/orderList/preview
?id=${_r.skuId}`
)
}
>
{
_r
.
orderNo
}
</
Button
>
}
{
_r
.
recordType
===
2
&&
<
Button
type=
'link'
target=
'_blank'
onClick=
{
()
=>
history
.
push
(
`/
memberCenter/afterService/returnManage/returnQ
uery/detail?id=${_text}`
)
}
>
{
_r
.
orderNo
}
</
Button
>
}
{
_r
.
recordType
===
1
&&
<
Button
type=
'link'
target=
'_blank'
onClick=
{
()
=>
history
.
push
(
`/orderSystem/list/detail
?id=${_r.skuId}`
)
}
>
{
_r
.
orderNo
}
</
Button
>
}
{
_r
.
recordType
===
2
&&
<
Button
type=
'link'
target=
'_blank'
onClick=
{
()
=>
history
.
push
(
`/
afterService/returnManage/q
uery/detail?id=${_text}`
)
}
>
{
_r
.
orderNo
}
</
Button
>
}
</>
)
},
...
...
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