diff --git a/src/api/cost/cost.js b/src/api/cost/cost.js
index fc086f70..1bcf1226 100644
--- a/src/api/cost/cost.js
+++ b/src/api/cost/cost.js
@@ -238,6 +238,24 @@ export function getScrapReportList(query) {
})
}
+// 查询租赁费用区间报表列表
+export function getLeaseCostRangeReportList(query) {
+ return request({
+ url: '/material/slt_agreement_info/leasePeriodCostList',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询租赁费用明细详情
+export function getLeaseCostDetails(query) {
+ return request({
+ url: '/material/slt_agreement_info/leasePeriodCostDetails',
+ method: 'get',
+ params: query
+ })
+}
+
diff --git a/src/router/index.js b/src/router/index.js
index e98d3fda..84c2487c 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -242,6 +242,51 @@ export const dynamicRoutes = [
component: () => import('@/views/business-examine/reduction-apply/business-details.vue')
}
]
+ },
+ // 丢失费用报表
+ {
+ path: '/material/cost/lost-report',
+ component: Layout,
+ hidden: true,
+ permissions: ['material:cost:lost-report'], // 权限字符
+ children: [
+ {
+ path: 'index',
+ name: 'LostReport',
+ meta: { title: '丢失费用报表', activeMenu: '/material/cost' },
+ component: () => import('@/views/material/cost/lostReportList.vue')
+ }
+ ]
+ },
+ // 维修费用报表
+ {
+ path: '/material/cost/repair-report',
+ component: Layout,
+ hidden: true,
+ permissions: ['material:cost:repair-report'], // 权限字符
+ children: [
+ {
+ path: 'index',
+ name: 'RepairReport',
+ meta: { title: '维修费用报表', activeMenu: '/material/cost' },
+ component: () => import('@/views/material/cost/repairReportList.vue')
+ }
+ ]
+ },
+ // 报废费用报表
+ {
+ path: '/material/cost/scrap-report',
+ component: Layout,
+ hidden: true,
+ permissions: ['material:cost:scrap-report'], // 权限字符
+ children: [
+ {
+ path: 'index',
+ name: 'ScrapReport',
+ meta: { title: '报废费用报表', activeMenu: '/material/cost' },
+ component: () => import('@/views/material/cost/scrapReportList.vue')
+ }
+ ]
}
]
diff --git a/src/views/material/cost/component/leaseCostRangeReportHome.vue b/src/views/material/cost/component/leaseCostRangeReportHome.vue
new file mode 100644
index 00000000..0c44c4c1
--- /dev/null
+++ b/src/views/material/cost/component/leaseCostRangeReportHome.vue
@@ -0,0 +1,685 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+ 导出Excel
+
+
+
+
+
+
+ {{ scope.$index + 1 }}
+
+
+
+
+
+
+
+
+ {{ scope.row.isSettled === '1' ? '已结算' : '未结算' }}
+
+
+
+
+
+
+ {{ scope.row.totalEquipmentCount ? parseFloat(scope.row.totalEquipmentCount).toFixed(3) : '0.000' }}
+
+
+
+
+
+ {{ scope.row.totalLeaseCost ? parseFloat(scope.row.totalLeaseCost).toFixed(2) : '0.00' }}
+
+
+
+
+ {{ scope.row.avgDailyRent ? parseFloat(scope.row.avgDailyRent).toFixed(2) : '0.00' }}
+
+
+
+
+
+
+ {{ scope.row.earliestLeaseTime || '-' }}
+
+
+
+
+ {{ scope.row.latestReturnTime || '-' }}
+
+
+
+
+ {{ scope.row.settlementTime || '-' }}
+
+
+
+
+ {{ scope.row.remark || '-' }}
+
+
+
+
+ 详情
+
+
+
+
+
+
+
+
+
+
+
+
+ 导出明细Excel
+
+
+
+
+
+ {{ scope.$index + 1 }}
+
+
+
+
+
+ {{ scope.row.modelName || '-' }}
+
+
+
+
+ {{ scope.row.maCode || '-' }}
+
+
+
+
+ {{ scope.row.num ? parseFloat(scope.row.num).toFixed(3) : '0.000' }}
+
+
+
+
+
+ {{ scope.row.leasePrice ? parseFloat(scope.row.leasePrice).toFixed(2) : '0.00' }}
+
+
+
+
+
+
+
+ {{ scope.row.leaseCost ? parseFloat(scope.row.leaseCost).toFixed(2) : '0.00' }}
+
+
+
+
+
+ {{ scope.row.isSettled === '1' ? '已结算' : '未结算' }}
+
+
+
+
+
+ {{ scope.row.settlementTime || '-' }}
+
+
+
+
+ {{ scope.row.startTime || '-' }}
+
+
+
+
+ {{ scope.row.endTime || '-' }}
+
+
+
+
+ {{ scope.row.remark || '-' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/material/cost/leaseCostRangeReportList.vue b/src/views/material/cost/leaseCostRangeReportList.vue
new file mode 100644
index 00000000..671ffd35
--- /dev/null
+++ b/src/views/material/cost/leaseCostRangeReportList.vue
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+