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] }}