|
@@ -199,7 +199,7 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item prop="year" label-width="100px" label="年份">
|
|
|
- <!-- <el-select v-model="form.year" filterable default-first-option clearable placeholder="请选择年份">
|
|
|
+ <el-select v-model="form.year" filterable default-first-option clearable placeholder="请选择年份">
|
|
|
<el-option
|
|
|
v-for="(item,index) in nearYearList"
|
|
|
:key="index"
|
|
@@ -207,13 +207,14 @@
|
|
|
type="month"
|
|
|
:value="item">
|
|
|
</el-option>
|
|
|
- </el-select> -->
|
|
|
- <el-date-picker
|
|
|
- v-model="form.year"
|
|
|
- type="month"
|
|
|
- placeholder="请选择年月"
|
|
|
- >
|
|
|
- </el-date-picker>
|
|
|
+ </el-select>
|
|
|
+<!-- 我只要年份,请不要打开这个代码谢谢 -->
|
|
|
+<!-- <el-date-picker-->
|
|
|
+<!-- v-model="form.year"-->
|
|
|
+<!-- type="month"-->
|
|
|
+<!-- placeholder="请选择年月"-->
|
|
|
+<!-- >-->
|
|
|
+<!-- </el-date-picker>-->
|
|
|
</el-form-item>
|
|
|
<!-- <el-form-item label="分类" prop="typeName" label-width="110">
|
|
|
<el-cascader
|