|
@@ -8,11 +8,11 @@
|
|
<a-row :gutter="24">
|
|
<a-row :gutter="24">
|
|
<a-col :md="6" :sm="8">
|
|
<a-col :md="6" :sm="8">
|
|
<a-form-item label="起始年月">
|
|
<a-form-item label="起始年月">
|
|
|
|
+ <!-- defaultPickerValue="[moment(defaultMonth),moment(defaultMonth)]" -->
|
|
<a-range-picker
|
|
<a-range-picker
|
|
style="width: 100%"
|
|
style="width: 100%"
|
|
:placeholder="['开始年月', '结束年月']"
|
|
:placeholder="['开始年月', '结束年月']"
|
|
format="YYYY-MM"
|
|
format="YYYY-MM"
|
|
- defaultPickerValue="[moment(defaultMonth),moment(defaultMonth)]"
|
|
|
|
:mode="mode2"
|
|
:mode="mode2"
|
|
:value="value"
|
|
:value="value"
|
|
@panelChange="handlePanelChange"
|
|
@panelChange="handlePanelChange"
|
|
@@ -190,7 +190,7 @@ export default {
|
|
value: [], //起始月份
|
|
value: [], //起始月份
|
|
isDisabled: false, //按钮禁止
|
|
isDisabled: false, //按钮禁止
|
|
monthFormat: 'YYYY-MM',
|
|
monthFormat: 'YYYY-MM',
|
|
- defaultMonth: [] //默认当前月
|
|
|
|
|
|
+ // defaultMonth: [] //默认当前月
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
|