统一后台状态列顺序、详情布局与测量计费展示
This commit is contained in:
@@ -43,6 +43,7 @@ const fields = computed<QueryField[]>(() => [
|
||||
const columns = [
|
||||
{ key: 'actions', label: '操作', fixed: 'left', width: 196, slotName: 'actions', hideable: false, movable: false },
|
||||
{ prop: 'bookingNo', label: '订舱号', minWidth: 150 },
|
||||
{ prop: 'status', label: '状态', minWidth: 110, slotName: 'status', afterColumn: 'bookingNo' },
|
||||
{ prop: 'customerName', label: '客户', minWidth: 160, formatter: (row: OceanBookingResource) => row.customerName || '—' },
|
||||
{ prop: 'billOfLadingNo', label: '提单号', minWidth: 155, formatter: (row: OceanBookingResource) => row.billOfLadingNo || '—' },
|
||||
{ prop: 'shipperName', label: '提单发货人', minWidth: 160, formatter: (row: OceanBookingResource) => row.shipperName || '—' },
|
||||
@@ -55,7 +56,6 @@ const columns = [
|
||||
{ prop: 'pod', label: '目的港', minWidth: 125 },
|
||||
{ prop: 'etd', label: '预计开船', minWidth: 155, slotName: 'etd' },
|
||||
{ prop: 'eta', label: '预计到港', minWidth: 155, slotName: 'eta' },
|
||||
{ prop: 'status', label: '状态', minWidth: 110, slotName: 'status' },
|
||||
{ prop: 'updatedAt', label: '更新时间', minWidth: 155, slotName: 'updatedAt' },
|
||||
]
|
||||
function formatDateTime(value?: string | null) { return value ? value.replace('T', ' ').slice(0, 16) : '—' }
|
||||
|
||||
Reference in New Issue
Block a user