This commit is contained in:
parent
133d7f235e
commit
a88684ccae
|
@ -33,6 +33,7 @@ export default class add extends React.Component{
|
|||
step2_data:null,
|
||||
step3_data:null,
|
||||
disabled:false,
|
||||
disabled_time:false
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -65,6 +66,13 @@ export default class add extends React.Component{
|
|||
{
|
||||
this.setState({disabled:true})
|
||||
}
|
||||
// console.log(77777777)
|
||||
// if(plan_status == 4|| plan_status == 5)
|
||||
// {
|
||||
|
||||
// console.log(plan_status)
|
||||
// this.setState({disabled_time:true})
|
||||
// }
|
||||
|
||||
|
||||
let plan_id = sessionStorage.getItem("plan_id")
|
||||
|
|
|
@ -263,8 +263,8 @@ export default class acclist extends React.Component{
|
|||
className="zent-datepicker-plan"
|
||||
showTime={{ format: 'HH:mm:ss', defaultTime: [moment().format("HH:mm:ss"), '23:59:59'],
|
||||
}}
|
||||
|
||||
format="YYYY-MM-DD HH:mm:ss"
|
||||
disabled={[this.props.disabled,this.props.disabled]}
|
||||
value={this.state.model.date_time}
|
||||
onChange={(e)=>{
|
||||
Bus.emit('change',"date_time" ,e);
|
||||
|
|
|
@ -141,7 +141,7 @@ export default class acclist extends React.Component{
|
|||
code_name:"",
|
||||
issued:'',//发放总量
|
||||
describe:'',
|
||||
date_time:"",
|
||||
date_time:'',
|
||||
range:""
|
||||
}
|
||||
this.setState({rank:null})
|
||||
|
|
|
@ -35,8 +35,8 @@ export default class acclist extends React.Component{
|
|||
phone_list:[],
|
||||
email_list:[],
|
||||
|
||||
phone_radio:0,
|
||||
email_radio:0,
|
||||
phone_radio:null,
|
||||
email_radio:null,
|
||||
cur_item:null,
|
||||
selectiondata:[],
|
||||
plan_id:0,
|
||||
|
@ -68,8 +68,8 @@ export default class acclist extends React.Component{
|
|||
{
|
||||
let plan_id = this.state.plan_id;
|
||||
let data ={
|
||||
phone:this.state.phone_list[this.state.phone],
|
||||
email:this.state.email_list[this.state.email]
|
||||
phone: this.state.phone_radio ? this.state.phone_list[this.state.phone_radio] : this.state.phone ,
|
||||
email: this.state.email_radio ? this.state.email_list[this.state.email_radio] : this.state.email
|
||||
}
|
||||
|
||||
|
||||
|
@ -813,6 +813,13 @@ export default class acclist extends React.Component{
|
|||
</RadioGroup>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<Input placeholder="请输入接收手机号" onChange={this.phoneChange} disabled={this.state.phone_radio} ></Input>
|
||||
</div>
|
||||
<div>
|
||||
<Input placeholder="请输入接收邮箱" onChange={this.emailChange} disabled={this.state.email_radio} ></Input>
|
||||
</div>
|
||||
|
||||
<div className="audit-btn-group">
|
||||
<Button onClick={(e)=>{this.cancel(e)}}>取消</Button>
|
||||
<Button type="primary" onClick={(e)=>{this.send(e)}} >发送</Button>
|
||||
|
|
Loading…
Reference in New Issue