|
@@ -192,7 +192,8 @@ const Statistic = () => {
|
|
|
'software-usage': [],
|
|
|
'invoice-aggregate': [],
|
|
|
'invoice-trends': [],
|
|
|
- 'customer-additions': []
|
|
|
+ 'customer-additions': [],
|
|
|
+ 'invoice-receivables': []
|
|
|
})
|
|
|
}
|
|
|
}
|
|
@@ -243,6 +244,15 @@ const Statistic = () => {
|
|
|
/>
|
|
|
)}
|
|
|
</ProFormDependency>
|
|
|
+ <ProFormDependency name={['showProduct']}>
|
|
|
+ {({ showProduct }) => (
|
|
|
+ <ProFormCheckbox.Group
|
|
|
+ name="invoice-receivables"
|
|
|
+ label="应收款统计"
|
|
|
+ options={[{ value: 'access', label: '查看', disabled: !showProduct }]}
|
|
|
+ />
|
|
|
+ )}
|
|
|
+ </ProFormDependency>
|
|
|
</div>
|
|
|
</ProForm>
|
|
|
)}
|