|
|
|
|
@ -184,7 +184,7 @@ export default {
|
|
|
|
|
applyMoney:"",
|
|
|
|
|
deductionMoney:"",
|
|
|
|
|
type:"",
|
|
|
|
|
isLast:false,
|
|
|
|
|
//isLast:false,
|
|
|
|
|
plan:[],
|
|
|
|
|
actMoney:'',
|
|
|
|
|
moneyWay:'',//资金列支渠道
|
|
|
|
|
@ -240,7 +240,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
inputMoney(e,row){
|
|
|
|
|
row.useMoney = e
|
|
|
|
|
row.use_money = e
|
|
|
|
|
this.paymentRegistrationForm.plan.forEach(item => {
|
|
|
|
|
if(item.plan_id == row.id){
|
|
|
|
|
item.use_money = e
|
|
|
|
|
@ -275,7 +275,7 @@ export default {
|
|
|
|
|
this.registrationId = id
|
|
|
|
|
const res = await detailFundLog({id})
|
|
|
|
|
this.paymentRegistrationForm.type = res.type
|
|
|
|
|
this.paymentRegistrationForm.isLast = res.is_end === 1 ? true : false
|
|
|
|
|
//this.paymentRegistrationForm.isLast = res.is_end === 1 ? true : false
|
|
|
|
|
this.paymentRegistrationForm.deductionMoney = res.apply_money
|
|
|
|
|
this.paymentRegistrationForm.applyMoney = res.apply_money
|
|
|
|
|
this.paymentRegistrationForm.plan = res.plan_link
|
|
|
|
|
@ -323,7 +323,7 @@ export default {
|
|
|
|
|
this.planTotal = res.list.total
|
|
|
|
|
|
|
|
|
|
this.toggleSelection(this.paymentRegistrationForm.plan.map(item => {
|
|
|
|
|
return item.value.plan_id
|
|
|
|
|
return item.plan_id
|
|
|
|
|
}))
|
|
|
|
|
},
|
|
|
|
|
planPageChange(e){
|
|
|
|
|
@ -335,7 +335,7 @@ export default {
|
|
|
|
|
this.paymentRegistrationForm.plan = sel.map(item => {
|
|
|
|
|
return {
|
|
|
|
|
plan_id:item.id,
|
|
|
|
|
use_money:item.useMoney,
|
|
|
|
|
use_money:item.use_money,
|
|
|
|
|
new_money:item.money
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
@ -348,7 +348,7 @@ export default {
|
|
|
|
|
if (plans) {
|
|
|
|
|
this.plans.filter(plan => {
|
|
|
|
|
if(plans.includes(plan.id)){
|
|
|
|
|
plan.useMoney = this.paymentRegistrationForm.plan[plans.indexOf(plan.id)].value.use_money
|
|
|
|
|
plan.use_money = this.paymentRegistrationForm.plan[plans.indexOf(plan.id)].use_money
|
|
|
|
|
return true
|
|
|
|
|
}
|
|
|
|
|
}).map(row => {
|
|
|
|
|
|