Commit f16103cc authored by renjintao's avatar renjintao

detail

parent 8f7fdcf4
...@@ -29,14 +29,14 @@ ...@@ -29,14 +29,14 @@
</Col> </Col>
<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" mode='d'> <DateRange v-model="timeValuePlan" mode='d'>
</DateRange> </DateRange>
</FormItem> </FormItem>
</Col> </Col>
<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="timeValue"></DateRange> <DateRange v-model="timeValue"></DateRange>
</FormItem> </FormItem>
</Col> </Col>
......
...@@ -167,36 +167,30 @@ export default { ...@@ -167,36 +167,30 @@ export default {
}, },
{ {
key: "startDate", key: "startDate",
title: '计划起止日期', title: '实际日期',
align: "center", align: "center",
high: true, high: true,
width: 280, width: 280,
render: (h, params) => { render: (h, params) => {
return h('DateRange', { return h('DateRange', {
props: { props: {
value: { value: params.row,
startDate: params.row.plansToStartDate,
endDate: params.row.plansToEndTime,
},
mode: 'd'
} }
}) })
} }
}, },
{ {
key: "startDate", key: "startDate",
title: '实际起止日期', title: '计划日期',
align: "center", align: "center",
high: true, high: true,
width: 280, width: 280,
render: (h, params) => { render: (h, params) => {
return h('DateRange', { return h('DateRange', {
props: { props: {
value: { value: params.row,
startDate: params.row.startDate, start: "plansToStartDate",
endDate: params.row.endDate, start: "plansToEndTime",
},
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