Commit d8e17dab authored by 李腾's avatar 李腾

feat: 订单详情商品名称改为spuName

parent 509670c5
...@@ -33,16 +33,17 @@ const DetailModal = (props, ref) => { ...@@ -33,16 +33,17 @@ const DetailModal = (props, ref) => {
const goodColumns = [ const goodColumns = [
{ {
title: '商品', title: '商品',
dataIndex: 'skuName', dataIndex: 'spuName',
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 || '-',
}, },
]; ];
......
...@@ -32,6 +32,9 @@ ...@@ -32,6 +32,9 @@
&--spec { &--spec {
color: #999; color: #999;
} }
&--id {
color: #999;
}
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment