年中专项资金

master
xy 1 year ago
parent 0a92f32efa
commit 7375a9da3d

@ -510,6 +510,26 @@
</div> </div>
</div> </div>
</template> </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> <template v-slot:remark>
<div class="xy-table-item"> <div class="xy-table-item">
<div class="xy-table-item-label">备注</div> <div class="xy-table-item-label">备注</div>
@ -747,6 +767,26 @@
</div> </div>
</div> </div>
</template> </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> <template v-slot:remark>
<div class="xy-table-item"> <div class="xy-table-item">
<div class="xy-table-item-label">备注</div> <div class="xy-table-item-label">备注</div>
@ -808,6 +848,8 @@ export default {
year: "", year: "",
department: "", department: "",
money: "", money: "",
is_middle_fund: 1,
is_join_count: 1,
content: "", content: "",
remark: "", remark: "",
plan_department_link_id: [], plan_department_link_id: [],
@ -1191,6 +1233,8 @@ export default {
content: this.form.content, content: this.form.content,
dimension: this.form.dimension, dimension: this.form.dimension,
money: moneyRecovery(this.form.money), 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_id: this.form.department,
plan_department_links: plan_department_links, plan_department_links: plan_department_links,
remark: this.form.remark, remark: this.form.remark,
@ -1245,6 +1289,8 @@ export default {
content: this.editorForm.content, content: this.editorForm.content,
dimension: this.editorForm.dimension, dimension: this.editorForm.dimension,
money: moneyRecovery(this.editorForm.money), 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), update_money: moneyRecovery(this.editorForm.update_money),
remark: this.editorForm.remark, remark: this.editorForm.remark,
plan_department_id: this.editorForm.department, plan_department_id: this.editorForm.department,
@ -1279,6 +1325,8 @@ export default {
department: res.plan_department_id, department: res.plan_department_id,
money: moneyFormatter(res.money), money: moneyFormatter(res.money),
update_money: moneyFormatter(res.update_money), update_money: moneyFormatter(res.update_money),
is_middle_fund: res.is_middle_fund,
is_join_count: res.is_join_count,
year: res.year, year: res.year,
content: res.content, content: res.content,
remark: res.remark, remark: res.remark,

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

@ -114,6 +114,15 @@ export default {
return h("span", {}, moneyFormatter(row.money_total_2)); 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: "已使用(元)", title: "已使用(元)",
width: 120, width: 120,

Loading…
Cancel
Save