Commit ae26e7d43bc15e5b3b01967427fa57537378825e
1 parent
d21105cd
服务卡没有选门店不能提交到订单确认的页面
Showing
2 changed files
with
10 additions
and
0 deletions
packageA/pages/cart2_ser/cart2_ser.js
packageA/pages/goodsInfo/goodsInfo.js
... | ... | @@ -513,6 +513,12 @@ Page({ |
513 | 513 | th.setData({ |
514 | 514 | open_ind_store: ind |
515 | 515 | }); |
516 | + | |
517 | + if(!th.data.sto_sele_name){ | |
518 | + getApp().my_warnning('请选择门店', 1, th, 450); | |
519 | + return false; | |
520 | + } | |
521 | + | |
516 | 522 | |
517 | 523 | if(action=="buy"){ |
518 | 524 | //--------------此时操作的数据------------ | ... | ... |