From 4a25e7e3256c85ee07076492a7b5a6fe0b9c7041 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期三, 04 十一月 2026 13:48:16 +0800
Subject: [PATCH] fix(report-preparation): CMA章默认不选中,调整印章自动匹配逻辑

---
 src/views/business/reportPreparation/index.vue |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/views/business/reportPreparation/index.vue b/src/views/business/reportPreparation/index.vue
index 8428612..a8d05ff 100644
--- a/src/views/business/reportPreparation/index.vue
+++ b/src/views/business/reportPreparation/index.vue
@@ -186,7 +186,7 @@
       <div class="seal-select-block" v-loading="sealLoading">
         <div class="seal-select-title">
           <span>鎸変綅缃�夋嫨鍗扮珷</span>
-          <span class="seal-select-tip">鑷姩鍖归厤 MA绔� / 1鍙风珷 / 妫�楠屾娴嬬被鍗扮珷锛屾瘡椤瑰彲鍗曠嫭璋冩暣鎴栨竻绌�</span>
+          <span class="seal-select-tip">CMA绔犻粯璁や笉閫夛紝鎶ュ憡绔犲拰楠戠紳绔犺嚜鍔ㄥ尮閰嶏紝姣忛」鍙崟鐙皟鏁存垨娓呯┖</span>
         </div>
         <div v-if="sealOptions.length" class="seal-position-grid">
           <div v-for="position in sealPositions" :key="position.key" class="seal-position-card">
@@ -1304,15 +1304,15 @@
           .map(item => Number(item.trim()))
           .filter(id => availableIds.includes(id))
         const legacyId = legacyIds[0] || null
-        const maSeal = this.sealOptions.find(item => String(item.name).toUpperCase().includes('MA'))
-        const reportSeal = this.sealOptions.find(item => item.name === '1鍙风珷')
-          || this.sealOptions.find(item => !String(item.name).toUpperCase().includes('MA') && !String(item.name).includes('楠戠紳'))
-          || this.sealOptions[0]
-        const seamSeal = this.sealOptions.find(item => /妫�楠屾娴媩妫�娴嬫楠�/.test(String(item.name || '')))
-          || this.sealOptions.find(item => String(item.name).includes('楠戠紳'))
+        const defaultSealOptions = this.sealOptions.filter(item => !String(item.name).toUpperCase().includes('MA'))
+        const reportSeal = defaultSealOptions.find(item => item.name === '1鍙风珷')
+          || defaultSealOptions.find(item => !String(item.name).includes('楠戠紳'))
+          || defaultSealOptions[0]
+        const seamSeal = defaultSealOptions.find(item => /妫�楠屾娴媩妫�娴嬫楠�/.test(String(item.name || '')))
+          || defaultSealOptions.find(item => String(item.name).includes('楠戠紳'))
         this.selectedSealPositions = {
           maSealId: availableIds.includes(Number(row && row.maSealId))
-            ? Number(row.maSealId) : (maSeal ? Number(maSeal.id) : null),
+            ? Number(row.maSealId) : null,
           reportSealId: availableIds.includes(Number(row && row.reportSealId))
             ? Number(row.reportSealId) : (legacyId || (reportSeal ? Number(reportSeal.id) : null)),
           seamSealId: availableIds.includes(Number(row && row.seamSealId))

--
Gitblit v1.9.3