Commit fb5df325688ecaa4b0bfac96cae04c9acbecf48f

Authored by vking
1 parent 70f99151

fix worktime

Showing 1 changed file with 6 additions and 0 deletions
... ... @@ -167,6 +167,9 @@ Page({
firstShowMsg:firstShowMsg,
},'/pages/customer/detail_owner')
})
}).catch(()=>{
this.hasSubmit=true//出错后可再次提交
return util.toast('提交失败,请重试','none');
})
},
getRdate(){
... ... @@ -200,6 +203,9 @@ Page({
stime=util.timetouUnix(today+' '+this.data.seller.rec_stime+':00')
etime=util.timetouUnix(today+' '+this.data.seller.rec_etime+':00')
if(etime<=stime){
if(time<=etime){
return true
}
etime+=86400
}
if(time>=stime && time<=etime){
... ...