|
@@ -306,14 +306,12 @@ const header = (props) => {
|
306
|
306
|
)}
|
307
|
307
|
</Form.Item>
|
308
|
308
|
<Form.Item label="下架时间">
|
309
|
|
- {getFieldDecorator('endDate',{initialValue : formsdate.endDate ? moment(formsdate.endDate, 'YYYY-MM-DD HH:mm') : null,
|
|
309
|
+ {getFieldDecorator('endDate',{initialValue : formsdate.endDate ? moment(formsdate.endDate, 'YYYY-MM-DD HH:mm:ss') : null,
|
310
|
310
|
rules: [
|
311
|
311
|
{ required: true, message: '请输入下架时间' },
|
312
|
312
|
]})(
|
313
|
313
|
<DatePicker
|
314
|
|
- // prefix={<Icon type="text" style={{ color: 'rgba(0,0,0,.25)' }} />}
|
315
|
|
- // placeholder={formsdate.endDate}
|
316
|
|
- // value= formsdate.endDate ? moment(formsdate.endDate, 'YYYY-MM-DD HH:mm') : null
|
|
314
|
+ showTime={{ format: 'HH:mm:ss' }}
|
317
|
315
|
/>,
|
318
|
316
|
)}
|
319
|
317
|
</Form.Item>
|