|
@@ -191,7 +191,8 @@ const Statistic = () => {
|
|
|
formRef.current?.setFieldsValue({
|
|
|
'software-usage': [],
|
|
|
'invoice-aggregate': [],
|
|
|
- 'invoice-trends': []
|
|
|
+ 'invoice-trends': [],
|
|
|
+ 'customer-additions': []
|
|
|
})
|
|
|
}
|
|
|
}
|
|
@@ -233,6 +234,15 @@ const Statistic = () => {
|
|
|
/>
|
|
|
)}
|
|
|
</ProFormDependency>
|
|
|
+ <ProFormDependency name={['showProduct']}>
|
|
|
+ {({ showProduct }) => (
|
|
|
+ <ProFormCheckbox.Group
|
|
|
+ name="customer-additions"
|
|
|
+ label="客户新增"
|
|
|
+ options={[{ value: 'access', label: '查看', disabled: !showProduct }]}
|
|
|
+ />
|
|
|
+ )}
|
|
|
+ </ProFormDependency>
|
|
|
</div>
|
|
|
</ProForm>
|
|
|
)}
|