feat: 更新订单表格字段名称,移除不必要的字段以简化展示

This commit is contained in:
danial
2025-05-15 16:11:25 +08:00
parent d26cf02dad
commit 0a319a5a48
2 changed files with 13 additions and 13 deletions

View File

@@ -151,15 +151,15 @@ const columns: TableColumnData[] = [
}, },
{ {
title: '订单号', title: '订单号',
dataIndex: 'merchantId' dataIndex: 'orderNo'
}, },
{ {
title: '京东订单号', title: '京东订单号',
dataIndex: 'attach' dataIndex: 'jdOrderNo'
}, },
{ {
title: '系统订单号', title: '系统订单号',
dataIndex: 'cardTypeName' dataIndex: 'bankOrderId'
}, },
{ {
title: '支付链接', title: '支付链接',
@@ -171,10 +171,10 @@ const columns: TableColumnData[] = [
tooltip: true, tooltip: true,
ellipsis: true ellipsis: true
}, },
{ // {
title: '订单金额', // title: '订单金额',
dataIndex: 'orderAmount' // dataIndex: 'orderAmount'
}, // },
{ {
title: '状态', title: '状态',
dataIndex: 'status', dataIndex: 'status',
@@ -183,12 +183,12 @@ const columns: TableColumnData[] = [
{ {
title: '创建时间', title: '创建时间',
dataIndex: 'createdAt' dataIndex: 'createdAt'
},
{
title: '操作',
dataIndex: 'operation',
slotName: 'operation'
} }
// {
// title: '操作',
// dataIndex: 'operation',
// slotName: 'operation'
// }
]; ];
const generateFormModel = () => { const generateFormModel = () => {

View File

@@ -102,7 +102,7 @@ const detailData = ref<KamiApiOrderV1OrderSummaryDailyRecord[]>([]);
const rawData = ref<KamiApiOrderV1OrderSummaryDailyRecord[]>([]); const rawData = ref<KamiApiOrderV1OrderSummaryDailyRecord[]>([]);
// 筛选选项数据 // 筛选选项数据
const merchantOptions = ref<{ label: string; value: number }[]>([]); const merchantOptions = ref<{ label: string; value: string }[]>([]);
const roadOptions = ref<{ label: string; value: string }[]>([]); const roadOptions = ref<{ label: string; value: string }[]>([]);
const dateOptions = ref<{ startDate: string; endDate: string }>({ const dateOptions = ref<{ startDate: string; endDate: string }>({
startDate: '', startDate: '',