debug: inbound_summary 加日志确认 list.value 数据加载状态
This commit is contained in:
@ -141,9 +141,14 @@ const fetchData = async () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const res = await getInboundSummaryList(params)
|
const res = await getInboundSummaryList(params)
|
||||||
|
console.log('[inbound_summary] res.data:', res.data)
|
||||||
if (res.data) {
|
if (res.data) {
|
||||||
list.value = res.data.items || []
|
list.value = res.data.items || []
|
||||||
total.value = res.data.total || 0
|
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) {
|
} catch (error) {
|
||||||
console.error('获取入库记录失败', error)
|
console.error('获取入库记录失败', error)
|
||||||
|
|||||||
Reference in New Issue
Block a user