解决bug

This commit is contained in:
red-deng-deng 2021-11-25 10:13:57 +08:00
parent 7bc67bb3e6
commit 821f573a30
2 changed files with 5 additions and 5 deletions

View File

@ -10,7 +10,7 @@ export default class addinfoform extends React.Component{
super(props) super(props)
this.state={ this.state={
model:{ //数据模型不可少 model:{ //数据模型不可少
codename:"", codename:" ",
issued:'',//发放总量 issued:'',//发放总量
tip:'' tip:''
}, },
@ -41,16 +41,16 @@ export default class addinfoform extends React.Component{
model2.codename = e; model2.codename = e;
this.setState({model:model2}) this.setState({model:model2})
}} }}
countShow= {true}
onClearItem={(e)=>{ onClearItem={(e)=>{
let model2 = this.state.model; let model2 = this.state.model;
model2.codename = ""; model2.codename = "";
this.setState({model:model2}) this.setState({model:model2})
}} }}
value={this.state.model.codename} placeholder={"请输入兑换码名称"} labelWidth={'0px'} maxLength={10} height={'36px'} width={'520px'} alignment={'left'}/> value={this.state.model.codename} placeholder={"请输入兑换码名称"} labelWidth={'0px'} maxLength={10} height={'36px'} width={'520px'} alignment={'left'}/>
</FormItem> </FormItem>
<FormItem labelname="发放总量" prop="issued" > <FormItem labelname="发放总量" prop="issued" >
<Ipt onChange={(e)=>{ <Ipt onChange={(e)=>{
let model2 = this.state.model; let model2 = this.state.model;

View File

@ -112,7 +112,7 @@ export default class acclist extends React.Component{
total:0, total:0,
page:1, page:1,
limit:10, limit:10,
tabList:[{title:"全部"},{title:"进行中"},{title:"暂停中"},{title:"已"},{title:"已作废"}], tabList:[{title:"全部"},{title:"进行中"},{title:"暂停中"},{title:"已结"},{title:"已作废"}],
combinedValue:[], combinedValue:[],
DateTime:'',//数据更新时间 DateTime:'',//数据更新时间
key_word:'', key_word:'',