Commit 42078746 by zhangzhen

细节优化

parent 23a0f6ed
...@@ -361,11 +361,13 @@ ...@@ -361,11 +361,13 @@
uni.navigateTo({ uni.navigateTo({
url:`/pages/order/order?roomId=${this.orderInfo.roomId}&orderNo=${this.orderInfo.orderNo}` url:`/pages/order/order?roomId=${this.orderInfo.roomId}&orderNo=${this.orderInfo.orderNo}`
}) })
return
}else{ }else{
uni.showToast({ uni.showToast({
icon:"none", icon:"none",
title:"此订单已无可续单时段" title:"此订单已无可续单时段"
}) })
return
} }
} }
}else{ }else{
...@@ -373,7 +375,7 @@ ...@@ -373,7 +375,7 @@
if(item.status == 0){ if(item.status == 0){
d = moment(item.timeHour).valueOf() d = moment(item.timeHour).valueOf()
}else{ }else{
d = moment(item.endHoldTime).valueOf() d = moment(item.endHoldTime).add(1,'m').valueOf()
} }
if(d > startDateStemp){ if(d > startDateStemp){
orderStartTime = d; orderStartTime = d;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment