|
@@ -16,7 +16,8 @@
|
|
|
</a-col>
|
|
|
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
|
<a-form-item label="计划日期">
|
|
|
- <j-date placeholder="请选择计划日期" v-model="queryParam.plandate" style="width: 100%" />
|
|
|
+ <!-- <j-date placeholder="请选择计划日期" v-model="queryParam.plandate" style="width: 100%" /> -->
|
|
|
+ <a-range-picker date-format="YYYY-MM-DD" v-model="queryParam.date" @change="onChangeDate" />
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
|
@@ -225,6 +226,12 @@
|
|
|
},
|
|
|
},
|
|
|
methods: {
|
|
|
+ // 时间处理
|
|
|
+ onChangeDate(date, dateString){
|
|
|
+ console.log(date, dateString);
|
|
|
+ this.queryParam.plandate_begin= dateString[0]
|
|
|
+ this.queryParam.plandate_end= dateString[1]
|
|
|
+ },
|
|
|
initDictConfig(){
|
|
|
},
|
|
|
getSuperFieldList(){
|