Merge branch 'master' of codeup.aliyun.com:5f9118049cffa29cfdd3be1c/marketing/frontend
This commit is contained in:
commit
0e0e9c446b
|
@ -22,7 +22,8 @@ export default class acclist extends React.Component{
|
||||||
return_id:"1",
|
return_id:"1",
|
||||||
date_time:[ moment().add(30, 'minutes').format("YYYY-MM-DD HH:mm:ss"),""]
|
date_time:[ moment().add(30, 'minutes').format("YYYY-MM-DD HH:mm:ss"),""]
|
||||||
},
|
},
|
||||||
reseller_option:[],
|
reseller_option:[],
|
||||||
|
lodshow:false,
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -45,7 +46,7 @@ export default class acclist extends React.Component{
|
||||||
|
|
||||||
model.date_time=[data.begin_time,data.end_time]
|
model.date_time=[data.begin_time,data.end_time]
|
||||||
|
|
||||||
this.setState({model:model})
|
this.setState({model:model,lodshow:true})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -224,28 +225,30 @@ export default class acclist extends React.Component{
|
||||||
return(
|
return(
|
||||||
<div id="step1">
|
<div id="step1">
|
||||||
<Form model={this.state.model} rules={rules} ref="form1">
|
<Form model={this.state.model} rules={rules} ref="form1">
|
||||||
<FormItem labelname="营销计划名称" prop="title" id="title">
|
{
|
||||||
|
this.state.lodshow? <FormItem labelname="营销计划名称" prop="title" id="title">
|
||||||
|
|
||||||
<Ipt onChange={(e)=>{
|
<Ipt onChange={(e)=>{
|
||||||
let model2 = this.state.model;
|
let model2 = this.state.model;
|
||||||
model2.title = e;
|
model2.title = e;
|
||||||
|
|
||||||
this.setState({model:model2})
|
this.setState({model:model2})
|
||||||
}}
|
}}
|
||||||
|
|
||||||
onClearItem={(e)=>{
|
onClearItem={(e)=>{
|
||||||
let model2 = this.state.model;
|
let model2 = this.state.model;
|
||||||
model2.title = "";
|
model2.title = "";
|
||||||
this.setState({model:model2})
|
this.setState({model:model2})
|
||||||
|
|
||||||
}}
|
}}
|
||||||
|
|
||||||
value={this.state.model.title} placeholder={"请输入"} labelWidth={'0px'} maxLength={12} height={'36px'} width={'520px'} alignment={'left'}/>
|
value={this.state.model.title} placeholder={"请输入"} labelWidth={'0px'} maxLength={12} height={'36px'} width={'520px'} alignment={'left'}/>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</FormItem>
|
</FormItem>:null
|
||||||
|
}
|
||||||
<FormItem labelname="计划类型" prop="type" id="type">
|
<FormItem labelname="计划类型" prop="type" id="type">
|
||||||
<RadioGroup onChange={(e)=>{this.onTypeChange(e)}} value={this.state.model.type}>
|
<RadioGroup onChange={(e)=>{this.onTypeChange(e)}} value={this.state.model.type}>
|
||||||
<RadioButton value={1} disabled={true}>活动</RadioButton>
|
<RadioButton value={1} disabled={true}>活动</RadioButton>
|
||||||
|
|
Loading…
Reference in New Issue