lanjianrong 5 lat temu
rodzic
commit
0119e3221b

+ 1 - 2
src/components/EditableForm/src/editableFormItem.jsx

@@ -51,7 +51,6 @@ const EditableFormItem = ({
         type: 'district/fetchWithValues',
         payload: record
       })
-      setState({ ...state, popupVisible: true })
     }
     // 当val为空时,需要设置默认值
     if (!state.val) {
@@ -162,7 +161,7 @@ const EditableFormItem = ({
       content = state.extraVal || dataSource.local
     }
     if (editCellType === 'select') {
-      content = state.extraVal || dataSource.nature
+      content = state.extraVal || dataSource.gender
     }
     cell = (
       <div className="editable-cell-value-wrap" onClick={toggleEdit}>

+ 10 - 10
src/pages/Customer/Contact/components/ContactDetail/ContanctForm.jsx

@@ -111,17 +111,17 @@ const ContanctForm = props => {
       label: '备注',
       span: 24,
       editCellType: 'textarea'
-    },
-    {
-      dataIndex: 'gerenbiaoqian',
-      label: '个人标签',
-      span: 24
-    },
-    {
-      dataIndex: 'xiezuobiaoqian',
-      label: '协作标签',
-      span: 24
     }
+    // {
+    //   dataIndex: 'gerenbiaoqian',
+    //   label: '个人标签',
+    //   span: 24
+    // },
+    // {
+    //   dataIndex: 'xiezuobiaoqian',
+    //   label: '协作标签',
+    //   span: 24
+    // }
   ]
 
   return (