|
...
|
...
|
@@ -86,6 +86,7 @@ Page({ |
|
|
|
calendarMaskLoad:true,
|
|
|
|
})
|
|
|
|
},1000);
|
|
|
|
this.conditionInfo()
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
...
|
...
|
@@ -237,11 +238,14 @@ selectphone:function(e){ |
|
|
|
this.data.form.phone=e.detail.phone;
|
|
|
|
this.data.form.rname=e.detail.rname;
|
|
|
|
this.data.form.cusdem=e.detail.cusdem;
|
|
|
|
var form=this.data.form
|
|
|
|
this.data.form.sex=e.detail.sex;
|
|
|
|
this.setData({
|
|
|
|
form:this.data.form,
|
|
|
|
searchlist:null
|
|
|
|
searchlist:null,
|
|
|
|
|
|
|
|
})
|
|
|
|
this.conditionInfo();
|
|
|
|
},
|
|
|
|
calendarShow(){
|
|
|
|
this.setData({
|
|
...
|
...
|
@@ -272,4 +276,13 @@ async selectdesk(){ |
|
|
|
url:'b_desk?rdate='+rdate+'&tid='+this.data.form.tabid+'&pnum_str='+this.data.form.pnum_str
|
|
|
|
})
|
|
|
|
},
|
|
|
|
conditionInfo:function(){
|
|
|
|
var form=this.data.form
|
|
|
|
if(form.tid.length>0 && form.rname.length>0){
|
|
|
|
this.data.buttonhide=false;
|
|
|
|
}
|
|
|
|
this.setData({
|
|
|
|
buttonhide:this.data.buttonhide
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}) |
...
|
...
|
|