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
linweijiong
jinfa-platform
Commits
67957411
Commit
67957411
authored
Aug 20, 2021
by
前端-钟卫鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:
parent
187de903
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
selectChannel.tsx
...pages/commodity/products/addChannelItem/selectChannel.tsx
+3
-0
selectProduct.tsx
...pages/commodity/products/addChannelItem/selectProduct.tsx
+3
-0
No files found.
src/pages/commodity/products/addChannelItem/selectChannel.tsx
View file @
67957411
...
...
@@ -12,6 +12,7 @@ import ModalTable from '@/components/ModalTable'
import
{
store
}
from
'@/store'
import
{
observer
}
from
'mobx-react'
import
EyePreview
from
'@/components/EyePreview'
;
import
{
clearModalParams
}
from
'@/utils'
;
const
{
Search
}
=
Input
const
{
Option
}
=
Select
...
...
@@ -199,6 +200,7 @@ const SelectChannel:React.FC<IProps> = (props) => {
setVisibleChannelMember
(
false
)
console
.
log
(
memberRowCtl
.
selectRow
,
memberRowCtl
.
selectedRowKeys
,
'选中的项'
)
setSelectMemberRow
(
memberRowCtl
.
selectRow
)
clearModalParams
()
}
const
clickDeleteMember
=
(
record
:
any
)
=>
{
...
...
@@ -210,6 +212,7 @@ const SelectChannel:React.FC<IProps> = (props) => {
const
handleCancelAddMember
=
()
=>
{
setVisibleChannelMember
(
false
)
clearModalParams
()
}
const
roleChange
=
(
value
:
number
,
option
:
IOption
)
=>
{
...
...
src/pages/commodity/products/addChannelItem/selectProduct.tsx
View file @
67957411
...
...
@@ -19,6 +19,7 @@ import Submit from '@/components/NiceForm/components/Submit'
import
{
inject
,
observer
}
from
'mobx-react'
import
{
store
}
from
'@/store'
import
{
clearModalParams
}
from
'@/utils'
;
const
layout
=
{
labelCol
:
{
...
...
@@ -173,11 +174,13 @@ const SelectProduct:React.FC<IProps> = (props) => {
const
handleOkAddTabs
=
()
=>
{
setSelectProduct
(
productRowCtl
.
selectRow
)
setVisibleAddTabs
(
false
)
clearModalParams
()
}
const
handleCancelAddTabs
=
()
=>
{
setVisibleAddTabs
(
false
)
productRowCtl
.
setSelectedRowKeys
([])
clearModalParams
()
}
const
clickDelete
=
(
record
:
any
)
=>
{
...
...
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