Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
shuniu-admin-react
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
superman
shuniu-admin-react
Commits
9bad37b4
Commit
9bad37b4
authored
Jul 29, 2016
by
superman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
1fbbabc6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
166 additions
and
105 deletions
+166
-105
.gitignore
.gitignore
+1
-0
workspace.xml
.idea/workspace.xml
+155
-93
index.js
dist/index.js
+6
-6
List.jsx
src/containers/Product/List.jsx
+0
-2
Commission.jsx
src/containers/Trade/Commission.jsx
+1
-1
Item.jsx
src/containers/Trade/Item.jsx
+2
-2
utils.js
src/utils.js
+1
-1
No files found.
.gitignore
View file @
9bad37b4
node_modules
node_modules
.DS_Store
.DS_Store
.idea
.idea/
.idea/
.idea/workspace.xml
.idea/workspace.xml
.idea/workspace.xml
View file @
9bad37b4
This diff is collapsed.
Click to expand it.
dist/index.js
View file @
9bad37b4
This diff is collapsed.
Click to expand it.
src/containers/Product/List.jsx
View file @
9bad37b4
...
@@ -198,8 +198,6 @@ export default class List extends Component {
...
@@ -198,8 +198,6 @@ export default class List extends Component {
</
div
>
</
div
>
);
);
const
header
=
(
const
header
=
(
<
MainHeader
breadcrumb=
{
[
'产品管理'
,
'产品列表'
]
}
<
MainHeader
breadcrumb=
{
[
'产品管理'
,
'产品列表'
]
}
title=
"产品列表"
title=
"产品列表"
...
...
src/containers/Trade/Commission.jsx
View file @
9bad37b4
...
@@ -82,7 +82,7 @@ export default class Commission extends Component {
...
@@ -82,7 +82,7 @@ export default class Commission extends Component {
<
Input
placeholder=
"实际佣金"
<
Input
placeholder=
"实际佣金"
readOnly
readOnly
{
...
getFieldProps
('
realReturn
',
{
{
...
getFieldProps
('
realReturn
',
{
initialValue
:
item
&&
item
.
realReturn
&&
item
.
realReturn
.
yj
initialValue
:
item
&&
item
.
commission
})}
/>
})}
/>
</
Form
.
Item
>
</
Form
.
Item
>
<
Form
.
Item
{
...
footerFormSubmitLayout
}
style=
{
{
marginTop
:
30
}
}
>
<
Form
.
Item
{
...
footerFormSubmitLayout
}
style=
{
{
marginTop
:
30
}
}
>
...
...
src/containers/Trade/Item.jsx
View file @
9bad37b4
...
@@ -106,8 +106,8 @@ export default class Item extends Component {
...
@@ -106,8 +106,8 @@ export default class Item extends Component {
<
span
>
{
'收益 '
+
item
.
realReturn
.
sy
}
</
span
>
<
span
>
{
'收益 '
+
item
.
realReturn
.
sy
}
</
span
>
}
}
{
{
item
.
realReturn
&&
item
.
realReturn
.
yj
&&
item
.
realReturn
&&
item
.
commission
&&
<
span
>
{
'佣金 '
+
item
.
realReturn
.
yj
}
</
span
>
<
span
>
{
'佣金 '
+
item
.
commission
}
</
span
>
}
}
</
Col
>
</
Col
>
</
Row
>
</
Row
>
...
...
src/utils.js
View file @
9bad37b4
...
@@ -59,7 +59,7 @@ export const productStatusToString = status => {
...
@@ -59,7 +59,7 @@ export const productStatusToString = status => {
};
};
export
const
productEnableCreateTrade
=
status
=>
{
export
const
productEnableCreateTrade
=
status
=>
{
return
status
>
1
&&
status
<
17
;
return
status
>
1
&&
status
<
=
21
;
};
};
export
const
USER_STATUS
=
{
export
const
USER_STATUS
=
{
...
...
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