From ce7dc033b2b367d9e1b668a2679b39865ed74c23 Mon Sep 17 00:00:00 2001 From: qiezi <15576055375@163.com> Date: Wed, 5 Mar 2025 13:53:51 +0800 Subject: [PATCH] 2025-03-05 --- .../quote/detail/primary/quoteDetailBom.vue | 20 ++++++++++++++++++- .../quote/detail/primary/quoteDetailCost.vue | 4 ++-- .../modules/quote/detail/quoteGroupDetail.vue | 1 + 3 files changed, 22 insertions(+), 3 deletions(-) diff --git a/src/views/modules/quote/detail/primary/quoteDetailBom.vue b/src/views/modules/quote/detail/primary/quoteDetailBom.vue index cb45fbd..691e6b4 100644 --- a/src/views/modules/quote/detail/primary/quoteDetailBom.vue +++ b/src/views/modules/quote/detail/primary/quoteDetailBom.vue @@ -209,7 +209,25 @@ export default { columnProp: 'quoteUnitPrice', headerAlign: "center", align: "right", - columnLabel: '材料总成本', + columnLabel: '累计成本', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: 'right', + columnWidth: 100, + }, + { + userId: this.$store.state.user.name, + functionId: 5011, + serialNumber: '5011Table4LevelCost', + tableId: "5011Table4", + tableName: "报价材料信息", + columnProp: 'levelCost', + headerAlign: "center", + align: "right", + columnLabel: '本层成本', columnHidden: false, columnImage: false, columnSortable: false, diff --git a/src/views/modules/quote/detail/primary/quoteDetailCost.vue b/src/views/modules/quote/detail/primary/quoteDetailCost.vue index b16658d..eae3c10 100644 --- a/src/views/modules/quote/detail/primary/quoteDetailCost.vue +++ b/src/views/modules/quote/detail/primary/quoteDetailCost.vue @@ -142,11 +142,11 @@ export default { this.quoteDetail.totalPrice = this.quoteDetail.totalCost + this.quoteDetail.profitAmount; this.quoteDetail.unitPrice = - this.quoteDetail.totalPrice / this.quoteDetail.qty; + this.quoteDetail.totalPrice ; this.quoteDetail.taxTotalPrice = this.quoteDetail.totalPrice + this.quoteDetail.totalPrice * ((this.quoteDetail.taxRate+this.quoteDetail.exchangeRate1) / 100); this.quoteDetail.taxUnitPrice = - this.quoteDetail.taxTotalPrice / this.quoteDetail.qty; + this.quoteDetail.taxTotalPrice ; this.computeCurrencyTotalCost(); }, handleQueryAllCost(){ diff --git a/src/views/modules/quote/detail/quoteGroupDetail.vue b/src/views/modules/quote/detail/quoteGroupDetail.vue index aa5c68f..90559a5 100644 --- a/src/views/modules/quote/detail/quoteGroupDetail.vue +++ b/src/views/modules/quote/detail/quoteGroupDetail.vue @@ -621,6 +621,7 @@ export default { getProjectPartList(){ let params = { ...this.projectPart, + partType:'Manufactured', no:this.pageNo, size:this.pageSize, }