站内库存查询

This commit is contained in:
bb_pan 2025-09-23 19:03:31 +08:00
parent 526646f27c
commit a88ff52693
2 changed files with 13 additions and 6 deletions

View File

@ -522,6 +522,13 @@ export function getRetainedEquipmentListApi(query) {
params: query params: query
}) })
} }
export function getStoreNumAndUseListApi(query) {
return request({
url: '/material/material_maMachine/getStoreNumAndUseList',
method: 'get',
params: query
})
}
// 保有设备总量查询-无分页 // 保有设备总量查询-无分页
export function getRetainedEquipmentListNoPageApi(query) { export function getRetainedEquipmentListNoPageApi(query) {

View File

@ -84,7 +84,7 @@
</span> </span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="总保有量" align="center" prop="allNum" :show-overflow-tooltip="true"></el-table-column> <!-- <el-table-column label="总保有量" align="center" prop="allNum" :show-overflow-tooltip="true"></el-table-column> -->
<!-- <el-table-column label="总保有量资产(万元)" align="center" prop="totalPrice" :show-overflow-tooltip="true" /> --> <!-- <el-table-column label="总保有量资产(万元)" align="center" prop="totalPrice" :show-overflow-tooltip="true" /> -->
<el-table-column label="管理模式" align="center" prop="manageType" :show-overflow-tooltip="true" /> <el-table-column label="管理模式" align="center" prop="manageType" :show-overflow-tooltip="true" />
</el-table> </el-table>
@ -198,7 +198,7 @@
import { import {
getStorageInfoListApi, getStorageInfoListApi,
getUserRecordListApi, getUserRecordListApi,
getRetainedEquipmentListApi, getStoreNumAndUseListApi,
getRetainedEquipmentListNoPageApi getRetainedEquipmentListNoPageApi
} from '@/api/materialsStation' } from '@/api/materialsStation'
export default { export default {
@ -272,7 +272,7 @@ export default {
pageNum: this.queryParams.pageNum pageNum: this.queryParams.pageNum
} }
try { try {
const res = await getRetainedEquipmentListApi(params) const res = await getStoreNumAndUseListApi(params)
this.tableList = res.data.rows || [] this.tableList = res.data.rows || []
console.log('🚀 ~ getList ~ this.tableList:', this.tableList) console.log('🚀 ~ getList ~ this.tableList:', this.tableList)
this.total = res.data.total || 0 this.total = res.data.total || 0
@ -352,7 +352,7 @@ export default {
{ {
...this.queryParams ...this.queryParams
}, },
`工机具台账详情_${new Date().getTime()}.xlsx` `站内库存查询_${new Date().getTime()}.xlsx`
) )
}, },
// //
@ -379,7 +379,7 @@ export default {
this.download( this.download(
'material/material_maMachine/exportStorageInfoList', 'material/material_maMachine/exportStorageInfoList',
{ ...this.dialogQuery }, { ...this.dialogQuery },
`综合查询_在库设备_${new Date().getTime()}.xlsx` `站内库存查询_在库设备_${new Date().getTime()}.xlsx`
) )
}, },
// ------------------ // ------------------
@ -407,7 +407,7 @@ export default {
this.download( this.download(
'material/material_maMachine/exportUserRecordList', 'material/material_maMachine/exportUserRecordList',
{ ...this.dialogUseQuery }, { ...this.dialogUseQuery },
`综合查询_在用设备_${new Date().getTime()}.xlsx` `站内库存查询_在用设备_${new Date().getTime()}.xlsx`
) )
}, },
} }