Commit 9bad37b4 authored by superman's avatar superman

update

parent 1fbbabc6
node_modules node_modules
.DS_Store .DS_Store
.idea
.idea/ .idea/
.idea/workspace.xml .idea/workspace.xml
This diff is collapsed.
This diff is collapsed.
...@@ -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="产品列表"
......
...@@ -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}}>
......
...@@ -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>
......
...@@ -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 = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment