Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
merchant-manage-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
merchant-manage-ui
Commits
d8e17dab
Commit
d8e17dab
authored
Aug 25, 2022
by
李腾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 订单详情商品名称改为spuName
parent
509670c5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
index.jsx
...s/orderManage/queryOrder/components/DetailModal/index.jsx
+5
-3
index.less
.../orderManage/queryOrder/components/DetailModal/index.less
+3
-0
No files found.
src/pages/orderManage/queryOrder/components/DetailModal/index.jsx
View file @
d8e17dab
...
@@ -33,16 +33,17 @@ const DetailModal = (props, ref) => {
...
@@ -33,16 +33,17 @@ const DetailModal = (props, ref) => {
const
goodColumns
=
[
const
goodColumns
=
[
{
{
title
:
'
商品
'
,
title
:
'
商品
'
,
dataIndex
:
'
s
k
uName
'
,
dataIndex
:
'
s
p
uName
'
,
width
:
350
,
width
:
350
,
render
:
(
value
,
record
)
=>
{
render
:
(
value
,
record
)
=>
{
const
{
primaryImage
,
skuSpec
}
=
record
;
const
{
primaryImage
,
skuSpec
,
spuId
}
=
record
;
return
(
return
(
<
div
className=
{
style
[
'
sku-info
'
]
}
>
<
div
className=
{
style
[
'
sku-info
'
]
}
>
<
img
src=
{
primaryImage
}
width=
"50px"
height=
"50px"
alt=
""
/>
<
img
src=
{
primaryImage
}
width=
"50px"
height=
"50px"
alt=
""
/>
<
div
className=
{
style
[
'
sku-info__box
'
]
}
>
<
div
className=
{
style
[
'
sku-info__box
'
]
}
>
<
p
className=
{
style
[
'
sku-info__box--name
'
]
}
>
{
value
}
</
p
>
<
p
className=
{
style
[
'
sku-info__box--name
'
]
}
>
{
value
}
</
p
>
<
p
className=
{
style
[
'
sku-info__box--spec
'
]
}
>
{
skuSpec
}
</
p
>
{
/* <p className={style['sku-info__box--spec']}>规格:{skuSpec}</p>
<p className={style['sku-info__box--id']}>商品id: {spuId}</p> */
}
</
div
>
</
div
>
</
div
>
</
div
>
);
);
...
@@ -71,6 +72,7 @@ const DetailModal = (props, ref) => {
...
@@ -71,6 +72,7 @@ const DetailModal = (props, ref) => {
title
:
'
售后状态
'
,
title
:
'
售后状态
'
,
width
:
150
,
width
:
150
,
dataIndex
:
'
afterServiceStatusDesc
'
,
dataIndex
:
'
afterServiceStatusDesc
'
,
render
:
value
=>
value
||
'
-
'
,
},
},
];
];
...
...
src/pages/orderManage/queryOrder/components/DetailModal/index.less
View file @
d8e17dab
...
@@ -32,6 +32,9 @@
...
@@ -32,6 +32,9 @@
&--spec {
&--spec {
color: #999;
color: #999;
}
}
&--id {
color: #999;
}
}
}
}
}
...
...
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