diff --git a/pages/investigation/task.vue b/pages/investigation/task.vue index 0a35fee..0111a71 100644 --- a/pages/investigation/task.vue +++ b/pages/investigation/task.vue @@ -1389,21 +1389,21 @@ } }, bottomButtonTwo() { - // if(!this.formData.roadType){ - // return this.$.toast("请输入道路类型"); - // } - // if(!this.formData.roadWidth){ - // return this.$.toast("请输入道路宽度"); - // } - // if(!this.formData.laneCount){ - // return this.$.toast("请输入车道数"); - // } - // if(!this.formData.designSpeed){ - // return this.$.toast("请输入设计时速"); - // } - // if(!this.formData.limitSpeed){ - // return this.$.toast("请输入限速"); - // } + if(!this.formData.roadType){ + return this.$.toast("请输入道路类型"); + } + if(!this.formData.roadWidth){ + return this.$.toast("请输入道路宽度"); + } + if(!this.formData.laneCount){ + return this.$.toast("请输入车道数"); + } + if(!this.formData.designSpeed){ + return this.$.toast("请输入设计时速"); + } + if(!this.formData.limitSpeed){ + return this.$.toast("请输入限速"); + } this.isEdit = false; this.active = 2; },