master
271556543@qq.com 3 years ago
parent fdcfe3ebad
commit 763aa924eb

@ -68,18 +68,18 @@
</div>
</div>
</template>
<!-- <template v-slot:is_end>-->
<!-- <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>-->
<!-- <div class="xy-table-item-content">-->
<!-- <el-switch v-model="form.is_end" />-->
<template v-slot:is_end>
<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>
<div class="xy-table-item-content">
<el-switch :value="form.is_end === 1" @change="e => e ? form.is_end = 1 : form.is_end = 0"/>
<!-- @change="toggleSelection"-->
<!-- </div>-->
<!-- </div>-->
<!-- </template>-->
</div>
</div>
</template>
<template v-slot:extraFormBottom v-if="false">
<Input search enter-button=" " placeholder="搜索预算计划.." v-model="searchContent" @on-search="getBudgets"/>
<xy-table :list="plans" :show-index="false" :table-item="planTable" :height="310" style="margin-top: 10px;" ref="planTable" @select="selectPlan">

@ -176,7 +176,7 @@ export default {
applyMoney:"",
deductionMoney:"",
type:"",
//isLast:false,
isLast:false,
plan:[]
},
paymentRegistrationRules:{
@ -286,7 +286,7 @@ export default {
apply_money:this.paymentRegistrationForm.applyMoney,
discount_money:this.paymentRegistrationForm.deductionMoney,
type:this.paymentRegistrationForm.type,
//is_end:this.paymentRegistrationForm.isLast ? 1 : 0
is_end:this.paymentRegistrationForm.isLast ? 1 : 0
}
addFundLog(data).then(res=>{
this.isShowPaymentRegistration = false

Loading…
Cancel
Save