|
|
|
@ -3,12 +3,11 @@ import { observer } from 'mobx-react';
|
|
|
|
|
import { stores_Context } from './../../config';
|
|
|
|
|
import { Typography, Row, Col, Tabs, } from 'antd';
|
|
|
|
|
import SearchForm from './../search/SearchForm';
|
|
|
|
|
import { bu, KPIObjects, KPISubjects } from './../../libs/ht';
|
|
|
|
|
import { isEmpty, fixTo2Decimals, fixTo4Decimals, cloneDeep, numberFormatter, fixToInt, merge } from './../../utils/commons';
|
|
|
|
|
import { KPIObjects } from './../../libs/ht';
|
|
|
|
|
import { merge, pick } from './../../utils/commons';
|
|
|
|
|
import ProfitTable from './SubjectTable/Profit';
|
|
|
|
|
import Count from './SubjectTable/Count';
|
|
|
|
|
import Rates from './SubjectTable/Rates';
|
|
|
|
|
import { toJS } from 'mobx';
|
|
|
|
|
|
|
|
|
|
const Todo = (props) => {
|
|
|
|
|
return <h2>TODO</h2>;
|
|
|
|
@ -32,7 +31,7 @@ export default observer((props) => {
|
|
|
|
|
const { sort, initialValue, hides, shows, fieldProps: _fieldProps } = {
|
|
|
|
|
sort: '',
|
|
|
|
|
// initialValue: '',
|
|
|
|
|
initialValue: searchFormStore.formValues,
|
|
|
|
|
initialValue: pick(searchFormStore.formValues, ['DateType', 'year']),
|
|
|
|
|
fieldProps: {},
|
|
|
|
|
hides: [],
|
|
|
|
|
shows: ['DateType', 'years'],
|
|
|
|
|