From fb5af43327cdd519449e9ab00fb31553a91b1b7c Mon Sep 17 00:00:00 2001 From: xy <271556543@qq.com> Date: Wed, 17 Jul 2024 17:16:57 +0800 Subject: [PATCH] 1 --- src/views/contract/components/editorContract.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/views/contract/components/editorContract.vue b/src/views/contract/components/editorContract.vue index 1af04c4..6eb2726 100644 --- a/src/views/contract/components/editorContract.vue +++ b/src/views/contract/components/editorContract.vue @@ -596,6 +596,7 @@ import { listdeptNoAuth } from '@/api/system/department' type: "selection", width: 56, align: "center", + fixed: "left" }, { title: "项目名称", @@ -695,9 +696,14 @@ import { listdeptNoAuth } from '@/api/system/department' } if ((parseFloat(e) + parseFloat(row.has_money_total)) > (parseFloat(row.update_money) || parseFloat(row.money))) { this.$message.warning("使用金额不能大于计划金额"); - row.use_money = 0 + row.useMoney = 0 return } + let findPlan = this.plan.find(i => i.value.plan_id === row.id) + if (findPlan) { + findPlan.value.use_money = e; + } + console.log(this.plan,row) row.useMoney = e }, //确认计划选择