From a88ff5269304ba8bc08633e3646f63a94a7fed73 Mon Sep 17 00:00:00 2001 From: bb_pan Date: Tue, 23 Sep 2025 19:03:31 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AB=99=E5=86=85=E5=BA=93=E5=AD=98=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/materialsStation/index.js | 7 +++++++ .../equipment/equipmentRecord/proDetails.vue | 12 ++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) 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` ) }, }