|
@@ -60,13 +60,14 @@ export const columns: BasicColumn[] = [
|
|
title: '购买链接',
|
|
title: '购买链接',
|
|
dataIndex: 'realShopUrl',
|
|
dataIndex: 'realShopUrl',
|
|
slots: { customRender: 'realShopUrl' },
|
|
slots: { customRender: 'realShopUrl' },
|
|
|
|
+ ellipsis: true,
|
|
width: 150,
|
|
width: 150,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '商品分类',
|
|
title: '商品分类',
|
|
dataIndex: 'categoryName',
|
|
dataIndex: 'categoryName',
|
|
// slots: { customRender: 'productType' },
|
|
// slots: { customRender: 'productType' },
|
|
- // sorter: true,
|
|
|
|
|
|
+ sorter: true,
|
|
width: 120,
|
|
width: 120,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -76,32 +77,32 @@ export const columns: BasicColumn[] = [
|
|
// customRender: ({ record }) => {
|
|
// customRender: ({ record }) => {
|
|
// return record.steamRoom.name as unknown as {};
|
|
// return record.steamRoom.name as unknown as {};
|
|
// },
|
|
// },
|
|
- // sorter: true,
|
|
|
|
|
|
+ sorter: true,
|
|
width: 120,
|
|
width: 120,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '销售价',
|
|
title: '销售价',
|
|
dataIndex: 'retailPrice',
|
|
dataIndex: 'retailPrice',
|
|
- // sorter: true,
|
|
|
|
|
|
+ sorter: true,
|
|
width: 80,
|
|
width: 80,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '销售量',
|
|
title: '销售量',
|
|
dataIndex: 'sellVolume',
|
|
dataIndex: 'sellVolume',
|
|
- // sorter: true,
|
|
|
|
|
|
+ sorter: true,
|
|
width: 80,
|
|
width: 80,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '市场价',
|
|
title: '市场价',
|
|
dataIndex: 'marketPrice',
|
|
dataIndex: 'marketPrice',
|
|
- // sorter: true,
|
|
|
|
|
|
+ sorter: true,
|
|
width: 80,
|
|
width: 80,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '创建时间',
|
|
title: '创建时间',
|
|
dataIndex: 'addTime',
|
|
dataIndex: 'addTime',
|
|
slots: { customRender: 'addTime' },
|
|
slots: { customRender: 'addTime' },
|
|
- // sorter: true,
|
|
|
|
|
|
+ sorter: true,
|
|
width: 140,
|
|
width: 140,
|
|
},
|
|
},
|
|
{
|
|
{
|