Commit fdc582b996e593b3deeccb8ca59afe914e67953f

Authored by vking
1 parent 0d1c205d

fixbug,默认时间不在时段内

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