|
|
@@ -417,7 +417,7 @@ async function fetchStatAmount() {
|
|
|
if (!currentEnterpriseId.value) return;
|
|
|
loading.value = true;
|
|
|
try {
|
|
|
- const res = await AccountAPI.statAmount(currentEnterpriseId.value);
|
|
|
+ const res = await AccountAPI.statAmount(undefined, currentEnterpriseId.value);
|
|
|
statAmount.value = res.data.data || {};
|
|
|
} catch (error) {
|
|
|
console.error("获取统计金额失败:", error);
|