diff --git a/src/api/materialsStation/index.js b/src/api/materialsStation/index.js index eaadc812..99f89698 100644 --- a/src/api/materialsStation/index.js +++ b/src/api/materialsStation/index.js @@ -522,6 +522,13 @@ export function getRetainedEquipmentListApi(query) { params: query }) } +export function getStoreNumAndUseListApi(query) { + return request({ + url: '/material/material_maMachine/getStoreNumAndUseList', + method: 'get', + params: query + }) +} // 保有设备总量查询-无分页 export function getRetainedEquipmentListNoPageApi(query) { diff --git a/src/views/materialsStation/equipment/equipmentRecord/proDetails.vue b/src/views/materialsStation/equipment/equipmentRecord/proDetails.vue index 7cb87ca9..f322ae40 100644 --- a/src/views/materialsStation/equipment/equipmentRecord/proDetails.vue +++ b/src/views/materialsStation/equipment/equipmentRecord/proDetails.vue @@ -84,7 +84,7 @@ - + @@ -198,7 +198,7 @@ import { getStorageInfoListApi, getUserRecordListApi, - getRetainedEquipmentListApi, + getStoreNumAndUseListApi, getRetainedEquipmentListNoPageApi } from '@/api/materialsStation' export default { @@ -272,7 +272,7 @@ export default { pageNum: this.queryParams.pageNum } try { - const res = await getRetainedEquipmentListApi(params) + const res = await getStoreNumAndUseListApi(params) this.tableList = res.data.rows || [] console.log('🚀 ~ getList ~ this.tableList:', this.tableList) this.total = res.data.total || 0 @@ -352,7 +352,7 @@ export default { { ...this.queryParams }, - `工机具台账详情_${new Date().getTime()}.xlsx` + `站内库存查询_${new Date().getTime()}.xlsx` ) }, //查看在库编码数据 @@ -379,7 +379,7 @@ export default { this.download( 'material/material_maMachine/exportStorageInfoList', { ...this.dialogQuery }, - `综合查询_在库设备_${new Date().getTime()}.xlsx` + `站内库存查询_在库设备_${new Date().getTime()}.xlsx` ) }, // ------------------ @@ -407,7 +407,7 @@ export default { this.download( 'material/material_maMachine/exportUserRecordList', { ...this.dialogUseQuery }, - `综合查询_在用设备_${new Date().getTime()}.xlsx` + `站内库存查询_在用设备_${new Date().getTime()}.xlsx` ) }, }