perf: 销售业绩: 小组多选

feature/pivot
Lei OT 2 years ago
parent 619d5c25ed
commit de6feb85f5

@ -28,7 +28,7 @@ class GroupSelect extends Component {
}} }}
labelInValue={false} labelInValue={false}
maxTagCount={1} maxTagCount={1}
maxTagPlaceholder={(omittedValues) => ` + ${omittedValues.length} 更多...`} maxTagPlaceholder={(omittedValues) => `+${omittedValues.length}...`}
allowClear={_mode != null} allowClear={_mode != null}
{...extProps} {...extProps}
> >

@ -211,13 +211,13 @@ const Sale = () => {
<Col md={24} lg={12} xxl={14}></Col> <Col md={24} lg={12} xxl={14}></Col>
<Col md={24} lg={12} xxl={10}> <Col md={24} lg={12} xxl={10}>
<Row> <Row>
<Col md={24} lg={8} xxl={8}> <Col md={24} lg={10} xxl={8}>
<GroupSelect store={sale_store} /> <GroupSelect store={sale_store} mode={'multiple'} maxTagCount={1} />
</Col> </Col>
<Col md={24} lg={8} xxl={8}> <Col md={24} lg={8} xxl={8}>
<SiteSelect store={sale_store} show_all={true} /> <SiteSelect store={sale_store} show_all={true} />
</Col> </Col>
<Col md={24} lg={8} xxl={8}> <Col md={24} lg={6} xxl={8}>
<Select style={{ width: '100%' }} placeholder="是否含门票" value={sale_store.include_tickets} onChange={sale_store.handleChange_include_tickets}> <Select style={{ width: '100%' }} placeholder="是否含门票" value={sale_store.include_tickets} onChange={sale_store.handleChange_include_tickets}>
<Select.Option key="1" value="1"> <Select.Option key="1" value="1">
含门票 含门票

@ -1,24 +1,20 @@
import { useContext } from 'react'; import { useContext } from 'react';
import { observer } from "mobx-react"; import { observer } from 'mobx-react';
import { stores_Context, APP_VERSION } from '../config'; import { stores_Context, APP_VERSION } from '../config';
import { Table } from 'antd'; import { Table } from 'antd';
import { import { SlackOutlined, SketchOutlined, AntCloudOutlined, RedditOutlined, GithubOutlined } from '@ant-design/icons';
SlackOutlined,
SketchOutlined,
AntCloudOutlined,
RedditOutlined,
GithubOutlined
} from '@ant-design/icons';
export default observer((props) => { export default observer((props) => {
// const { } = useContext(stores_Context); // const { } = useContext(stores_Context);
return ( return (
<> <>
<div> <div>
<SketchOutlined/> <AntCloudOutlined/> <SlackOutlined/> <RedditOutlined/> <GithubOutlined/> <SketchOutlined /> <AntCloudOutlined /> <SlackOutlined /> <RedditOutlined /> <GithubOutlined />
<div>欢迎! </div> <div>欢迎! </div>
<div>当前版本: v<span>{APP_VERSION}</span></div> <div>
<SketchOutlined/> <AntCloudOutlined/> <SlackOutlined/> <RedditOutlined/> <GithubOutlined/> 当前版本: v<span>{APP_VERSION}</span>
</div>
<SketchOutlined /> <AntCloudOutlined /> <SlackOutlined /> <RedditOutlined /> <GithubOutlined />
</div> </div>
</> </>
); );

Loading…
Cancel
Save