Commit 67e599c1 authored by 武广's avatar 武广

feat: 添加取餐点校验

parent e3206489
......@@ -303,7 +303,11 @@ const CustomerInfo = props => {
<Input />
</Form.Item>
{!props.id && (
<Form.Item label="企业取餐点" name="pickselfIds">
<Form.Item
label="企业取餐点"
name="pickselfIds"
rules={[{ required: true, type: 'array', message: '请选择企业取餐点!' }]}
>
<Select
options={pickSelfList}
mode="multiple"
......
......@@ -4,6 +4,7 @@ import { Button } from 'antd';
import { PlusOutlined } from '@ant-design/icons';
import { customerColumn } from './staticData/index';
import CustomerInfo from './components/CustomerInfo';
import utilStyle from '@/utils/utils.less';
import { apiEnterpriseList } from './service';
const BusinessCustomer = () => {
......@@ -28,7 +29,7 @@ const BusinessCustomer = () => {
};
return (
<div>
<div className={utilStyle.formPageBox}>
<ProTable
actionRef={refTable}
search={{
......
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