|
|
|
@ -6,7 +6,7 @@ import { InboxIcon, SendPlaneFillIcon, ExpandIcon } from '@/components/Icons'
|
|
|
|
|
import EmailDetailInline from '../Components/EmailDetailInline'
|
|
|
|
|
import { debounce, isEmpty } from '@/utils/commons'
|
|
|
|
|
|
|
|
|
|
const SupplierEmailDrawer = ({ list: otherEmailList, currentConversationID, opi_sn, oid, emailItem: clickItem, ...props }) => {
|
|
|
|
|
const SupplierEmailDrawer = ({ title, list: otherEmailList, currentConversationID, opi_sn, oid, emailItem: clickItem, ...props }) => {
|
|
|
|
|
const [open, setOpen] = useState(false)
|
|
|
|
|
const [selectedEmail, setSelectedEmail] = useState({})
|
|
|
|
|
const searchInputRef = useRef(null)
|
|
|
|
@ -74,7 +74,7 @@ const SupplierEmailDrawer = ({ list: otherEmailList, currentConversationID, opi_
|
|
|
|
|
title={
|
|
|
|
|
<>
|
|
|
|
|
<Button icon={<CloseOutlined />} onClick={() => setOpen(false)} type='text' size='small' className='text-gray-500' />
|
|
|
|
|
<b>供应商邮件</b>
|
|
|
|
|
<b>{title || '邮件列表'}</b>
|
|
|
|
|
<Input.Search
|
|
|
|
|
className=''
|
|
|
|
|
ref={searchInputRef}
|
|
|
|
|