Commit ba232e46 authored by wzy's avatar wzy

fix: 31228-请款单流程规则配置保存问题

parent 3afe1475
...@@ -80,10 +80,11 @@ const AddInvoiceProcessEng: React.FC<{}> = () => { ...@@ -80,10 +80,11 @@ const AddInvoiceProcessEng: React.FC<{}> = () => {
history.goBack() history.goBack()
}) })
} else { } else {
const members = typeof values?.members === 'boolean' ? [] : values?.members
const params = { const params = {
...values, ...values,
allMembers: values.allMembers, allMembers: values.allMembers,
members: values?.members?.map(_item => { members: members?.map(_item => {
return { return {
memberId: _item.memberId, memberId: _item.memberId,
roleId: _item.roleId, roleId: _item.roleId,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment