diff --git a/src/views/homesteadSurvey/add.vue b/src/views/homesteadSurvey/add.vue index acdc10e2..fc19bbbc 100644 --- a/src/views/homesteadSurvey/add.vue +++ b/src/views/homesteadSurvey/add.vue @@ -844,6 +844,10 @@ export default { methods: { submitzjd(){ this.$refs.form.validate().then(() => { + if(this.form.theGeomJson == null){ + Dialog({ type: 'danger', message: '请在地图上标注宅基地所在位置!' }); + return; + } if(this.form.id == null){ let surveyItem = JSON.parse(localStorage.getItem("surveyItem")); this.$set(this.form, 'surveyId', surveyItem.id);