Commit 2ee446320587a7c9e66679da319eb7af8739178c

Authored by DESKTOP-QHAFKU5\iceling
1 parent 61924173

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

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