outaozhen 5 år sedan
förälder
incheckning
8d278b8171
1 ändrade filer med 25 tillägg och 23 borttagningar
  1. 25 23
      src/pages/Customer/Company/index.jsx

+ 25 - 23
src/pages/Customer/Company/index.jsx

@@ -1,36 +1,36 @@
 import React from 'react'
-import { Card } from 'antd'
+import { Card, Row, Col } from 'antd'
 import EditableForm, { EditableFormItem } from '@/components/EditableForm'
 
 const Company = () => {
   //   const labelMap = {
   //     address: "地址",
-  // clientname: """,
+  // clientname: "姓名",
   // companyId: "c",
-  // companyname: null,
+  // companyname: "客户名称",
   // createTime: "2021-02-09",
-  // department: null,
-  // district: null,
-  // email: "",
-  // fax: null,
-  // gender: "",
+  // department: "部门",
+  // district: "联系人地区",
+  // email: "邮箱",
+  // fax: "传真",
+  // gender: "性别",
   // id: "MczlAdziNdzcIpO0O0O",
   // keynum: null,
-  // landmarks: "",
+  // landmarks: "联系人地标",
   // local: null,
-  // mark: "",
-  // nicename: "",
-  // office: null,
-  // position: null,
+  // mark: "备注",
+  // nicename: "昵称",
+  // office: "办公室",
+  // position: "职务",
   // priority: 5,
-  // qq: "",
-  // ride: "",
+  // qq: "QQ",
+  // ride: "联系人乘车",
   // servicetime: null,
   // staffId: "NcDlEdO0O0Oi",
   // staffName: "蔡频",
-  // stay: "",
+  // stay: "联系人住宿",
   // tag: null,
-  // telephone: "",
+  // telephone: "手机",
   // tooltip: null,
   // unit: null,
   // webservice: null
@@ -44,12 +44,14 @@ const Company = () => {
         })}
       </EditableForm> */}
       <div>
-        <EditableFormItem label="名字" dataIndex="name" record="哈哈哈" widhth="50%" />
-        <EditableFormItem label="名字" dataIndex="name" record="哈哈哈" widhth="50%" />
-        <EditableFormItem label="名字" dataIndex="name" record="哈哈哈" widhth="50%" />
-        <EditableFormItem label="名字" dataIndex="name" record="哈哈哈" widhth="50%" />
-        <EditableFormItem label="名字" dataIndex="name" record="哈哈哈" widhth="50%" />
-        <EditableFormItem label="名字" dataIndex="name" record="哈哈哈" widhth="50%" />
+        <Row>
+          <Col span={12}>
+            <EditableFormItem label="名字" dataIndex="name" record="哈哈哈" widhth="50%" />
+          </Col>
+          <Col span={12}>
+            <EditableFormItem label="名字" dataIndex="name" record="哈哈哈" widhth="50%" />
+          </Col>
+        </Row>
       </div>
     </Card>
   )