diff --git a/src/pages/Middle/bathroom/BathroomQuotation/BathroomQuotation/Edit.vue b/src/pages/Middle/bathroom/BathroomQuotation/BathroomQuotation/Edit.vue index f95d1e7..c4bc260 100644 --- a/src/pages/Middle/bathroom/BathroomQuotation/BathroomQuotation/Edit.vue +++ b/src/pages/Middle/bathroom/BathroomQuotation/BathroomQuotation/Edit.vue @@ -47,9 +47,9 @@ @@ -437,9 +437,9 @@ (合计)金额:{{ parseFloat(formOptions.data.labor_total_amount || 0).toFixed(2) }} { + + + + a.data.BathroomMaterial.forEach(o => { + this.fittings_detailsData.forEach(item => { + if (item.material && item.material[0] && item.material[0].toString() == o.id.toString()) { + + item.material_default_height = o.spec || "15"; + } + }); + + }); + + + console.log(this.fittings_detailsData) + + }); + }, + + loadSettings() { this.$mk.post({ @@ -1522,7 +1551,7 @@ export default { row.height_formula = selectedData.spec; } } - + if (!row.rate_materials && this.settignsValues.Main_material_utilization_rate) { row.rate_materials = this.settignsValues.Main_material_utilization_rate; }