Commit 4e02b7b4 authored by p-wanping.song's avatar p-wanping.song

修改重大危险源描述

parent 54405545
...@@ -410,10 +410,10 @@ ...@@ -410,10 +410,10 @@
:key="form.majorHazardSource+'123'" :key="form.majorHazardSource+'123'"
:rules="form.majorHazardSource?[{ required: true, message: '危险源名称不能为空' }]:[]" :rules="form.majorHazardSource?[{ required: true, message: '危险源名称不能为空' }]:[]"
/> />
<van-field label="重大危险源描述" :disabled="!form.majorHazardSource" <van-field label="重大危险源描述" :disabled="!form.majorHazardSource" :required="form.majorHazardSource">
:required="form.majorHazardSource">
<template #input> <template #input>
<van-field <van-field
:disabled="!form.majorHazardSource"
v-model="form.majorHazardSourceDescription" v-model="form.majorHazardSourceDescription"
name="majorHazardSourceDescription" name="majorHazardSourceDescription"
type="textarea" type="textarea"
......
...@@ -412,6 +412,7 @@ ...@@ -412,6 +412,7 @@
:required="form.majorHazardSource"> :required="form.majorHazardSource">
<template #input> <template #input>
<van-field <van-field
:disabled="!form.majorHazardSource"
v-model="form.majorHazardSourceDescription" v-model="form.majorHazardSourceDescription"
name="majorHazardSourceDescription" name="majorHazardSourceDescription"
label="" label=""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment