From fd4427d9b410a59d2bd73cfc2b303ef402e2ce77 Mon Sep 17 00:00:00 2001
From: 13404089107 <puwei@sinata.cn>
Date: 星期六, 28 六月 2025 16:38:45 +0800
Subject: [PATCH] fix

---
 culture/src/views/pedigree-chart/components/AddSublevelForm.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/culture/src/views/pedigree-chart/components/AddSublevelForm.vue b/culture/src/views/pedigree-chart/components/AddSublevelForm.vue
index d744dfb..27d2bf5 100644
--- a/culture/src/views/pedigree-chart/components/AddSublevelForm.vue
+++ b/culture/src/views/pedigree-chart/components/AddSublevelForm.vue
@@ -128,7 +128,8 @@
       }
     },
     openInitData(value) {
-
+      console.log('weqweqwrqwrqwrqwrwq',value);
+      
       this.dialogTitle = value.title;
       // 获取用户信息
       const userInfo = JSON.parse(sessionStorage.getItem("userInfo") || "{}");
@@ -149,7 +150,7 @@
         formStatus: value.formStatus,
         strainCode1: value.strainCode1,
         strainName1: value.strainName1,
-        thisName: value.createBy ? value.createBy : userInfo.nickName,
+        thisName: value.form.createBy ? value.form.createBy : userInfo.nickName,
         thisTime: value.form.vaccinateTime
           ? value.form.vaccinateTime
           : formatTime,

--
Gitblit v1.7.1