Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-admin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project
jinfa-admin
Commits
5a2043bf
Commit
5a2043bf
authored
Dec 07, 2020
by
前端-黄佳鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改会员支付策略
parent
9758bebe
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
detail.tsx
src/pages/ruleSettingManage/payStrategy/detail.tsx
+3
-1
No files found.
src/pages/ruleSettingManage/payStrategy/detail.tsx
View file @
5a2043bf
...
...
@@ -178,7 +178,6 @@ const PaySetting: React.FC<{}> = () => {
payActions
.
setFieldValue
(
`id-
${
index
}
`
,
item
.
id
)
payActions
.
setFieldValue
(
`ruleConfigurationId-
${
index
}
`
,
item
.
ruleConfigurationId
)
// payActions.setFieldValue(`payWayIds-${index}`,item.payWayIds)
const
ids
:
any
=
[];
item
.
payWays
.
forEach
((
v
)
=>
{
payActions
.
setFieldValue
(
`payWayIds-
${
index
}
`
,
v
.
id
)
})
...
...
@@ -192,6 +191,8 @@ const PaySetting: React.FC<{}> = () => {
}).
then
(
res
=>
{
if
(
res
.
code
===
1000
)
{
let
{
data
}
=
res
.
data
memberRowCtl
.
setSelectedRowKeys
(
data
.
map
(
v
=>
v
.
memberId
))
memberRowCtl
.
setSelectRow
(
data
)
payActions
.
setFieldValue
(
'applyMember'
,
data
)
}
})
...
...
@@ -416,6 +417,7 @@ const PaySetting: React.FC<{}> = () => {
}
}
//新增
console
.
log
(
param
,
10086
)
if
(
param
.
memberIdRoleIds
.
length
===
0
&&
values
.
isSelected
===
0
)
{
message
.
error
(
'请选择指定的会员'
);
return
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment