Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
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
黄庭坚
jinfa-platform
Commits
409e26d4
Commit
409e26d4
authored
Aug 02, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 完善逻辑
parent
ed47b483
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
index.tsx
...Ability/merchantCoupon/components/DeliverCoupon/index.tsx
+3
-3
schema.tsx
...erchantCouponUnsubmitted/components/CouponForm/schema.tsx
+4
-2
No files found.
src/pages/transaction/marketingAbility/merchantCoupon/components/DeliverCoupon/index.tsx
View file @
409e26d4
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Author: XieZhiXiong
* @Date: 2021-06-29 09:36:25
* @Date: 2021-06-29 09:36:25
* @LastEditors: XieZhiXiong
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-08-02 1
6:48:12
* @LastEditTime: 2021-08-02 1
8:32:50
* @Description: 发券明细
* @Description: 发券明细
*/
*/
import
React
,
{
useState
,
useEffect
,
useRef
}
from
'react'
;
import
React
,
{
useState
,
useEffect
,
useRef
}
from
'react'
;
...
@@ -268,8 +268,8 @@ const DeliverCoupon: React.FC<IProps> = (props) => {
...
@@ -268,8 +268,8 @@ const DeliverCoupon: React.FC<IProps> = (props) => {
message
.
warning
(
'请选择会员'
);
message
.
warning
(
'请选择会员'
);
return
;
return
;
}
}
cons
t
newData
=
[...
suitableMemberList
];
le
t
newData
=
[...
suitableMemberList
];
newData
.
concat
(
RowCtl
.
selectRow
.
map
((
item
)
=>
({
...
item
,
showDelete
:
true
})));
newData
=
newData
.
concat
(
RowCtl
.
selectRow
.
map
((
item
)
=>
({
...
item
,
showDelete
:
true
})));
setSuitableMemberList
(
newData
);
setSuitableMemberList
(
newData
);
const
filtered
=
newData
.
map
(({
onlyId
,
showDelete
,
...
rest
})
=>
({
...
rest
}));
const
filtered
=
newData
.
map
(({
onlyId
,
showDelete
,
...
rest
})
=>
({
...
rest
}));
triggerChange
(
filtered
);
triggerChange
(
filtered
);
...
...
src/pages/transaction/marketingAbility/merchantCoupon/merchantCouponUnsubmitted/components/CouponForm/schema.tsx
View file @
409e26d4
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Author: XieZhiXiong
* @Date: 2021-06-24 14:05:57
* @Date: 2021-06-24 14:05:57
* @LastEditors: XieZhiXiong
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-08-02 1
3:47:05
* @LastEditTime: 2021-08-02 1
7:38:26
* @Description:
* @Description:
*/
*/
import
{
ISchema
}
from
'@formily/antd'
;
import
{
ISchema
}
from
'@formily/antd'
;
...
@@ -489,7 +489,9 @@ const schema: ISchema = {
...
@@ -489,7 +489,9 @@ const schema: ISchema = {
type
:
'string'
,
type
:
'string'
,
required
:
true
,
required
:
true
,
'x-component'
:
'MemberCheckboxGroup'
,
'x-component'
:
'MemberCheckboxGroup'
,
'x-component-props'
:
{},
'x-component-props'
:
{
showMoreAction
:
true
,
},
},
},
},
},
},
},
...
...
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