debug: inbound_summary 加日志确认 list.value 数据加载状态

This commit is contained in:
yueli
2026-07-21 10:06:55 +08:00
parent 63c36d1466
commit 01122a58f3

View File

@ -141,9 +141,14 @@ const fetchData = async () => {
}
const res = await getInboundSummaryList(params)
console.log('[inbound_summary] res.data:', res.data)
if (res.data) {
list.value = res.data.items || []
total.value = res.data.total || 0
console.log('[inbound_summary] list.value 长度:', list.value.length, 'total:', total.value)
if (list.value.length > 0) {
console.log('[inbound_summary] 第一条:', JSON.stringify(list.value[0]))
}
}
} catch (error) {
console.error('获取入库记录失败', error)