From a98c596d3d871b937d87f033a6c47ae95c4644b1 Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Thu, 5 Feb 2026 10:40:48 +0800 Subject: [PATCH] =?UTF-8?q?2026-02-05=20=E2=80=9D=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E4=B8=8B=E8=BE=BE=E5=90=8EVA=E4=BC=9A=E8=8E=AB=E5=90=8D?= =?UTF-8?q?=E5=85=B6=E5=A6=99=E5=8F=98=E6=88=900=E2=80=9C=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../quote/detail/primary/quoteDetailCost.vue | 46 +------------------ 1 file changed, 1 insertion(+), 45 deletions(-) diff --git a/src/views/modules/quote/detail/primary/quoteDetailCost.vue b/src/views/modules/quote/detail/primary/quoteDetailCost.vue index 575f0a7..28b7b17 100644 --- a/src/views/modules/quote/detail/primary/quoteDetailCost.vue +++ b/src/views/modules/quote/detail/primary/quoteDetailCost.vue @@ -19,51 +19,7 @@ export default { data(){ return { computeLoading:false, - quoteDetail: { - id: null, - otherCost: null, - elseCost: null, - machineCost: null, - profitAmount: null, - totalPrice: null, - adjustToolCost: null, - adjustLabourCost: null, - currencyTotalCost1: null, - adjustBomUnYield: null, - currencyTotalCost2: null, - toolCost: null, - quoteCurrencyTotalCost1: null, - adjustElseCost: null, - quoteCurrencyTotalCost2: null, - unitPrice: null, - quoteProfitRate: null, - testCost: null, - shippingCost: null, - taxTotalPrice: null, - quoteProfitAmount: null, - adjustFabricateCost: null, - adjustTestCost: null, - profitRate: null, - partCost: null, - calculatedItems: null, - adjustMachineCost: null, - taxUnitPrice: null, - manageCost: null, - taxRate: null, - quoteTaxTotalPrice: null, - labourCost: null, - fabricateCost: null, - currency1: null, - bomUnYield: null, - currency2: null, - exchangeRate1: null, - exchangeRate2: null, - packCost: null, - quoteTaxRate: null, - totalCost: null, - adjustPartCost: null, - status: '', - }, + // 注意:quoteDetail 从 props 获取,不要在 data 中重复定义,否则会覆盖 props 中的数据 rules:{ adjustPartCost: [ { required: true, message: "请输入材料成本", trigger: ["blur","change"] }