|
|
|
@ -1,5 +1,6 @@
|
|
|
|
|
import { createContext, useEffect, useState, useRef, useMemo } from 'react'
|
|
|
|
|
import { App, Button, Card, Empty, Flex, Select, Spin, Typography, Divider, Modal, List, Row, Col, Tag, Drawer, Input, Tooltip } from 'antd'
|
|
|
|
|
import { DownloadOutlined } from '@ant-design/icons';
|
|
|
|
|
import dayjs from 'dayjs'
|
|
|
|
|
import { InboxIcon, SendPlaneFillIcon, ExpandIcon } from '@/components/Icons'
|
|
|
|
|
import EmailDetailInline from '../Components/EmailDetailInline'
|
|
|
|
@ -40,10 +41,10 @@ const SupplierEmailDrawer = ({ list: otherEmailList, currentConversationID, opi_
|
|
|
|
|
<Drawer
|
|
|
|
|
zIndex={3}
|
|
|
|
|
mask={false}
|
|
|
|
|
width={600}
|
|
|
|
|
width={900}
|
|
|
|
|
styles={{ header: {} }}
|
|
|
|
|
title={`供应商邮件`}
|
|
|
|
|
classNames={{ header: '!py-1 !px-2', body: '!p-1' }}
|
|
|
|
|
classNames={{ header: '!py-1 !px-2', body: '!p-1 [&_.ant-list-pagination]:ms-1' }}
|
|
|
|
|
placement='right'
|
|
|
|
|
onClose={() => {
|
|
|
|
|
setOpen(false)
|
|
|
|
@ -64,7 +65,7 @@ const SupplierEmailDrawer = ({ list: otherEmailList, currentConversationID, opi_
|
|
|
|
|
<List
|
|
|
|
|
dataSource={dataSource}
|
|
|
|
|
pagination={{
|
|
|
|
|
pageSize: 5,
|
|
|
|
|
pageSize: 10,
|
|
|
|
|
// showLessItems: true,
|
|
|
|
|
showSizeChanger: false,
|
|
|
|
|
size: 'small',
|
|
|
|
@ -96,7 +97,7 @@ const SupplierEmailDrawer = ({ list: otherEmailList, currentConversationID, opi_
|
|
|
|
|
{/* </Tooltip> */}
|
|
|
|
|
</div>
|
|
|
|
|
<div className='ml-1 max-w-40'>
|
|
|
|
|
<Typography.Text ellipsis={{ tooltip: emailItem.SenderReceiver }}>{emailItem.SenderReceiver}</Typography.Text>
|
|
|
|
|
<Typography.Text ellipsis={{ tooltip: emailItem.SenderReceiver }}>{emailItem.SenderReceiver.replaceAll('"', '')}</Typography.Text>
|
|
|
|
|
</div>
|
|
|
|
|
<div className='ml-1 max-w-20'>
|
|
|
|
|
<Typography.Text ellipsis={{ tooltip: emailItem.MAI_SendDate }}>{dayjs(emailItem.MAI_SendDate).format('MM-DD HH:mm')}</Typography.Text>
|
|
|
|
|