diff --git a/src/stores/OrderStore.js b/src/stores/OrderStore.js
index a8963a0..c85ef28 100644
--- a/src/stores/OrderStore.js
+++ b/src/stores/OrderStore.js
@@ -12,6 +12,8 @@ const useOrderStore = create((set, get) => ({
lastQuotation: {},
+ quotationList: [],
+
fetchOrderDetail: async (colisn) => {
const json = await fetchJSON(`${API_HOST}/getorderinfo`, { colisn })
if (json.errcode === 0 && json.result.length > 0) {
@@ -20,6 +22,7 @@ const useOrderStore = create((set, get) => ({
orderDetail: orderResult,
customerDetail: orderResult.contact.length > 0 ? orderResult.contact[0] : {},
lastQuotation: orderResult.quotes.length > 0 ? orderResult.quotes[0] : {},
+ quotationList: orderResult.quotes,
}))
}
},
diff --git a/src/views/AuthApp.jsx b/src/views/AuthApp.jsx
index 1bffdea..ad59010 100644
--- a/src/views/AuthApp.jsx
+++ b/src/views/AuthApp.jsx
@@ -77,9 +77,8 @@ function AuthApp() {
selectedKeys={[defaultPath]}
items={[
{ key: '/order/follow', label: 订单跟踪 },
- { key: '/order/chat', label: 销售聊天 },
+ { key: '/order/chat', label: 在线聊天 },
{ key: '/chat/history', label: 聊天历史 },
- { key: '/sales/management', label: 销售管理 }
]}
/>
diff --git a/src/views/ChatHistory.jsx b/src/views/ChatHistory.jsx
index 96dd59d..dc608c9 100644
--- a/src/views/ChatHistory.jsx
+++ b/src/views/ChatHistory.jsx
@@ -44,48 +44,48 @@ const SearchForm = memo(function ({ onSubmit }) {
maxWidth: 'none',
}}
>
-
+
-
+