|
|
|
@ -188,10 +188,11 @@ function OrderGroupTable({ formValues }) {
|
|
|
|
|
if (record.buytime > 0) regularText = '(R' + record.buytime + ')'
|
|
|
|
|
return (
|
|
|
|
|
<Space>
|
|
|
|
|
{isNotEmpty(record.coli_guest_WhatsApp) && <WhatsAppOutlined className={['pl-1', record.last_received_time ? 'text-whatsapp' : 'text-neutral-500']} />}
|
|
|
|
|
<Tooltip title={record.coli_guest_WhatsApp}>
|
|
|
|
|
<Conditional
|
|
|
|
|
condition={isNotEmpty(record.coli_guest_WhatsApp)}
|
|
|
|
|
whenTrue={<Tooltip title={record.coli_guest_WhatsApp}><WhatsAppOutlined className={['pl-1', record.last_received_time ? 'text-whatsapp' : 'text-neutral-500']} /></Tooltip>}
|
|
|
|
|
/>
|
|
|
|
|
{text + regularText}
|
|
|
|
|
</Tooltip>
|
|
|
|
|
<Badge
|
|
|
|
|
count={record.unread_msg}
|
|
|
|
|
style={{
|
|
|
|
@ -205,7 +206,7 @@ function OrderGroupTable({ formValues }) {
|
|
|
|
|
{
|
|
|
|
|
title: '订单状态',
|
|
|
|
|
dataIndex: 'COLI_State',
|
|
|
|
|
width: 150,
|
|
|
|
|
width: 120,
|
|
|
|
|
render: (text, record) => {
|
|
|
|
|
// 1新订单<InfoCircleTwoTone />;2未读消息<MessageTwoTone />;3需一催;4需二催;5需三催<PhoneTwoTone />;6未处理邮件<MailTwoTone />
|
|
|
|
|
const needTo = '要催信' + (record.coli_ordertype - 2)
|
|
|
|
@ -224,23 +225,35 @@ function OrderGroupTable({ formValues }) {
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '报价title',
|
|
|
|
|
title: '报价 Title',
|
|
|
|
|
dataIndex: 'lettertitle',
|
|
|
|
|
ellipsis: true,
|
|
|
|
|
hidden: false
|
|
|
|
|
hidden: false,
|
|
|
|
|
// render: (text, record) => {
|
|
|
|
|
// return (
|
|
|
|
|
// <Tooltip title={text}>{text}</Tooltip>
|
|
|
|
|
// )
|
|
|
|
|
// }
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '出发日期',
|
|
|
|
|
dataIndex: 'COLI_OrderStartDate',
|
|
|
|
|
width: 150,
|
|
|
|
|
width: 120,
|
|
|
|
|
hidden: false
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '客人最后一次回复时间',
|
|
|
|
|
dataIndex: 'last_received_time',
|
|
|
|
|
width: 180,
|
|
|
|
|
render: (text, record) => {
|
|
|
|
|
if (record.last_received_time) {
|
|
|
|
|
return new dayjs(record.last_received_time).format('YYYY-MM-DD HH:mm:ss')
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '附加信息',
|
|
|
|
|
ellipsis: true,
|
|
|
|
|
dataIndex: 'COLI_Introduction',
|
|
|
|
|
},
|
|
|
|
|
]
|
|
|
|
|