From 185e2e8e818420cdd4c387ef52645246817def88 Mon Sep 17 00:00:00 2001 From: xielue Date: Sun, 25 Jun 2023 11:52:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=A5=E4=BB=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BathroomQuotation/Edit.vue | 93 ++++++++++++------- 1 file changed, 61 insertions(+), 32 deletions(-) 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; }