应收账款等4个新增页面

This commit is contained in:
2026-04-03 16:14:28 +08:00
parent 9d91188b98
commit ed0fd63474
33 changed files with 140 additions and 201 deletions

View File

@@ -119,7 +119,7 @@ export default {
// 数据兜底确保是数组且长度≥2
const validData = Array.isArray(data) && data.length >= 2
? data
: this.$props.ytdAnalysis.default();
: this.$props.ytdAnalysis;
// 提取收入第0项、全成本第1项数据
const incomeItem = validData[0] || { title: "营业收入", budget: 0, real: 0, rate: 0, diff: 0 };