feat: 订单列表增加更多可排序列(订单号、店铺名称、数量、实收金额)

This commit is contained in:
小蟑螂
2026-03-27 21:04:59 +08:00
parent 8a908a178d
commit 5f96f28ebd
@@ -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' },
}, },
{ {