From 69def06b56f9ab466fda99d309af81e0d70c637d Mon Sep 17 00:00:00 2001
From: 13404089107 <puwei@sinata.cn>
Date: 星期一, 02 六月 2025 18:50:25 +0800
Subject: [PATCH] Merge branch 'main' of http://120.76.84.145:10101/gitblit/r/H5/leshan-laboratory

---
 culture/src/views/pedigree-chart/components/PlanForm.vue |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/culture/src/views/pedigree-chart/components/PlanForm.vue b/culture/src/views/pedigree-chart/components/PlanForm.vue
index 190ba65..dfeb2ca 100644
--- a/culture/src/views/pedigree-chart/components/PlanForm.vue
+++ b/culture/src/views/pedigree-chart/components/PlanForm.vue
@@ -1,6 +1,6 @@
 <template>
     <!-- 设置传代计划数弹窗 -->
-    <el-dialog :title="planForm.status == 'add' ? '新增传代计划数' : planForm.status == 'edit' ? '编辑传代计划数' : '传代计划数详情'" :visible.sync="planDialogVisible"
+    <el-dialog :title="planForm.formStatus == 'add' ? '新增传代计划数' : planForm.formStatus == 'edit' ? '编辑传代计划数' : '传代计划数详情'" :visible.sync="planDialogVisible"
         width="40%" :close-on-click-modal="false">
         <el-form :model="planForm" :rules="planRules" ref="planForm" label-position="top">
             <el-form-item label="菌种源" prop="strainSourceStart">
@@ -28,13 +28,13 @@
                 </el-col>
                 <el-col :span="10">
                     <el-form-item label="传代计划数" prop="generationCount">
-                        <el-input-number :disabled="planForm.status === 'detail'" v-model="planForm.generationCount"
+                        <el-input-number :disabled="planForm.formStatus === 'detail'" v-model="planForm.generationCount"
                             :controls="false" :min="1" placeholder="请输入" />
                     </el-form-item>
                 </el-col>
             </el-row>
         </el-form>
-        <div v-if="planForm.status !== 'detail'" class="dialog-footer">
+        <div v-if="planForm.formStatus !== 'detail'" class="dialog-footer">
             <el-button type="primary" @click="handleSubmit">提交签字</el-button>
         </div>
     </el-dialog>
@@ -75,7 +75,7 @@
                 ...this.planForm,
                 ...value
             }
-            if (value.status == 'edit') {
+            if (value.formStatus == 'edit') {
                 this.planForm.strainCode = value.strainCode1
                 this.planForm.strainName = value.strainName1
             }

--
Gitblit v1.7.1