Commit c0968008 authored by 王晓倩's avatar 王晓倩

设备巡检修改校验

parent 2b94b455
...@@ -158,6 +158,7 @@ ...@@ -158,6 +158,7 @@
@change="handleChange" @change="handleChange"
filterable filterable
clearable clearable
style="width: 640px"
></el-cascader> ></el-cascader>
</el-form-item> </el-form-item>
<el-form-item label="开始时间" prop="startTime"> <el-form-item label="开始时间" prop="startTime">
...@@ -289,6 +290,12 @@ ...@@ -289,6 +290,12 @@
devices: [ devices: [
{ required: true, message: '请选择巡检设备', trigger: 'change', type: 'array' } { required: true, message: '请选择巡检设备', trigger: 'change', type: 'array' }
], ],
startTime: [
{ required: true, message: '请选择开始时间', trigger: 'blur' }
],
endTime: [
{ required: true, message: '请选择结束事件', trigger: 'blur' }
],
} }
}; };
}, },
...@@ -349,7 +356,7 @@ ...@@ -349,7 +356,7 @@
createTime: null, createTime: null,
remarks: null remarks: null
}; };
this.devices = null; // this.devices = null;
this.resetForm("form"); this.resetForm("form");
}, },
/** 搜索按钮操作 */ /** 搜索按钮操作 */
......
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