修复预计 截止时间
This commit is contained in:
@@ -109,6 +109,7 @@ function orderRentedAt() {
|
||||
|
||||
function orderEstimatedEndAt() {
|
||||
if (!order.value) return undefined
|
||||
if (order.value.estimated_end_at) return order.value.estimated_end_at
|
||||
const rentedAt = orderRentedAt()
|
||||
const durationHours = Number(order.value.estimated_duration_hours || 0)
|
||||
if (!rentedAt || durationHours <= 0) return undefined
|
||||
|
||||
Reference in New Issue
Block a user