Commit 06093497 authored by 李腾's avatar 李腾

feat: 修改查看物流

parent 8e038f49
......@@ -113,13 +113,17 @@ const TableList = props => {
const renderContent = (record, key) => {
if (record.mchOrderSkuVoList) {
return record?.mchOrderSkuVoList.map((item, index) => (
return record?.mchOrderSkuVoList.map((item, index) => {
const tableContentHeight = item?.expressList?.length || 1;
return (
<div
// eslint-disable-next-line prefer-template
style={{ height: tableContentHeight * 60 + 'px' }}
className={[
'tableContent',
index < record?.mchOrderSkuVoList?.length - 1 ? 'border' : null,
].join(' ')}
// style={{ height: `${(item.expressList?.length || 1) * 60}px` }}
key={item.orderSkuId}
>
{key === 'skuName' ? <PopoverDom name={item[key]} url={item.imageUrl} /> : ''}
......@@ -167,13 +171,14 @@ const TableList = props => {
handleCom(record, item);
}}
>
查看物流1
查看物流
</Button>
) : (
item[key]
)}
</div>
));
);
});
}
return '';
};
......
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