Commit 8558d4a8 authored by 张子雨's avatar 张子雨

feat: 模板第一版

parent f4dc6983
...@@ -304,6 +304,7 @@ const CustomerInfo = props => { ...@@ -304,6 +304,7 @@ const CustomerInfo = props => {
formData.mealLimit = mealLimitMap; formData.mealLimit = mealLimitMap;
setSelectedMealTypes(formData.mealType); setSelectedMealTypes(formData.mealType);
console.log('formData :>> ', formData);
form.setFieldsValue(formData); form.setFieldsValue(formData);
} }
}; };
......
...@@ -4,6 +4,7 @@ import { Button } from 'antd'; ...@@ -4,6 +4,7 @@ import { Button } from 'antd';
import { PlusOutlined } from '@ant-design/icons'; import { PlusOutlined } from '@ant-design/icons';
import { customerColumn } from './staticData/index'; import { customerColumn } from './staticData/index';
import CustomerInfo from './components/CustomerInfoCopy'; import CustomerInfo from './components/CustomerInfoCopy';
// import CustomerInfo from './components/CustomerInfo';
import utilStyle from '@/utils/utils.less'; import utilStyle from '@/utils/utils.less';
import { stringOrObjectTrim } from '@/utils/utils'; import { stringOrObjectTrim } from '@/utils/utils';
import { apiEnterpriseList } from './service'; import { apiEnterpriseList } from './service';
...@@ -63,7 +64,7 @@ const BusinessCustomer = () => { ...@@ -63,7 +64,7 @@ const BusinessCustomer = () => {
</Button>, </Button>,
]} ]}
/> />
<CustomerInfo visible={visible} id={id} onClose={onClose} /> {visible && <CustomerInfo visible={visible} id={id} onClose={onClose} />}
</div> </div>
); );
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment