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/ParentForm.vue | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/culture/src/views/pedigree-chart/components/ParentForm.vue b/culture/src/views/pedigree-chart/components/ParentForm.vue index 88487a0..ebd0156 100644 --- a/culture/src/views/pedigree-chart/components/ParentForm.vue +++ b/culture/src/views/pedigree-chart/components/ParentForm.vue @@ -1,7 +1,7 @@ <template> <!-- 新增母代弹窗 --> <el-dialog - :title="planForm.status == 'add' ? '新增母代' : planForm.status == 'edit' ? '编辑母代' : '母代详情'" + :title="planForm.formStatus == 'add' ? '新增母代' : planForm.formStatus == 'edit' ? '编辑母代' : '母代详情'" :visible.sync="planDialogVisible" width="40%" :close-on-click-modal="false" @@ -45,19 +45,19 @@ <el-input disabled v-model="planForm.strainName"></el-input> </el-form-item> </el-col> - <el-col v-if="planForm.vaccinateSignature && planForm.status == 'detail'" :span="10"> + <el-col v-if="planForm.vaccinateSignature && planForm.formStatus == 'detail'" :span="10"> <el-form-item label="接种操作人签字"> <el-image :src="planForm.vaccinateSignature" /> </el-form-item> </el-col> - <el-col v-if="planForm.preserveSignature && planForm.status == 'detail'" :span="10"> + <el-col v-if="planForm.preserveSignature && planForm.formStatus == 'detail'" :span="10"> <el-form-item label="菌种保藏人签字"> <el-image :src="planForm.preserveSignature" /> </el-form-item> </el-col> </el-row> </el-form> - <div v-if="planForm.status == 'add'" class="dialog-footer"> + <div v-if="planForm.formStatus == 'add'" class="dialog-footer"> <el-button type="primary" @click="handleSubmit">提交</el-button> </div> </el-dialog> @@ -124,7 +124,7 @@ }); }, handleStatus(status) { - if (this.planForm.status === "detail") return; + if (this.planForm.formStatus === "detail") return; this.planForm.isDiscarded = status === "save"; this.$forceUpdate(); }, -- Gitblit v1.7.1