From cb7a48544593c4b69ba88253b26032f262444f31 Mon Sep 17 00:00:00 2001
From: fengyuan_yang <1976974459@qq.com>
Date: Fri, 13 Mar 2026 15:30:44 +0800
Subject: [PATCH] =?UTF-8?q?2026-03-13=20=E6=8A=A5=E4=BB=B7=E7=9A=84?=
=?UTF-8?q?=E6=9D=90=E6=96=99=E9=A1=B5=E7=AD=BE=EF=BC=8C=E2=80=9C=E5=8D=95?=
=?UTF-8?q?=E4=BD=8D=E6=88=90=E6=9C=AC=E2=80=9D=E6=94=B9=E6=88=90=E2=80=9C?=
=?UTF-8?q?=E7=89=A9=E6=96=99=E6=88=90=E6=9C=AC=E2=80=9D=EF=BC=8C=E6=B7=BB?=
=?UTF-8?q?=E5=8A=A0=E4=B8=A4=E5=88=97=EF=BC=9A=E5=8D=95=E4=BD=8D=E6=88=90?=
=?UTF-8?q?=E6=9C=AC=EF=BC=88=E5=8D=95=E4=BD=8D=E7=94=A8=E9=87=8F*?=
=?UTF-8?q?=E7=89=A9=E6=96=99=E6=88=90=E6=9C=AC=EF=BC=89=E3=80=81=E5=8D=95?=
=?UTF-8?q?=E4=BD=8D=E8=B0=83=E6=9C=BA=E6=88=90=E6=9C=AC=EF=BC=88=E8=B0=83?=
=?UTF-8?q?=E6=9C=BA=E7=94=A8=E9=87=8F*=E7=89=A9=E6=96=99=E6=88=90?=
=?UTF-8?q?=E6=9C=AC/MOQ=EF=BC=89?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../quote/detail/primary/quoteDetailBom.vue | 44 ++++++++++++++++++-
1 file changed, 43 insertions(+), 1 deletion(-)
diff --git a/src/views/modules/quote/detail/primary/quoteDetailBom.vue b/src/views/modules/quote/detail/primary/quoteDetailBom.vue
index 590bb56..c004659 100644
--- a/src/views/modules/quote/detail/primary/quoteDetailBom.vue
+++ b/src/views/modules/quote/detail/primary/quoteDetailBom.vue
@@ -192,7 +192,7 @@ export default {
columnProp: 'unitPrice',
headerAlign: "center",
align: "right",
- columnLabel: '单位成本',
+ columnLabel: '物料成本',
columnHidden: false,
columnImage: false,
columnSortable: false,
@@ -201,6 +201,42 @@ export default {
fixed: '',
columnWidth: 90,
},
+ {
+ userId: this.$store.state.user.name,
+ functionId: 5011,
+ serialNumber: '5011Table4CalcUnitCost',
+ tableId: "5011Table4",
+ tableName: "报价材料信息",
+ columnProp: 'calcUnitCost',
+ headerAlign: "center",
+ align: "right",
+ columnLabel: '单位成本',
+ columnHidden: false,
+ columnImage: false,
+ columnSortable: false,
+ sortLv: 0,
+ status: true,
+ fixed: '',
+ columnWidth: 100,
+ },
+ {
+ userId: this.$store.state.user.name,
+ functionId: 5011,
+ serialNumber: '5011Table4CalcSetupCost',
+ tableId: "5011Table4",
+ tableName: "报价材料信息",
+ columnProp: 'calcSetupCost',
+ headerAlign: "center",
+ align: "right",
+ columnLabel: '单位调机成本',
+ columnHidden: false,
+ columnImage: false,
+ columnSortable: false,
+ sortLv: 0,
+ status: true,
+ fixed: '',
+ columnWidth: 110,
+ },
{
userId: this.$store.state.user.name,
functionId: 5011,
@@ -574,6 +610,12 @@ export default {
{{ scope.row[item.columnProp] }}
+
+ {{ (Number(scope.row.qtyPerAssembly) * Number(scope.row.unitPrice)).toFixed(6) }}
+
+
+ {{ quoteDetail.qty ? (Number(scope.row.componentScrap) * Number(scope.row.unitPrice) / Number(quoteDetail.qty)).toFixed(6) : '' }}
+
{{ scope.row[item.columnProp] }}