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
shenshaokai
jinfa-admin
Commits
9884b79b
Commit
9884b79b
authored
Dec 10, 2020
by
Bill
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of 10.0.0.22:lingxi/lingxi-business-system into dev
parents
1cde8e81
295bbda2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
detail.tsx
src/pages/ruleSettingManage/payStrategy/detail.tsx
+6
-6
No files found.
src/pages/ruleSettingManage/payStrategy/detail.tsx
View file @
9884b79b
...
...
@@ -61,7 +61,7 @@ const PaySetting: React.FC<{}> = () => {
levelList
:
[],
roleList
:
[]
})
const
[
memberRowSelection
,
memberRowCtl
]
=
useRowSelectionTable
({
customKey
:
'
memberI
d'
})
const
[
memberRowSelection
,
memberRowCtl
]
=
useRowSelectionTable
({
customKey
:
'
i
d'
})
const
[
optionType
,
setoptionType
]
=
useState
(
0
)
const
{
preview
,
pageStatus
}
=
usePageStatus
()
// const initValue = useInitValue(PublicApi.getPayPayMemberTacticsDetails)
...
...
@@ -172,14 +172,14 @@ const PaySetting: React.FC<{}> = () => {
PublicApi
.
getPayPayMemberTacticsDetails
({
id
:
usePageStatus
().
id
}).
then
(
res
=>
{
if
(
res
.
code
===
1000
)
{
let
{
data
}
=
res
console
.
log
(
'结果'
,
res
.
data
)
payActions
.
setFieldValue
(
'paymentPolicyName'
,
data
.
paymentPolicyName
)
data
.
paymentPolicyPayWayRequests
.
forEach
((
item
:
any
,
index
)
=>
{
payActions
.
setFieldValue
(
`id-
${
index
}
`
,
item
.
id
)
payActions
.
setFieldValue
(
`ruleConfigurationId-
${
index
}
`
,
item
.
ruleConfigurationId
)
// payActions.setFieldValue(`payWayIds-${index}`,item.payWayIds)
item
.
payWays
.
forEach
((
v
)
=>
{
payActions
.
setFieldValue
(
`payWayIds-
${
index
}
`
,
v
.
id
)
const
payWayIds
:
any
=
[];
item
.
payWays
.
forEach
((
v
,
idx
)
=>
{
payWayIds
.
push
(
v
.
id
)
payActions
.
setFieldValue
(
`payWayIds-
${
index
}
`
,
payWayIds
)
})
})
payActions
.
setFieldValue
(
'isSelected'
,
data
.
isSelected
)
...
...
@@ -495,7 +495,7 @@ const PaySetting: React.FC<{}> = () => {
}
}
tableProps=
{
{
rowKey
:
'
memberI
d'
rowKey
:
'
i
d'
}
}
/>
</
PageHeaderWrapper
>
...
...
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