feature/2.0-sales-trade
parent
8c5a15bec7
commit
9985d4272b
@ -0,0 +1,13 @@
|
|||||||
|
import { useContext } from 'react';
|
||||||
|
import { observer } from "mobx-react";
|
||||||
|
// import { stores_Context } from '../config';
|
||||||
|
import { Table } from 'antd';
|
||||||
|
|
||||||
|
export default observer((props) => {
|
||||||
|
// const { } = useContext(stores_Context);
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
{props.title}
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
});
|
@ -0,0 +1,37 @@
|
|||||||
|
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>
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
});
|
@ -0,0 +1,3 @@
|
|||||||
|
.ant-tabs.ant-tabs-card > .ant-tabs-nav {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
Loading…
Reference in New Issue