备注
@@ -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,
diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue
index 4d3387f..dbe7ec3 100644
--- a/src/views/dashboard/index.vue
+++ b/src/views/dashboard/index.vue
@@ -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,
diff --git a/src/views/system/workerComponents/department.vue b/src/views/system/workerComponents/department.vue
index 9a7dfed..a9ed63f 100644
--- a/src/views/system/workerComponents/department.vue
+++ b/src/views/system/workerComponents/department.vue
@@ -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,