From 79b064b554702562f8bb412cc512364bed194d5b Mon Sep 17 00:00:00 2001 From: syruan <15555146157@163.com> Date: Fri, 29 Aug 2025 18:06:56 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=B4=E4=BF=AE=E4=B8=A2=E5=A4=B1=E6=8A=A5?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/cost/cost.js | 27 ++ .../material/cost/component/applyDetail.vue | 14 +- .../cost/component/lostReportHome.vue | 381 ++++++++++++++++++ .../cost/component/repairReportHome.vue | 379 +++++++++++++++++ .../cost/component/scrapReportHome.vue | 377 +++++++++++++++++ src/views/material/cost/lostReportList.vue | 22 + src/views/material/cost/repairReportList.vue | 22 + src/views/material/cost/scrapReportList.vue | 22 + 8 files changed, 1237 insertions(+), 7 deletions(-) create mode 100644 src/views/material/cost/component/lostReportHome.vue create mode 100644 src/views/material/cost/component/repairReportHome.vue create mode 100644 src/views/material/cost/component/scrapReportHome.vue create mode 100644 src/views/material/cost/lostReportList.vue create mode 100644 src/views/material/cost/repairReportList.vue create mode 100644 src/views/material/cost/scrapReportList.vue diff --git a/src/api/cost/cost.js b/src/api/cost/cost.js index 097c6e74..fc086f70 100644 --- a/src/api/cost/cost.js +++ b/src/api/cost/cost.js @@ -211,6 +211,33 @@ export function getClzAgreementInfoById(data) { }) } +// 查询丢失费用报表列表 +export function getLostReportList(query) { + return request({ + url: '/material/slt_agreement_info/getLostReportList', + method: 'get', + params: query + }) +} + +// 查询维修费用报表列表 +export function getRepairReportList(query) { + return request({ + url: '/material/slt_agreement_info/getRepairReportList', + method: 'get', + params: query + }) +} + +// 查询报废费用报表列表 +export function getScrapReportList(query) { + return request({ + url: '/material/slt_agreement_info/getScrapReportList', + method: 'get', + params: query + }) +} + diff --git a/src/views/material/cost/component/applyDetail.vue b/src/views/material/cost/component/applyDetail.vue index df3035af..5ab7742e 100644 --- a/src/views/material/cost/component/applyDetail.vue +++ b/src/views/material/cost/component/applyDetail.vue @@ -57,7 +57,7 @@ @@ -75,7 +75,7 @@ @@ -104,7 +104,7 @@ @@ -131,7 +131,7 @@ @@ -159,7 +159,7 @@ @@ -187,7 +187,7 @@ @@ -273,7 +273,7 @@ export default { console.log('📋 row 数据为空,跳过初始化'); return; } - + console.log('📋 开始初始化数据,row:', this.row); let arr = JSON.parse(this.row) console.log('📋 解析后的数据:', arr); diff --git a/src/views/material/cost/component/lostReportHome.vue b/src/views/material/cost/component/lostReportHome.vue new file mode 100644 index 00000000..b30bb2c2 --- /dev/null +++ b/src/views/material/cost/component/lostReportHome.vue @@ -0,0 +1,381 @@ + + + + + diff --git a/src/views/material/cost/component/repairReportHome.vue b/src/views/material/cost/component/repairReportHome.vue new file mode 100644 index 00000000..9893646c --- /dev/null +++ b/src/views/material/cost/component/repairReportHome.vue @@ -0,0 +1,379 @@ + + + + + diff --git a/src/views/material/cost/component/scrapReportHome.vue b/src/views/material/cost/component/scrapReportHome.vue new file mode 100644 index 00000000..2bf224dd --- /dev/null +++ b/src/views/material/cost/component/scrapReportHome.vue @@ -0,0 +1,377 @@ + + + + + diff --git a/src/views/material/cost/lostReportList.vue b/src/views/material/cost/lostReportList.vue new file mode 100644 index 00000000..903034ae --- /dev/null +++ b/src/views/material/cost/lostReportList.vue @@ -0,0 +1,22 @@ + + + + + diff --git a/src/views/material/cost/repairReportList.vue b/src/views/material/cost/repairReportList.vue new file mode 100644 index 00000000..2d1d191b --- /dev/null +++ b/src/views/material/cost/repairReportList.vue @@ -0,0 +1,22 @@ + + + + + diff --git a/src/views/material/cost/scrapReportList.vue b/src/views/material/cost/scrapReportList.vue new file mode 100644 index 00000000..1e11a365 --- /dev/null +++ b/src/views/material/cost/scrapReportList.vue @@ -0,0 +1,22 @@ + + + + +