From f6f66196f3ca377eda0afd320e64005c28204c76 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 15 十月 2026 15:44:37 +0800
Subject: [PATCH] fix(crm): 客户分析页表格与图表数据展示问题

---
 src/views/erp/stock/check/modules/form.vue |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/src/views/erp/stock/check/modules/form.vue b/src/views/erp/stock/check/modules/form.vue
index dc493f7..bd79134 100644
--- a/src/views/erp/stock/check/modules/form.vue
+++ b/src/views/erp/stock/check/modules/form.vue
@@ -107,6 +107,16 @@
       formData.value = await getStockCheck(data.id);
       // 璁剧疆鍒� values
       await formApi.setValues(formData.value);
+      if (formData.value?.attachmentList?.length) {
+        const blobIds = formData.value.attachmentList.map((item) => ({
+          uid: String(item.id),
+          name: item.name || '',
+          url: item.url || '',
+          status: 'done',
+          id: item.id,
+        }));
+        await formApi.setFieldValue('blobIds', blobIds);
+      }
     } finally {
       modalApi.unlock();
     }

--
Gitblit v1.9.3