<el-form-item label="有效日期" required>
<el-form-item prop="startDate">
<el-date-picker
v-model="form.startDate"
type="date"
placeholder="开始日期"
value-format="yyyy-MM-dd"
style="width: 100%"
:picker-options="pickerOptions2"
>
</el-date-picker>
</el-form-item>
<el-form-item prop="endDate">
<el-date-picker
v-model="form.endDate"
type="date"
placeholder="结束日期"
value-format="yyyy-MM-dd"
style="width: 100%"
:picker-options="pickerOptions3"
>
</el-date-picker>
</el-form-item>
</el-form-item>