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/FileObsoletionRequest.vue |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/components/do/a8-file-handling/FileObsoletionRequest.vue b/src/components/do/a8-file-handling/FileObsoletionRequest.vue
index 0af73dc..1924a99 100644
--- a/src/components/do/a8-file-handling/FileObsoletionRequest.vue
+++ b/src/components/do/a8-file-handling/FileObsoletionRequest.vue
@@ -374,9 +374,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.documentState = obj.state
+        if(obj){
+          this.addInfo.name = obj.name
+          this.addInfo.version = obj.version
+          this.addInfo.documentState = obj.state
+        }
       }
     },
     handleUpdate(row){

--
Gitblit v1.9.3