diff --git a/src/views/material/cost/component/lostReportHome.vue b/src/views/material/cost/component/lostReportHome.vue
index a3f17ad9..425c62ae 100644
--- a/src/views/material/cost/component/lostReportHome.vue
+++ b/src/views/material/cost/component/lostReportHome.vue
@@ -88,6 +88,17 @@
style="width: 220px"
/>
+
+
+
+
+
+
查询
重置
@@ -122,6 +133,13 @@
{{ (scope.row.buyPrice * scope.row.num).toFixed(2) }}
+
+
+ 已竣工
+ 未竣工
+
+
+
{
- this.tableList = response.rows || []
- this.total = response.total
+ this.tableList = response.data.rows || []
+ this.total = response.data.total
this.loading = false
}).catch((error) => {
console.error('获取丢失费用报表失败:', error)
diff --git a/src/views/material/cost/component/repairReportHome.vue b/src/views/material/cost/component/repairReportHome.vue
index bc1d390e..86503bf8 100644
--- a/src/views/material/cost/component/repairReportHome.vue
+++ b/src/views/material/cost/component/repairReportHome.vue
@@ -43,6 +43,17 @@
style="width: 130px"
/>
+
+
+
+
+
+
查询
重置
@@ -73,6 +84,13 @@
+
+
+ 已竣工
+ 未竣工
+
+
+
+
+
+
+
+
+
查询
重置
@@ -71,6 +82,13 @@
{{ scope.row.costs ? scope.row.costs.toFixed(2) : '0.00' }}
+
+
+ 已竣工
+ 未竣工
+
+
+
重置
导出Excel
查看历史报表
-
{{ exportButtonText }}
@@ -604,7 +604,7 @@ import {
getUnitList,
getAgreementInfoById, getUnitListFilterTeam,
} from '@/api/back/index.js'
-import {getSltList, costExamine, getSltReportedList, getSltReportList, getHistoryReportList,
+import {getSltList, costExamine, getSltReportedList, getSltReportList, getHistoryReportList,
getHistoryLeaseCostDetails, getHistoryRepairCostDetails, getHistoryLoseCostDetails, getHistoryScrapCostDetails,
getExportZipUnsettled,getExportZipProgress
} from '@/api/cost/cost'
@@ -929,7 +929,7 @@ export default {
this.ids.map(item => {
param.push({ agreementId: item.agreementId,settlementType:item.settlementType })
})
- this.totalItems = param.length;
+ this.totalItems = param.length;
const taskId = null
const payload = {
@@ -946,7 +946,7 @@ export default {
console.error('未结算批量明细导出失败', err);
this.handleDownloadError(err);
}
-
+
},
/** 初始化下载状态 */