From 2daab7ffdbebb9d99d241045c1e0a36540351e57 Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Wed, 17 Sep 2025 19:04:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=90=8C=20=E9=9B=86=E5=90=88?= =?UTF-8?q?=E4=BB=98=E6=AC=BE=E7=99=BB=E8=AE=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/flow/components/payMx copy.vue | 529 ++++++++++++++++++++++ src/views/flow/components/payMx.vue | 486 ++++++++++++-------- src/views/flow/create.vue | 5 +- src/views/flow/list.vue | 552 ++++++++++++++--------- 4 files changed, 1174 insertions(+), 398 deletions(-) create mode 100644 src/views/flow/components/payMx copy.vue diff --git a/src/views/flow/components/payMx copy.vue b/src/views/flow/components/payMx copy.vue new file mode 100644 index 0000000..d593e00 --- /dev/null +++ b/src/views/flow/components/payMx copy.vue @@ -0,0 +1,529 @@ + + + + + diff --git a/src/views/flow/components/payMx.vue b/src/views/flow/components/payMx.vue index c6411c9..04c168c 100644 --- a/src/views/flow/components/payMx.vue +++ b/src/views/flow/components/payMx.vue @@ -78,34 +78,37 @@ - - - - - -
- 设为已支付完毕 -
+ + + + + +
+ 设为已支付完毕 +

发起新的支付审批

+ +
+
{{ pay.title }}
*申请付款金额
-
@@ -114,7 +117,7 @@ *款项类型
- @@ -126,12 +129,11 @@ *是否为最后一笔
- - + +
- - + }" :row-config="{ keyField: 'id' }" :custom-config="{ mode: 'popup' }" :data="getGroupList(pay.id)"> @@ -163,10 +181,20 @@ - {{ model.custom_model ? model.custom_model.name : '' }}{{ model.total }} + :effect=" + select.custom_model_id === model.custom_model_id + ? 'dark' + : 'plain' + " + :type="['success', 'info', 'warning', 'danger'][index % 4]" + @click=" + (select.custom_model_id = model.custom_model_id), + getFields(model.custom_model_id), + getList() + " + > + {{ model.custom_model ? model.custom_model.name : "" + }}{{ model.total }} @@ -192,17 +220,28 @@ range: true, checkMethod: ({ row }) => { if ($route.path !== '/flow/list/todo') { - return true + if ($route.path == '/flow/list/handled') { + if ( + select.custom_model_id == 99 && + row.custom_model_id === 99 && + row.status === 1 && + row.fund_log_is_end === 0 + ) { + return true; + } + } else { + return true; + } } else { - if (!select.custom_model_id) return false + if (!select.custom_model_id) return false; if (multiDealFlows.length === 0) { - return true + return true; } else { - const firstFlow = multiDealFlows[0] - return row.current_node.id === firstFlow.current_node.id + const firstFlow = multiDealFlows[0]; + return row.current_node.id === firstFlow.current_node.id; } } - } + }, }" :row-config="{ keyField: 'id' }" :custom-config="{ mode: 'popup' }" @@ -215,77 +254,76 @@ @menu-click="contextMenuClickEvent" > - + - 查看查看 @@ -334,7 +376,10 @@ field="title" title="工作名称" show-overflow - :title-prefix="{ content: '点击工作名称查看简要。\n批量审批请先选择流程类型,并勾选同一节点的流程。' }" + :title-prefix="{ + content: + '点击工作名称查看简要。\n批量审批请先选择流程类型,并勾选同一节点的流程。', + }" > - 办理办理 抄送抄送 撤回撤回 删除删除 支付 + >支付 查看查看 @@ -534,7 +596,11 @@ :page-sizes="[10, 20, 30, 50, 100]" :page-size.sync="select.page_size" :small="$store.getters.device === 'mobile'" - :layout="$store.getters.device === 'desktop' ? 'total, ->, prev, pager, next, sizes, jumper' : 'total, ->, prev, pager, next'" + :layout=" + $store.getters.device === 'desktop' + ? 'total, ->, prev, pager, next, sizes, jumper' + : 'total, ->, prev, pager, next' + " :total="total" > @@ -542,23 +608,43 @@ - - - - + + + +