Explorar el Código

Merge branch 'dev' of http://git.ycjcjy.com/zhiyuxing/estateagents-admin-manager into dev

魏超 hace 5 años
padre
commit
6ab5a24bd2

+ 1
- 0
src/pages/activity/detailActivity.jsx Ver fichero

@@ -114,6 +114,7 @@ const BasicForm = props => {
114 114
       <Form {...formItemLayout} onSubmit={handleSubmit}>
115 115
         <Form.Item label="所属项目">
116 116
         {getFieldDecorator('buildingId', {
117
+          initialValue: detailData.buildingId,
117 118
           rules: [
118 119
             {
119 120
               required: true,

+ 2
- 4
src/pages/activity/drainage/DrainageList.jsx Ver fichero

@@ -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>

+ 1
- 0
src/pages/activity/groupActivity/detailActivity.jsx Ver fichero

@@ -98,6 +98,7 @@ const BasicForm = props => {
98 98
       <Form {...formItemLayout} onSubmit={handleSubmit}>
99 99
         <Form.Item label="所属项目">
100 100
         {getFieldDecorator('buildingId', {
101
+          initialValue: detailData.buildingId,
101 102
           rules: [
102 103
             {
103 104
               required: true,

+ 1
- 0
src/pages/activity/helpActivity/detailActivity.jsx Ver fichero

@@ -95,6 +95,7 @@ const BasicForm = props => {
95 95
       <Form {...formItemLayout} onSubmit={handleSubmit}>
96 96
         <Form.Item label="所属项目">
97 97
         {getFieldDecorator('buildingId', {
98
+          initialValue: detailData.buildingId,
98 99
           rules: [
99 100
             {
100 101
               required: true,