From ef42ad77425e0e133b696c654222733cacd3e1db Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期三, 29 四月 2026 11:49:50 +0800
Subject: [PATCH] fix: 付款方式更改为查询字典

---
 src/views/fileManagement/document/index.vue |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/views/fileManagement/document/index.vue b/src/views/fileManagement/document/index.vue
index c31b044..f4eac2d 100644
--- a/src/views/fileManagement/document/index.vue
+++ b/src/views/fileManagement/document/index.vue
@@ -862,12 +862,14 @@
       documentForm[key] = "";
     });
     documentForm.attachments = []; // 鏂板妯″紡涓嬩篃娓呯┖闄勪欢
-    // 璁剧疆榛樿鍊� - 浣跨敤瀛楀吀鏁版嵁鐨勭涓�涓�夐」浣滀负榛樿鍊�
+    // 璁剧疆榛樿鍊� - 鏂囨。鐘舵�侀粯璁よ缃负"姝e父"
     if (document_status.value && document_status.value.length > 0) {
-      documentForm.docStatus = document_status.value[0].value;
+      const normalStatus = document_status.value.find(item => item.label === '姝e父');
+      documentForm.docStatus = normalStatus ? normalStatus.value : document_status.value[0].value;
     }
     if (document_urgency.value && document_urgency.value.length > 0) {
-      documentForm.urgencyLevel = document_urgency.value[0].value;
+      const normalUrgency = document_urgency.value.find(item => item.label === '鏅��');
+      documentForm.urgencyLevel = normalUrgency ? normalUrgency.value : document_urgency.value[0].value;
     }
   }
 };

--
Gitblit v1.9.3