Showing
1 changed file
with
4 additions
and
0 deletions
| @@ -207,6 +207,7 @@ Page({ | @@ -207,6 +207,7 @@ Page({ | ||
| 207 | } | 207 | } |
| 208 | if('date,time,pnum_str,tabid'.indexOf(key)>-1){ | 208 | if('date,time,pnum_str,tabid'.indexOf(key)>-1){ |
| 209 | sobj.form.tid=[]; | 209 | sobj.form.tid=[]; |
| 210 | + sobj.buttonhide=true; | ||
| 210 | this.getTables(); | 211 | this.getTables(); |
| 211 | } | 212 | } |
| 212 | this.setData(sobj) | 213 | this.setData(sobj) |
| @@ -280,6 +281,9 @@ Page({ | @@ -280,6 +281,9 @@ Page({ | ||
| 280 | let form = this.data.form; | 281 | let form = this.data.form; |
| 281 | let tid= new Set(form.tid);//tid 去重 | 282 | let tid= new Set(form.tid);//tid 去重 |
| 282 | form.tid = [...tid].toString(); | 283 | form.tid = [...tid].toString(); |
| 284 | + if(!form.tid){ | ||
| 285 | + return util.toast('请选择桌子','none'); | ||
| 286 | + } | ||
| 283 | form.sid = this.sellerid; | 287 | form.sid = this.sellerid; |
| 284 | form.rdate =rdate | 288 | form.rdate =rdate |
| 285 | if(!form.rid){ | 289 | if(!form.rid){ |
-
Please register or login to post a comment