|
|
|
|
@ -101,8 +101,8 @@
|
|
|
|
|
</template>
|
|
|
|
|
<template v-slot:isLast>
|
|
|
|
|
<div class="xy-table-item">
|
|
|
|
|
<div class="xy-table-item-label" style="width: 200px;">
|
|
|
|
|
<span style="color: red;font-weight: 600;padding-right: 4px;">*</span>是否为预算内确定项目
|
|
|
|
|
<div class="xy-table-item-label">
|
|
|
|
|
<span style="color: red;font-weight: 600;padding-right: 4px;">*</span>是否为最后一笔
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content">
|
|
|
|
|
<el-switch v-model="paymentRegistrationForm.isLast"/>
|
|
|
|
|
@ -334,7 +334,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
|
|
|
|
|
this.paymentRegistrationForm.deductionMoney = res.apply_money
|
|
|
|
|
this.paymentRegistrationForm.applyMoney = res.apply_money
|
|
|
|
|
this.paymentRegistrationForm.plan = res.plan_link
|
|
|
|
|
@ -360,7 +360,6 @@ export default {
|
|
|
|
|
|
|
|
|
|
//确认审核
|
|
|
|
|
editor(){
|
|
|
|
|
console.log(this.paymentRegistrationForm)
|
|
|
|
|
let total = 0
|
|
|
|
|
this.paymentRegistrationForm.plan.forEach(item => {
|
|
|
|
|
total += Number(item.use_money)
|
|
|
|
|
@ -373,6 +372,14 @@ export default {
|
|
|
|
|
})
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
console.log({
|
|
|
|
|
id:this.registrationId,
|
|
|
|
|
contract_id:this.contract.id,
|
|
|
|
|
act_money:this.paymentRegistrationForm.actMoney,
|
|
|
|
|
status:1,
|
|
|
|
|
money_way_id:this.paymentRegistrationForm.moneyWay.toString(),
|
|
|
|
|
contract_plan_act_links:this.paymentRegistrationForm.plan
|
|
|
|
|
})
|
|
|
|
|
editorFundLog({
|
|
|
|
|
id:this.registrationId,
|
|
|
|
|
contract_id:this.contract.id,
|
|
|
|
|
@ -409,7 +416,7 @@ export default {
|
|
|
|
|
if(sel){
|
|
|
|
|
this.paymentRegistrationForm.plan = sel.map(item => {
|
|
|
|
|
return {
|
|
|
|
|
contract_id:this.paymentRegistrationForm.id,
|
|
|
|
|
contract_id:this.contract.id,
|
|
|
|
|
plan_id:item.id,
|
|
|
|
|
use_money:item.use_money,
|
|
|
|
|
new_money:item.money
|
|
|
|
|
@ -477,7 +484,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.xy-table-item-label{
|
|
|
|
|
width: 140px;
|
|
|
|
|
width: 150px;
|
|
|
|
|
}
|
|
|
|
|
.xy-table-item-price{
|
|
|
|
|
position: relative;
|
|
|
|
|
|