Commit 2ee446320587a7c9e66679da319eb7af8739178c

Authored by DESKTOP-QHAFKU5\iceling
1 parent 61924173

提交预约美容师没有时间判断bug修改

pages/user/my_service/appment_main.js
... ... @@ -210,14 +210,23 @@ Page({
210 210 //提交预约前的判断
211 211 if (store == "") {
212 212 getApp().my_warnning("请选择服务门店", 0, th);
  213 + th.setData({
  214 + is_sub:0
  215 + })
213 216 th.settime();
214 217 return false;
215 218 } else if (bea_name == "") {
216 219 getApp().my_warnning("请选择美容师", 0, th);
  220 + th.setData({
  221 + is_sub: 0
  222 + })
217 223 th.settime();
218 224 return false;
219   - } else if (time == "") {
  225 + } else if (time==undefined || time=='') {
220 226 getApp().my_warnning("请选择预约时间", 0, th);
  227 + th.setData({
  228 + is_sub: 0
  229 + })
221 230 th.settime();
222 231 return false;
223 232 }else{
... ...