年中专项资金

master
xy 12 months ago
parent 0a92f32efa
commit 7375a9da3d

@ -510,6 +510,26 @@
</div>
</div>
</template>
<template #is_middle_fund>
<div class="xy-table-item">
<div class="xy-table-item-label">
是否年中专项资金
</div>
<div class="xy-table-item-content">
<el-switch v-model="form.is_middle_fund" :active-value="1" :inactive-value="0" active-text="是" inactive-text="否"></el-switch>
</div>
</div>
</template>
<template #is_join_count>
<div class="xy-table-item">
<div class="xy-table-item-label">
是否参与执行率统计
</div>
<div class="xy-table-item-content">
<el-switch v-model="form.is_join_count" :active-value="1" :inactive-value="0" active-text="是" inactive-text="否"></el-switch>
</div>
</div>
</template>
<template v-slot:remark>
<div class="xy-table-item">
<div class="xy-table-item-label">备注</div>
@ -747,6 +767,26 @@
</div>
</div>
</template>
<template #is_middle_fund>
<div class="xy-table-item">
<div class="xy-table-item-label">
是否年中专项资金
</div>
<div class="xy-table-item-content">
<el-switch v-model="editorForm.is_middle_fund" :active-value="1" :inactive-value="0" active-text="是" inactive-text="否"></el-switch>
</div>
</div>
</template>
<template #is_join_count>
<div class="xy-table-item">
<div class="xy-table-item-label">
是否参与执行率统计
</div>
<div class="xy-table-item-content">
<el-switch v-model="editorForm.is_join_count" :active-value="1" :inactive-value="0" active-text="是" inactive-text="否"></el-switch>
</div>
</div>
</template>
<template v-slot:remark>
<div class="xy-table-item">
<div class="xy-table-item-label">备注</div>
@ -808,6 +848,8 @@ export default {
year: "",
department: "",
money: "",
is_middle_fund: 1,
is_join_count: 1,
content: "",
remark: "",
plan_department_link_id: [],
@ -1191,6 +1233,8 @@ export default {
content: this.form.content,
dimension: this.form.dimension,
money: moneyRecovery(this.form.money),
is_middle_fund: this.form.is_middle_fund,
is_join_count: this.form.is_join_count,
plan_department_id: this.form.department,
plan_department_links: plan_department_links,
remark: this.form.remark,
@ -1245,6 +1289,8 @@ export default {
content: this.editorForm.content,
dimension: this.editorForm.dimension,
money: moneyRecovery(this.editorForm.money),
is_middle_fund: this.editorForm.is_middle_fund,
is_join_count: this.editorForm.is_join_count,
update_money: moneyRecovery(this.editorForm.update_money),
remark: this.editorForm.remark,
plan_department_id: this.editorForm.department,
@ -1279,6 +1325,8 @@ export default {
department: res.plan_department_id,
money: moneyFormatter(res.money),
update_money: moneyFormatter(res.update_money),
is_middle_fund: res.is_middle_fund,
is_join_count: res.is_join_count,
year: res.year,
content: res.content,
remark: res.remark,

@ -417,6 +417,16 @@ export default {
return moneyFormatter(value);
},
},
{
label: "年中专项资金(元)",
width: 260,
align: "right",
sortable: false,
prop: "middle_fund_total",
formatter: (cell, data, value) => {
return moneyFormatter(value);
},
},
{
label: "已使用(元)",
width: 120,

@ -114,6 +114,15 @@ export default {
return h("span", {}, moneyFormatter(row.money_total_2));
},
},
{
title: "年中专项资金(元)",
width: 170,
align: "right",
key: "middle_fund_total",
render: (h, { row }) => {
return h("span", {}, moneyFormatter(row.middle_fund_total));
},
},
{
title: "已使用(元)",
width: 120,

Loading…
Cancel
Save