fix(shipping-notice): 修复模板签名误杀 Qty.Req 并加固订单抽取链路
收紧动态 token 过滤避免列名被剔除;同步表区裁剪、物理表门禁、邮件补充合并与对话附件折叠展示。
This commit is contained in:
1 parent
e40743871c
commit
5ce9221476
29 files changed
+1702
-108
No files matched your search
@@ -3,6 +3,7 @@
|
||||
* 用途:渲染单条聊天消息,统一承接用户气泡、助手 Markdown、内嵌文件下载、请假/出货子组件与操作栏。
|
||||
* 依赖:Vue computed、lucide 图标、消息附件/Leave/Shipping 子组件、chat.types 与页面级 handlers。
|
||||
* 逻辑:由 ChatMessageList 按消息逐条挂载;货代履约写按钮不在气泡内渲染,仅展示只读卡与深链通知。
|
||||
* 用户附件区支持 summaryOnly:下方已有抽取进度卡时只显示附件摘要。
|
||||
* 兼容:同时承接采购合同审查、库存映射、订单提取和 Mermaid 展示。
|
||||
*/
|
||||
<script setup lang="ts">
|
||||
@@ -60,6 +61,7 @@ const {
|
||||
handlers,
|
||||
leaveHandlers,
|
||||
shippingHandlers,
|
||||
attachmentSummaryOnly = false,
|
||||
} = defineProps<{
|
||||
message: ChatMessage;
|
||||
index: number;
|
||||
@@ -74,6 +76,8 @@ const {
|
||||
shippingHandlers: ShippingMessageHandlers;
|
||||
trainingHandlers: TrainingHandlers;
|
||||
compactShippingProgress?: boolean;
|
||||
/** 下方已有货代进度卡时,用户气泡附件只显示摘要。 */
|
||||
attachmentSummaryOnly?: boolean;
|
||||
}>();
|
||||
|
||||
const emit = defineEmits<{
|
||||
@@ -729,6 +733,7 @@ function handleInlineDownload(file: InlineDownloadFile): void {
|
||||
<ChatMessageAttachmentList
|
||||
v-if="message.attachments?.length"
|
||||
:attachments="message.attachments"
|
||||
:summary-only="attachmentSummaryOnly"
|
||||
/>
|
||||
<div v-if="hasUserContent" class="whitespace-pre-wrap px-2.5 py-1">{{ message.content }}</div>
|
||||
</template>
|
||||
|
||||
Reference in new issue
Block a user