|
|
|
|
@ -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
|
|
|
|
|
},
|
|
|
|
|
//确认计划选择
|
|
|
|
|
|