This commit is contained in:
姜棚 2021-11-26 16:05:43 +08:00
parent c9ed452d38
commit 0cf8ee5aba
2 changed files with 3 additions and 2 deletions

View File

@ -747,7 +747,8 @@ export default class acclist extends React.Component{
value={this.state.codeInfo.issued} placeholder={"请输入发放总量"} labelWidth={'0px'} maxLength={12} height={'36px'} width={'520px'} alignment={'left'}/>
</FormItem>
<FormItem labelname="使用说明" prop="describe" id="describe" >
<Input type="textarea" autoSize width="520px" value={this.state.codeInfo.describe} onChange={(e)=>{
<Input type="textarea" autoSize width="520px" value={this.state.codeInfo.describe} maxCharacterCount={100}
showCount onChange={(e)=>{
let model = this.state.codeInfo;
model.describe = e.target.value;
console.log( model.describe )

View File

@ -536,7 +536,7 @@ export default class acclist extends React.Component{
if(com == "restrict")
{
return <Input placeholder="请输入数量" type="number" value={rowData.restrict} onChange={(e)=>{this.onRestrict(e,rowData)}} />
return <Input placeholder="请输入数量" type="phone" value={rowData.restrict} onChange={(e)=>{this.onRestrict(e,rowData)}} />
}
}}
/>