From 538a85d255649dde4ad148732386b5937b5fc34e Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期一, 23 十二月 2024 10:21:40 +0800
Subject: [PATCH] 完成cnas7.1搬迁

---
 src/components/do/a8-file-handling/DistributionCollectionRecord.vue |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/components/do/a8-file-handling/DistributionCollectionRecord.vue b/src/components/do/a8-file-handling/DistributionCollectionRecord.vue
index 14e26fb..a71f9ac 100644
--- a/src/components/do/a8-file-handling/DistributionCollectionRecord.vue
+++ b/src/components/do/a8-file-handling/DistributionCollectionRecord.vue
@@ -441,9 +441,11 @@
     changeFileList(e){
       if(e){
         let obj = this.fileList.find(a=>a.documentCode == e)
-        this.addInfo.name = obj.name
-        this.addInfo.version = obj.version
-        this.addInfo.state = obj.state
+        if(obj){
+          this.addInfo.name = obj.name
+          this.addInfo.version = obj.version
+          this.addInfo.state = obj.state
+        }
       }
     },
     // 鎻愪氦

--
Gitblit v1.9.3