|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
import { LinkOutlined, MailOutlined, PhoneOutlined, UserOutlined, WhatsAppOutlined } from "@ant-design/icons";
|
|
|
|
|
import { LinkOutlined, MailOutlined, PhoneOutlined, UserOutlined, WhatsAppOutlined, FieldNumberOutlined } from "@ant-design/icons";
|
|
|
|
|
import { App, Button, Card, Empty, Flex, Select, Spin, Typography, Divider, Modal, List, Row, Col, Tag } from "antd";
|
|
|
|
|
import { useEffect, useState, useRef, useCallback } from "react";
|
|
|
|
|
import { useNavigate } from "react-router-dom";
|
|
|
|
@ -48,7 +48,6 @@ const CustomerProfile = () => {
|
|
|
|
|
const mapOrderList = orderList.map(o => {
|
|
|
|
|
return { value: o.coli_sn, label: o.coli_id }
|
|
|
|
|
})
|
|
|
|
|
// mapOrderList.unshift({ value: 0, label: "全部" });
|
|
|
|
|
setOrderList(mapOrderList)
|
|
|
|
|
if (!isEmpty(orderList)) {
|
|
|
|
|
setChatOrder(currentOrder)
|
|
|
|
@ -199,6 +198,10 @@ const CustomerProfile = () => {
|
|
|
|
|
<Flex gap={10}>
|
|
|
|
|
<Flex vertical={true} justify="space-between">
|
|
|
|
|
<Typography.Text>
|
|
|
|
|
<FieldNumberOutlined className="pr-1" />
|
|
|
|
|
{orderDetail.order_no}
|
|
|
|
|
</Typography.Text>
|
|
|
|
|
<Typography.Text>
|
|
|
|
|
<UserOutlined className=" pr-1" />
|
|
|
|
|
{customerDetail.name + regularText}
|
|
|
|
|
</Typography.Text>
|
|
|
|
|