diff --git a/src/pages/exchangecode/add/add.js b/src/pages/exchangecode/add/add.js index a23fcb9e..0c105e61 100644 --- a/src/pages/exchangecode/add/add.js +++ b/src/pages/exchangecode/add/add.js @@ -817,7 +817,7 @@ export default class acclist extends React.Component{ let model2 = this.state.model; model2.quantity = e; 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'}/> ) } diff --git a/src/pages/plan/add/step2.js b/src/pages/plan/add/step2.js index 00c623cc..0b4f7dd1 100644 --- a/src/pages/plan/add/step2.js +++ b/src/pages/plan/add/step2.js @@ -744,7 +744,7 @@ export default class acclist extends React.Component{ 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'}/> diff --git a/src/pages/plan/keyorder/keyorder.js b/src/pages/plan/keyorder/keyorder.js index 57efa692..b5917057 100644 --- a/src/pages/plan/keyorder/keyorder.js +++ b/src/pages/plan/keyorder/keyorder.js @@ -199,11 +199,11 @@ export default class commoditylist extends React.Component{ }} checkChange ={this.selection.bind(this)} ComponentHandler={(com,rowData)=>{ - if(com == "status") + if(com == "status") { return - {rowData.status} - ; + {rowData.status} + ; } if(com == "opearo") {