|
|
|
|
@ -15,7 +15,6 @@ import { stores_Context } from '../../config';
|
|
|
|
|
import { useShallow } from 'zustand/shallow';
|
|
|
|
|
import useToBOrderStore, { orderCountDataMapper, orderCountDataFieldMapper } from '../../zustand/ToBOrder';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const ToBOrder = observer(() => {
|
|
|
|
|
const { date_picker_store: searchFormStore } = useContext(stores_Context);
|
|
|
|
|
|
|
|
|
|
@ -350,13 +349,15 @@ const ToBOrder = observer(() => {
|
|
|
|
|
<Row>
|
|
|
|
|
<Col sm={24} lg={12}>
|
|
|
|
|
<Pie {...pieConfig} data={result?.ordercount1 || []} innerRadius={0.6} statistic={{ title: false, content: { content: '数量' } }} />
|
|
|
|
|
<Pie {...pieConfig} data={result?.ordercount1 || []} angleField='YJLYx' innerRadius={0.6} statistic={{title: false,content:{content:'预计毛利'}}} />
|
|
|
|
|
<Pie {...pieConfig} data={result?.ordercount1 || []} angleField="YJLYx" innerRadius={0.6} statistic={{ title: false, content: { content: '预计毛利' } }} />
|
|
|
|
|
</Col>
|
|
|
|
|
|
|
|
|
|
{showDiff && <Col sm={24} lg={12}>
|
|
|
|
|
{showDiff && (
|
|
|
|
|
<Col sm={24} lg={12}>
|
|
|
|
|
<Pie {...pieConfig} data={result?.ordercount2 || []} innerRadius={0.6} statistic={{ title: false, content: { content: '数量' } }} />
|
|
|
|
|
<Pie {...pieConfig} data={result?.ordercount2 || []} angleField='YJLYx' innerRadius={0.6} statistic={{title: false,content:{content:'预计毛利'}}} />
|
|
|
|
|
</Col>}
|
|
|
|
|
<Pie {...pieConfig} data={result?.ordercount2 || []} angleField="YJLYx" innerRadius={0.6} statistic={{ title: false, content: { content: '预计毛利' } }} />
|
|
|
|
|
</Col>
|
|
|
|
|
)}
|
|
|
|
|
</Row>
|
|
|
|
|
</Spin>
|
|
|
|
|
</div>
|
|
|
|
|
|