feat:【antd】【crm】优化 receivable 的整体代码风格
This commit is contained in:
@@ -43,8 +43,11 @@ function handleChangeSceneType(key: number | string) {
|
||||
|
||||
/** 导出表格 */
|
||||
async function handleExport() {
|
||||
// TODO @AI:缺少了 sceneType 参考,参考下别的模块?
|
||||
const data = await exportReceivable(await gridApi.formApi.getValues());
|
||||
const formValues = await gridApi.formApi.getValues();
|
||||
const data = await exportReceivable({
|
||||
sceneType: sceneType.value,
|
||||
...formValues,
|
||||
});
|
||||
downloadFileFromBlobPart({ fileName: '回款.xls', source: data });
|
||||
}
|
||||
|
||||
@@ -251,4 +254,4 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
||||
:deep(.vxe-toolbar div) {
|
||||
z-index: 1;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user