mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-25 05:49:20 +08:00
feat: 订单列表增加更多可排序列(订单号、店铺名称、数量、实收金额)
This commit is contained in:
@@ -116,12 +116,14 @@ const gridOptions: VxeGridProps<any> = {
|
|||||||
title: '平台订单号',
|
title: '平台订单号',
|
||||||
minWidth: 'auto',
|
minWidth: 'auto',
|
||||||
showOverflow: 'tooltip' as const,
|
showOverflow: 'tooltip' as const,
|
||||||
|
sortable: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'shopName',
|
field: 'shopName',
|
||||||
title: '店铺名称',
|
title: '店铺名称',
|
||||||
minWidth: 'auto',
|
minWidth: 'auto',
|
||||||
showOverflow: 'tooltip' as const,
|
showOverflow: 'tooltip' as const,
|
||||||
|
sortable: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '商品信息',
|
title: '商品信息',
|
||||||
@@ -129,13 +131,16 @@ const gridOptions: VxeGridProps<any> = {
|
|||||||
slots: { default: 'productInfo' },
|
slots: { default: 'productInfo' },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
field: 'quantity',
|
||||||
title: '数量',
|
title: '数量',
|
||||||
minWidth: 'auto',
|
minWidth: 'auto',
|
||||||
slots: { default: 'quantity' },
|
sortable: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
field: 'receivedAmount',
|
||||||
title: '实收金额',
|
title: '实收金额',
|
||||||
minWidth: 'auto',
|
minWidth: 'auto',
|
||||||
|
sortable: true,
|
||||||
slots: { default: 'receivedAmount' },
|
slots: { default: 'receivedAmount' },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user