Commit bce08313 authored by renjintao's avatar renjintao

user daterange mode='d'

parent a81cc75f
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<Col :span="8"> <Col :span="8">
<FormItem label> <FormItem label>
<span style="float:left">计划起止日期:&nbsp;</span> <span style="float:left">计划起止日期:&nbsp;</span>
<DateRange v-model="timeValuePlan"> <DateRange v-model="timeValuePlan" mode='d'>
</DateRange> </DateRange>
</FormItem> </FormItem>
</Col> </Col>
......
...@@ -180,14 +180,15 @@ export default { ...@@ -180,14 +180,15 @@ export default {
title: '计划起止日期', title: '计划起止日期',
align: "center", align: "center",
high: true, high: true,
width: 200, width: 600,
render: (h, params) => { render: (h, params) => {
return h('DateRange', { return h('DateRange', {
props: { props: {
value: { value: {
startDate: params.row.plansToStartDate, startDate: params.row.plansToStartDate,
endDate: params.row.plansToEndTime, endDate: params.row.plansToEndTime,
} },
mode: 'd'
} }
}) })
} }
...@@ -204,7 +205,8 @@ export default { ...@@ -204,7 +205,8 @@ export default {
value: { value: {
startDate: params.row.startDate, startDate: params.row.startDate,
endDate: params.row.endDate, endDate: params.row.endDate,
} },
mode: 'd'
} }
}) })
} }
......
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