liting2017 il y a 7 ans
Parent
commit
2b63000122
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      js/component/manageCenter/customer/myClientDesc.jsx

+ 1 - 0
js/component/manageCenter/customer/myClientDesc.jsx

@@ -893,6 +893,7 @@ const AchievementDetailForm = Form.create()(React.createClass({
                             {...formItemLayout}
                             label="录入时间" >
                             {getFieldDecorator('createTime', {
+                            	rules: [{ required: true, message: '此项为必填项!' }],
                                 initialValue: theData.createTime ? moment(theData.createTime) : null
                             })(
                                 <DatePicker />