Commit ae26e7d43bc15e5b3b01967427fa57537378825e
1 parent
d21105cd
服务卡没有选门店不能提交到订单确认的页面
Showing
2 changed files
with
10 additions
and
0 deletions
packageA/pages/cart2_ser/cart2_ser.js
@@ -415,6 +415,10 @@ Page({ | @@ -415,6 +415,10 @@ Page({ | ||
415 | } | 415 | } |
416 | } | 416 | } |
417 | }else{ | 417 | }else{ |
418 | + if(!gg.pick_id){ | ||
419 | + getApp().showWarning("未找到门店"); | ||
420 | + return false; | ||
421 | + } | ||
418 | 422 | ||
419 | var gg = getApp().globalData.service_now; | 423 | var gg = getApp().globalData.service_now; |
420 | var goods={ | 424 | var goods={ |
packageA/pages/goodsInfo/goodsInfo.js
@@ -513,6 +513,12 @@ Page({ | @@ -513,6 +513,12 @@ Page({ | ||
513 | th.setData({ | 513 | th.setData({ |
514 | open_ind_store: ind | 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 | if(action=="buy"){ | 523 | if(action=="buy"){ |
518 | //--------------此时操作的数据------------ | 524 | //--------------此时操作的数据------------ |