|
|
|
@ -344,11 +344,12 @@
|
|
|
|
@select="selectPlan"
|
|
|
|
@select="selectPlan"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<template v-slot:btns>
|
|
|
|
<template v-slot:btns>
|
|
|
|
<el-table-column label="使用金额(元)" header-align="center" width="130">
|
|
|
|
<div></div>
|
|
|
|
<template v-if="scope.row.pid === 0" slot-scope="scope">
|
|
|
|
<!-- <el-table-column label="使用金额(元)" header-align="center" width="130">
|
|
|
|
<Input :value="scope.row.useMoney" @input="planInput($event,scope.row)" />
|
|
|
|
<template v-if="scope.row.pid > 0" slot-scope="scope">
|
|
|
|
|
|
|
|
<Input :value="scope.row.useMoney?scope.row.useMoney:0" @input="planInput($event,scope.row)" />
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column> -->
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</xy-table>
|
|
|
|
</xy-table>
|
|
|
|
|
|
|
|
|
|
|
|
@ -761,11 +762,11 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (e <= (Number(row.money) - Number(row.use_money_total))) {
|
|
|
|
if (e <= (Number(row.money) - Number(row.use_money_total))) {
|
|
|
|
row.useMoney = e
|
|
|
|
row.useMoney = e
|
|
|
|
this.plan.forEach(item => {
|
|
|
|
// this.plan.forEach(item => {
|
|
|
|
if (item.value.plan_id == row.id) {
|
|
|
|
// if (item.value.plan_id == row.id) {
|
|
|
|
item.value.use_money = e
|
|
|
|
// item.value.use_money = e
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
})
|
|
|
|
// })
|
|
|
|
return
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Message({
|
|
|
|
Message({
|
|
|
|
|