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 @@ - - - - + + + +