Commit fdc582b996e593b3deeccb8ca59afe914e67953f

Authored by vking
1 parent 0d1c205d

fixbug,默认时间不在时段内

@@ -612,7 +612,7 @@ Page({ @@ -612,7 +612,7 @@ Page({
612 let ddateStr = util.unixtoTime(form.ddate, "YYYY-MM-DD " + this.data.defDtime[this.data.form.time] + ":00"); 612 let ddateStr = util.unixtoTime(form.ddate, "YYYY-MM-DD " + this.data.defDtime[this.data.form.time] + ":00");
613 form.ddate = util.timetouUnix(ddateStr); 613 form.ddate = util.timetouUnix(ddateStr);
614 } 614 }
615 - form.ddate_solt=form.time+1 615 + form.ddate_solt=parseInt(form.time)+1
616 form.is_set_ddate=1 616 form.is_set_ddate=1
617 App.Reserve.SetReserveInfo(form).then(res => { 617 App.Reserve.SetReserveInfo(form).then(res => {
618 if (res.ret == 200) { 618 if (res.ret == 200) {
@@ -616,7 +616,7 @@ Page({ @@ -616,7 +616,7 @@ Page({
616 form.ddate = util.timetouUnix(ddateStr); 616 form.ddate = util.timetouUnix(ddateStr);
617 } 617 }
618 //App.Customer.SetReserveInfoById 618 //App.Customer.SetReserveInfoById
619 - form.ddate_solt=form.time+1 619 + form.ddate_solt=parseInt(form.time)+1
620 App.Customer.SetReserveInfoById(form).then(res => { 620 App.Customer.SetReserveInfoById(form).then(res => {
621 if (res.ret == 200) { 621 if (res.ret == 200) {
622 this.getCustomRemark() 622 this.getCustomRemark()