This commit is contained in:
2026-10-13 13:46:56 +08:00
parent 1de73b5f1c
commit 8bf7b20b89
10 changed files with 88 additions and 16 deletions
@@ -168,7 +168,7 @@ const cargoColumns = computed<DataTableColumn[]>(() => isReturnOrder.value ? [
{ key: 'volume', prop: 'volume', label: '体积(m³)', width: 120, align: 'right' },
])
const documentColumns: DataTableColumn[] = [
{ key: 'status', prop: 'status', label: '状态', minWidth: 130 }, { key: 'quantity', prop: 'quantity', label: '换标数量(件)', minWidth: 130 },
{ key: 'status', prop: 'status', label: '状态', minWidth: 130 }, { key: 'quantity', prop: 'quantity', label: '换标数量(箱/件)', minWidth: 150, formatter: (row: { quantity?: number; quantityUnit?: string }) => `${row.quantity ?? '—'}${row.quantityUnit || '件'}` },
{ key: 'type', prop: 'type', label: '单据类型', minWidth: 150 }, { key: 'number', prop: 'number', label: '单据编号', minWidth: 200 },
{ key: 'createdAt', prop: 'createdAt', label: '生成时间', minWidth: 170 }, { key: 'quote', prop: 'quote', label: '报价', minWidth: 150 },
]