From c9de5fe849104680f60b7f9016d949fc695f2c3f Mon Sep 17 00:00:00 2001 From: xs Date: Fri, 3 Apr 2026 11:08:13 +0800 Subject: [PATCH] =?UTF-8?q?1.4.1=E5=89=8D=E7=AB=AF=EF=BC=9A=20=20=20=20fix?= =?UTF-8?q?(=E5=B8=82=E5=9C=BA=E9=A2=84=E7=AE=97):=20=20=20=20=E9=A2=84?= =?UTF-8?q?=E7=AE=97=E9=87=91=E9=A2=9D=E9=83=BD=E6=94=B9=E4=B8=BA=E5=85=83?= =?UTF-8?q?=E3=80=82=20=20=20=20=E5=AF=BC=E5=87=BA=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=90=8D=E6=A0=BC=E5=BC=8F=EF=BC=9AS-XXX=5F=20=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E5=90=8D=E7=A7=B0=5F=20=E9=A2=84=E7=AE=97=E8=A1=A8?= =?UTF-8?q?=EF=BC=8C=E5=AF=BC=E5=87=BA=E6=A8=A1=E6=9D=BF=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E3=80=82=20=20=20=20=E9=A2=84=E7=AE=97=E4=BA=BA=E5=B7=A5?= =?UTF-8?q?=E6=A0=87=E5=87=86=EF=BC=9A=E6=B7=BB=E5=8A=A0=E9=83=A8=E9=97=A8?= =?UTF-8?q?=E4=B8=8B=E6=8B=89=E6=A1=86=E9=80=89=E6=8B=A9=E6=8F=90=E9=86=92?= =?UTF-8?q?=E3=80=82=20=20=20=20=E9=A2=84=E7=AE=97=E6=9D=90=E6=96=99?= =?UTF-8?q?=E8=B4=B9=20=E9=80=89=E6=8B=A9=E6=A0=87=E5=87=86=E7=89=A9?= =?UTF-8?q?=E6=96=99=E3=80=81=E9=9D=9E=E6=A0=87=E5=87=86=E7=89=A9=E6=96=99?= =?UTF-8?q?=E6=96=B9=E5=BC=8F=E4=BC=98=E5=8C=96=E3=80=82=20=20=20=20?= =?UTF-8?q?=E9=A2=84=E7=AE=97=E6=9D=90=E6=96=99=E8=B4=B9=E6=9D=90=E6=96=99?= =?UTF-8?q?=E5=90=8D=E7=A7=B0=E6=94=B9=E4=B8=BA=E7=89=A9=E6=96=99=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=E3=80=82=20=20=20=20=E9=A2=84=E7=AE=97=E5=AE=89?= =?UTF-8?q?=E8=A3=85=E8=B4=B9=EF=BC=8C=E5=88=86=E4=B8=BA=E6=89=BF=E5=8C=85?= =?UTF-8?q?=E3=80=81=E9=9D=9E=E6=89=BF=E5=8C=85=E7=B1=BB=E5=9E=8B=EF=BC=8C?= =?UTF-8?q?=E6=89=BF=E5=8C=85=E5=8F=AA=E5=A1=AB=E9=87=91=E9=A2=9D=E3=80=82?= =?UTF-8?q?=20=20=20=20=E9=A2=84=E7=AE=97=E5=B7=AE=E6=97=85=E8=B4=B9?= =?UTF-8?q?=EF=BC=8C=E6=B7=BB=E5=8A=A0=E5=88=97=E9=AB=98=E6=B8=A9=E8=A1=A5?= =?UTF-8?q?=E8=B4=B4=EF=BC=88=E5=85=83=EF=BC=89=E3=80=81=E8=89=B0=E8=8B=A6?= =?UTF-8?q?=E8=A1=A5=E8=B4=B4=EF=BC=88=E5=85=83=EF=BC=89=E3=80=82=20=20=20?= =?UTF-8?q?=20=E5=85=B6=E4=BB=96=E8=B4=B9=E7=94=A8=E7=9A=84=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E6=94=B9=E4=B8=BA=E4=B8=8B=E6=8B=89=E6=A1=86=E5=8F=AF?= =?UTF-8?q?=E8=BE=93=E5=87=BA=EF=BC=8C=E5=8E=BB=E6=8E=89=E8=BF=90=E8=BE=93?= =?UTF-8?q?=E8=B4=B9=E3=80=82=20=20=20=20=E9=A2=84=E7=AE=97=E8=A1=A8?= =?UTF-8?q?=E5=90=88=E5=90=8C=E5=87=80=E9=A2=9D=E5=8F=AF=E4=BB=A5=E7=BC=96?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/oa/erp/budgetInfo/edit.vue | 24 ++-- src/views/oa/erp/budgetInfo/index.vue | 8 +- .../oa/erp/budgetInfo/market/BudgetTable.vue | 21 +-- .../budgetInfo/market/InstallationCost.vue | 94 +++++++++---- .../oa/erp/budgetInfo/market/LaborCost.vue | 124 ++++++++++++++---- .../oa/erp/budgetInfo/market/MaterialCost.vue | 78 ++++++++--- .../oa/erp/budgetInfo/market/OtherCost.vue | 15 ++- .../oa/erp/budgetInfo/market/TravelCost.vue | 59 ++++++--- 8 files changed, 306 insertions(+), 117 deletions(-) diff --git a/src/views/oa/erp/budgetInfo/edit.vue b/src/views/oa/erp/budgetInfo/edit.vue index 9c5616c..b72af5b 100644 --- a/src/views/oa/erp/budgetInfo/edit.vue +++ b/src/views/oa/erp/budgetInfo/edit.vue @@ -481,11 +481,11 @@ const updateBudgetTable = async () => { const otherTotal = otherCostRef.value?.getTotalAmount() || { budgetAmount: 0, reducedAmount: 0 }; // 更新预算表,目前是按单位是万元传值,后续如果根据单位是元,则在此判断更新传的值 - budgetTableRef.value.updateBudgetDetailData('材料费', materialTotal.budgetAmount / 10000, materialTotal.reducedAmount / 10000); - budgetTableRef.value.updateBudgetDetailData('人工费', laborTotal.budgetAmount / 10000, laborTotal.reducedAmount / 10000); - budgetTableRef.value.updateBudgetDetailData('安装费', installationTotal.budgetAmount / 10000, installationTotal.reducedAmount / 10000); - budgetTableRef.value.updateBudgetDetailData('差旅费', travelTotal.budgetAmount / 10000, travelTotal.reducedAmount / 10000); - budgetTableRef.value.updateBudgetDetailData('其他费用', otherTotal.budgetAmount / 10000, otherTotal.reducedAmount / 10000); + budgetTableRef.value.updateBudgetDetailData('材料费', materialTotal.budgetAmount, materialTotal.reducedAmount); + budgetTableRef.value.updateBudgetDetailData('人工费', laborTotal.budgetAmount, laborTotal.reducedAmount); + budgetTableRef.value.updateBudgetDetailData('安装费', installationTotal.budgetAmount, installationTotal.reducedAmount); + budgetTableRef.value.updateBudgetDetailData('差旅费', travelTotal.budgetAmount, travelTotal.reducedAmount); + budgetTableRef.value.updateBudgetDetailData('其他费用', otherTotal.budgetAmount, otherTotal.reducedAmount); }; // 更新研发项目预算预算表数据 @@ -507,13 +507,13 @@ const updateRdBudgetTable = async () => { const otherTotal = otherCost.otherTotal || 0; // 更新预算表,目前是按单位是万元传值,后续如果根据单位是元,则在此判断更新传的值 - rdBudgetTableRef.value.updateRdBudgetDetailData('材料费', materialTotal / 10000); - rdBudgetTableRef.value.updateRdBudgetDetailData('人工费', laborTotal / 10000); - rdBudgetTableRef.value.updateRdBudgetDetailData('差旅费', travelTotal / 10000); - rdBudgetTableRef.value.updateRdBudgetDetailData('测试化验加工费', testingTotal / 10000); - rdBudgetTableRef.value.updateRdBudgetDetailData('专家咨询费用', expertConsultTotal / 10000); - rdBudgetTableRef.value.updateRdBudgetDetailData('新产品设计费', techConsultTotal / 10000); - rdBudgetTableRef.value.updateRdBudgetDetailData('其他费用', otherTotal / 10000); + rdBudgetTableRef.value.updateRdBudgetDetailData('材料费', materialTotal); + rdBudgetTableRef.value.updateRdBudgetDetailData('人工费', laborTotal); + rdBudgetTableRef.value.updateRdBudgetDetailData('差旅费', travelTotal); + rdBudgetTableRef.value.updateRdBudgetDetailData('测试化验加工费', testingTotal); + rdBudgetTableRef.value.updateRdBudgetDetailData('专家咨询费用', expertConsultTotal); + rdBudgetTableRef.value.updateRdBudgetDetailData('新产品设计费', techConsultTotal); + rdBudgetTableRef.value.updateRdBudgetDetailData('其他费用', otherTotal); }; // 提取用户查找逻辑 diff --git a/src/views/oa/erp/budgetInfo/index.vue b/src/views/oa/erp/budgetInfo/index.vue index 5a00d63..8f841d6 100644 --- a/src/views/oa/erp/budgetInfo/index.vue +++ b/src/views/oa/erp/budgetInfo/index.vue @@ -86,9 +86,9 @@ - - - + + +