From 3b9787d36cf36411d6812e31a14b438dd55dc37a Mon Sep 17 00:00:00 2001
From: lion <120344285@qq.com>
Date: Mon, 17 Nov 2025 13:20:43 +0800
Subject: [PATCH] up
---
src/api/planActLink/index.js | 18 +
src/views/finance/paymentRegistrationList.vue | 41 +-
src/views/finance/planActLink.vue | 758 ++++++++++++++++++
3 files changed, 796 insertions(+), 21 deletions(-)
create mode 100644 src/api/planActLink/index.js
create mode 100644 src/views/finance/planActLink.vue
diff --git a/src/api/planActLink/index.js b/src/api/planActLink/index.js
new file mode 100644
index 0000000..03686bb
--- /dev/null
+++ b/src/api/planActLink/index.js
@@ -0,0 +1,18 @@
+import request from '@/utils/request'
+
+export function getPlanActLinks(params, noloading = false) {
+ return request({
+ method: 'get',
+ url: '/api/ht/fund_log/index',
+ params,
+ noloading
+ })
+}
+
+export function updateContractPlanActLinks(data) {
+ return request({
+ method: 'post',
+ url: '/api/ht/fund_log/update-contract-plan-act-links',
+ data
+ })
+}
diff --git a/src/views/finance/paymentRegistrationList.vue b/src/views/finance/paymentRegistrationList.vue
index 296ccb6..6ef9bc2 100644
--- a/src/views/finance/paymentRegistrationList.vue
+++ b/src/views/finance/paymentRegistrationList.vue
@@ -435,17 +435,34 @@ export default {
.toFixed(2)
.replace(/(\d)(?=(\d{3})+\.)/g, '$1,') : ''
}
+ }, {
+ label: '预算计划',
+ width: 330,
+ align: 'left',
+ customFn: (row) => {
+ if (row.plan_link && row.plan_link.length > 0) {
+ return row.plan_link.map((item) => {
+ return (
+
+ [{item.plan?.year}] - {item.plan?.name}
+
+ [使用金额] {item.use_money}元{' '}
+
+ )
+ })
+ }
+ }
}, {
label: '已纳入资金执行率金额',
width: 300,
align: 'left',
customFn: (row) => {
- if (row.plan_link && row.plan_link.length > 0) {
- return row.plan_link.map((item) => {
+ if (row.plan_act_links && row.plan_act_links.length > 0) {
+ return row.plan_act_links.map((item) => {
return (
{' '}
- [{item.plan.year}] {(item.plan && item.plan.pid_info) ? item.plan.pid_info.name : ''} - {item.plan.name}
[使用金额]{' '}
+ [{item.plan.year}] - {item.plan.name}
[使用金额]{' '}
{item.use_money}元{' '}
)
@@ -458,24 +475,6 @@ export default {
prop: 'type',
width: 120
},
- {
- label: '预算计划',
- width: 330,
- align: 'left',
- customFn: (row) => {
- if (row.plan_link && row.plan_link.length > 0) {
- return row.plan_link.map((item) => {
- return (
-
- [{item.plan?.year}] {(item.plan && item.plan.pid_info) ? item.plan.pid_info.name : ''} - {item.plan?.name}
-
- [使用金额] {item.use_money}元{' '}
-
- )
- })
- }
- }
- },
{
prop: 'flow_links',
label: '流程状态',
diff --git a/src/views/finance/planActLink.vue b/src/views/finance/planActLink.vue
new file mode 100644
index 0000000..7343a06
--- /dev/null
+++ b/src/views/finance/planActLink.vue
@@ -0,0 +1,758 @@
+
+
+
+
+
+
+
+ 关键词
+
+
+
+
+
+ 是否进入资金执行率
+
+
+
+ 状态
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 合同名称:{{ currentEditRow.contract.name }}
+
+
+ 付款集合:{{ currentEditRow.fund_log_collect.name }}
+
+
+ 金额:{{ currentEditRow.apply_money ? Number(currentEditRow.apply_money).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, '$1,') : '' }} 元
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
预算计划使用情况
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.money ? Number(scope.row.money).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, '$1,') : '' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
选择预算计划
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+