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 @@ + + + + + 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 @@ + + + + +