Showing
1 changed file
with
6 additions
and
0 deletions
| @@ -167,6 +167,9 @@ Page({ | @@ -167,6 +167,9 @@ Page({ | ||
| 167 | firstShowMsg:firstShowMsg, | 167 | firstShowMsg:firstShowMsg, |
| 168 | },'/pages/customer/detail_owner') | 168 | },'/pages/customer/detail_owner') |
| 169 | }) | 169 | }) |
| 170 | + }).catch(()=>{ | ||
| 171 | + this.hasSubmit=true//出错后可再次提交 | ||
| 172 | + return util.toast('提交失败,请重试','none'); | ||
| 170 | }) | 173 | }) |
| 171 | }, | 174 | }, |
| 172 | getRdate(){ | 175 | getRdate(){ |
| @@ -200,6 +203,9 @@ Page({ | @@ -200,6 +203,9 @@ Page({ | ||
| 200 | stime=util.timetouUnix(today+' '+this.data.seller.rec_stime+':00') | 203 | stime=util.timetouUnix(today+' '+this.data.seller.rec_stime+':00') |
| 201 | etime=util.timetouUnix(today+' '+this.data.seller.rec_etime+':00') | 204 | etime=util.timetouUnix(today+' '+this.data.seller.rec_etime+':00') |
| 202 | if(etime<=stime){ | 205 | if(etime<=stime){ |
| 206 | + if(time<=etime){ | ||
| 207 | + return true | ||
| 208 | + } | ||
| 203 | etime+=86400 | 209 | etime+=86400 |
| 204 | } | 210 | } |
| 205 | if(time>=stime && time<=etime){ | 211 | if(time>=stime && time<=etime){ |
-
Please register or login to post a comment