Commit 3b50800693d61d7c5ab1d5d31a25a929cf1d7392

Authored by zhangyan
1 parent 83366eca

更多桌位

... ... @@ -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
})
}
})
... ...
... ... @@ -32,7 +32,8 @@ Page({
this.setData({
buttonClick:true
})
wx.navigateBack()
wx.removeStorage({key:'tableid'})
wx.navigateBack();
},
getdesklist:function(){
var formdata=this.data.opt;
... ...