更新key数量限制
This commit is contained in:
parent
13be3da241
commit
f6c3bdfcd4
|
@ -817,7 +817,7 @@ export default class acclist extends React.Component{
|
||||||
let model2 = this.state.model;
|
let model2 = this.state.model;
|
||||||
model2.quantity = e;
|
model2.quantity = e;
|
||||||
this.setState({model:model2})
|
this.setState({model:model2})
|
||||||
}} value={this.state.model.quantity} placeholder={"请输入"} labelWidth={'0px'} maxLength={12} height={'36px'} width={'400px'} alignment={'left'}/>
|
}} value={this.state.model.quantity} placeholder={"请输入"} labelWidth={'0px'} maxLength={5} height={'36px'} width={'400px'} alignment={'left'}/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -744,7 +744,7 @@ export default class acclist extends React.Component{
|
||||||
this.setState({model:model2})
|
this.setState({model:model2})
|
||||||
}}
|
}}
|
||||||
|
|
||||||
value={this.state.model.quantity} placeholder={"请输入"} labelWidth={'0px'} maxLength={12} height={'36px'} width={'400px'} alignment={'left'}/>
|
value={this.state.model.quantity} placeholder={"请输入"} labelWidth={'0px'} maxLength={5} height={'36px'} width={'400px'} alignment={'left'}/>
|
||||||
|
|
||||||
</FormItem>
|
</FormItem>
|
||||||
|
|
||||||
|
|
|
@ -199,11 +199,11 @@ export default class commoditylist extends React.Component{
|
||||||
}}
|
}}
|
||||||
checkChange ={this.selection.bind(this)}
|
checkChange ={this.selection.bind(this)}
|
||||||
ComponentHandler={(com,rowData)=>{
|
ComponentHandler={(com,rowData)=>{
|
||||||
if(com == "status")
|
if(com == "status")
|
||||||
{
|
{
|
||||||
return <Tag theme="blue" outline>
|
return <Tag theme="blue" outline>
|
||||||
{rowData.status}
|
{rowData.status}
|
||||||
</Tag>;
|
</Tag>;
|
||||||
}
|
}
|
||||||
if(com == "opearo")
|
if(com == "opearo")
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue