You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.3 KiB
React
38 lines
1.3 KiB
React
2 years ago
|
import { useContext } from 'react';
|
||
|
import { observer } from "mobx-react";
|
||
|
// import { stores_Context } from '../config';
|
||
|
import { Button, Table, Switch, Input, Space, Typography, Row, Col, Spin, Radio, Tabs } from 'antd';
|
||
|
import SearchForm from './../search/SearchForm';
|
||
|
import { bu } from './../../libs/ht';
|
||
|
|
||
|
export default observer((props) => {
|
||
|
// const { } = useContext(stores_Context);
|
||
|
return (
|
||
|
<>
|
||
|
<Row gutter={16} style={{ margin: '0 0 1em' }}>
|
||
|
<Col className="gutter-row" span={24} style={{ margin: '0 0 -16px 0', padding: 0 }}>
|
||
|
<SearchForm
|
||
|
defaultValue={{
|
||
|
'initialValue': {
|
||
|
// ...searchPayloadHome,
|
||
|
},
|
||
|
// hides: ['businessUnits', 'months', 'WebCode', 'dates'],
|
||
|
shows: ['DateType', 'DepartmentList', 'WebCode', 'years'],
|
||
|
'fieldProps': {
|
||
|
DepartmentList: { show_all: false },
|
||
|
WebCode: { show_all: false },
|
||
|
years: { hide_vs: true },
|
||
|
},
|
||
|
}}
|
||
|
confirmText='查询'
|
||
|
onSubmit={(_err, obj, form, str) => {
|
||
|
// TradeStore.setStateSearch(form);
|
||
|
// pageRefresh(obj);
|
||
|
}}
|
||
|
/>
|
||
|
</Col>
|
||
|
</Row>
|
||
|
</>
|
||
|
);
|
||
|
});
|