feat:【antd】【crm】优化 receivable 的整体代码风格

This commit is contained in:
YunaiV
2025-09-29 23:19:46 +08:00
parent e441978662
commit 9bfd314311
5 changed files with 55 additions and 52 deletions

View File

@@ -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>