From 877200bd3f7e80b4e7f134b7f7df378f89de0484 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 10 十二月 2019 18:56:51 +0800
Subject: [PATCH] 2019-12-10

---
 src/tabviews/commontable/mutilform/index.jsx |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/tabviews/commontable/mutilform/index.jsx b/src/tabviews/commontable/mutilform/index.jsx
index 65a5403..42e091b 100644
--- a/src/tabviews/commontable/mutilform/index.jsx
+++ b/src/tabviews/commontable/mutilform/index.jsx
@@ -69,7 +69,7 @@
 
       if (item.type === 'title') {
         fields.push(
-          <Col span={24 / cols} key={index}>
+          <Col span={24} key={index}>
             <p>{item.label}</p>
           </Col>
         )
@@ -159,7 +159,7 @@
                   }
                 ]
               })(
-                <DatePicker getCalendarContainer={() => document.getElementById('form-box')} />
+                <DatePicker />
               )}
             </Form.Item>
           </Col>
@@ -183,7 +183,7 @@
                   }
                 ]
               })(
-                <MonthPicker getCalendarContainer={() => document.getElementById('form-box')} />
+                <MonthPicker />
               )}
             </Form.Item>
           </Col>
@@ -207,7 +207,8 @@
                   }
                 ]
               })(
-                <DatePicker showTime getCalendarContainer={() => document.getElementById('form-box')} />
+                // <DatePicker showTime getCalendarContainer={() => document.getElementById('form-box')} />
+                <DatePicker showTime />
               )}
             </Form.Item>
           </Col>
@@ -288,7 +289,7 @@
       }
     }
     return (
-      <Form {...formItemLayout} className="ant-advanced-search-form" id="form-box">
+      <Form {...formItemLayout} className="ant-advanced-search-form main-form-field" id="form-box">
         <Row gutter={24}>{this.getFields()}</Row>
       </Form>
     )

--
Gitblit v1.8.0