|
|
|
@ -112,7 +112,8 @@ const AdvanceSearchForm = memo(function noName({ initialValues, onSubmit }) {
|
|
|
|
|
{ value: '4', label: '等待付订金' },
|
|
|
|
|
{ value: '5', label: '成行' },
|
|
|
|
|
{ value: '6', label: '丢失' },
|
|
|
|
|
{ value: '7', label: '取消' }
|
|
|
|
|
{ value: '7', label: '取消' },
|
|
|
|
|
{ value: '8', label: '未报价' }
|
|
|
|
|
]}
|
|
|
|
|
/>
|
|
|
|
|
</Form.Item>
|
|
|
|
@ -187,7 +188,10 @@ 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']} />}
|
|
|
|
|
<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}
|
|
|
|
|
<Badge
|
|
|
|
|
count={record.unread_msg}
|
|
|
|
@ -202,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)
|
|
|
|
@ -221,16 +225,35 @@ function OrderGroupTable({ formValues }) {
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '报价title',
|
|
|
|
|
title: '报价 Title',
|
|
|
|
|
dataIndex: 'lettertitle',
|
|
|
|
|
ellipsis: true,
|
|
|
|
|
hidden: false,
|
|
|
|
|
// render: (text, record) => {
|
|
|
|
|
// return (
|
|
|
|
|
// <Tooltip title={text}>{text}</Tooltip>
|
|
|
|
|
// )
|
|
|
|
|
// }
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '出发日期',
|
|
|
|
|
dataIndex: 'COLI_OrderStartDate',
|
|
|
|
|
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',
|
|
|
|
|
},
|
|
|
|
|
]
|
|
|
|
|