装备台账

This commit is contained in:
bb_pan 2026-02-02 15:21:56 +08:00
parent 5b5314a44d
commit 4d54fbf6a6
1 changed files with 3 additions and 3 deletions

View File

@ -155,11 +155,11 @@ export default {
try { try {
console.log('🚀 ~ this.queryParams:', this.queryParams) console.log('🚀 ~ this.queryParams:', this.queryParams)
const res = await getTotalValueApi(this.queryParams) const res = await getTotalValueApi(this.queryParams)
this.priceData = res.data this.priceData = res.data || {}
const res2 = await getConfigurationRateApi(this.queryParams) const res2 = await getConfigurationRateApi(this.queryParams)
this.configData = res2.data this.configData = res2.data || {}
const res3 = await getEquipmentStatusApi(this.queryParams) const res3 = await getEquipmentStatusApi(this.queryParams)
this.total = res3.data.total this.total = res3.data.total || 0
const fieldMap = [ const fieldMap = [
{ name: '在库数量', key: 'availableNum' }, { name: '在库数量', key: 'availableNum' },
{ name: '维修数量', key: 'repairNum' }, { name: '维修数量', key: 'repairNum' },