From cd8b52bdf89a4d1101f72e0ece9f4df22a3d3f7a Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 15 十月 2026 16:03:32 +0800
Subject: [PATCH] feat(mdm): 物料列表隐藏辅单位与销售价列
---
src/views/crm/saleQuotation/modules/ocr-upload.vue | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/views/crm/saleQuotation/modules/ocr-upload.vue b/src/views/crm/saleQuotation/modules/ocr-upload.vue
index db35cb6..09233bb 100644
--- a/src/views/crm/saleQuotation/modules/ocr-upload.vue
+++ b/src/views/crm/saleQuotation/modules/ocr-upload.vue
@@ -4,6 +4,7 @@
import { ref } from 'vue';
import { IconifyIcon } from '@vben/icons';
+import { formatDate } from '@vben/utils';
import { Modal, Button, Upload, Descriptions, Table, Tag, message, Alert } from 'ant-design-vue';
@@ -49,7 +50,7 @@
onSuccess({ blobId }, file);
// 寮�濮� OCR 璇嗗埆
step.value = 1;
- processingTip.value = '姝e湪杩涜 AI OCR 璇嗗埆锛岃绋嶅��...';
+ processingTip.value = '姝e湪杩涜鎶ヤ环鍗曡瘑鍒紝璇风◢鍊�...';
const ocrData = await ocrSaleQuotation(blobId);
// 妫�鏌ラ敊璇�
if (ocrData.rawText && !ocrData.name && !ocrData.customerName && ocrData.items?.length === 0) {
@@ -101,7 +102,7 @@
</script>
<template>
- <Modal v-model:open="open" title="AI 璇嗗埆褰曞叆鎶ヤ环鍗�" width="680px" :footer="null" @cancel="handleClose">
+ <Modal v-model:open="open" title="璇嗗埆褰曞叆鎶ヤ环鍗�" width="680px" :footer="null" @cancel="handleClose">
<!-- Step 0: 涓婁紶 -->
<template v-if="step === 0">
<Upload.Dragger
@@ -140,7 +141,7 @@
<Tag color="orange">{{ ocrResult.customerName }}</Tag>
</Descriptions.Item>
<Descriptions.Item v-if="ocrResult.quotationTime" label="鎶ヤ环鏃ユ湡">
- {{ ocrResult.quotationTime }}
+ {{ formatDate(ocrResult.quotationTime) }}
</Descriptions.Item>
<Descriptions.Item v-if="ocrResult.validUntil" label="鏈夋晥鏈熻嚦">
{{ ocrResult.validUntil }}
--
Gitblit v1.9.3