diff --git a/src/views/basicData/breedingBase/breedingBaseForm.vue b/src/views/basicData/breedingBase/breedingBaseForm.vue index 1c20a26..3477b94 100644 --- a/src/views/basicData/breedingBase/breedingBaseForm.vue +++ b/src/views/basicData/breedingBase/breedingBaseForm.vue @@ -41,6 +41,7 @@ const toUpdate = (row) => { geyById(row) } const geyById = (row) => { + formRef.value.clearValidate() showDrawer.value = true selLoading.value = true breedingQueryById({id:row.id}).then(res =>{ @@ -67,6 +68,8 @@ const saveBreedingBase = () => { }).finally(()=>{ loading.value = false }) + }else{ + proxy.$modal.msgError('保存失败,请确认所有信息均已填写'); } }) } @@ -117,7 +120,7 @@ const changeArea = (value) =>{