Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_wechat
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pseer
gxpt_wechat
Commits
c55a5b4c
Commit
c55a5b4c
authored
May 28, 2024
by
zhangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
细节优化
parent
4b208540
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
order.vue
pages/order/order.vue
+3
-2
No files found.
pages/order/order.vue
View file @
c55a5b4c
...
@@ -879,14 +879,15 @@
...
@@ -879,14 +879,15 @@
tempEndDate
=
moment
(
moment
(
item
.
endHoldTime
).
format
(
"YYYY-MM-DD HH:mm:00"
)).
add
(
1
,
'm'
).
format
(
"YYYY-MM-DD HH:mm:00"
)
tempEndDate
=
moment
(
moment
(
item
.
endHoldTime
).
format
(
"YYYY-MM-DD HH:mm:00"
)).
add
(
1
,
'm'
).
format
(
"YYYY-MM-DD HH:mm:00"
)
}
else
if
(
item
.
status
==
1
&&
!
this
.
onCheckHourUse
(
item
.
startHoldTime
,
item
.
endHoldTime
)
&&
startNeedChange
){
}
else
if
(
item
.
status
==
1
&&
!
this
.
onCheckHourUse
(
item
.
startHoldTime
,
item
.
endHoldTime
)
&&
startNeedChange
){
startNeedChange
=
false
;
startNeedChange
=
false
;
tempStartDate
=
moment
(
moment
(
item
.
endHoldTime
).
format
(
"YYYY-MM-DD HH:mm:00"
)).
format
(
"YYYY-MM-DD HH:mm:00"
)
let
tempStart
=
moment
(
moment
(
item
.
endHoldTime
).
format
(
"YYYY-MM-DD HH:mm:00"
)).
format
(
"YYYY-MM-DD HH:mm:00"
)
tempStartDate
=
this
.
orderType
==
1
?
moment
(
tempStart
).
add
(
1
,
'm'
)
:
tempStart
}
}
}
}
}
}
})
})
return
{
return
{
tempStartDate
:
this
.
orderType
==
1
?
moment
(
tempStartDate
).
add
(
1
,
'm'
)
:
tempStartDate
,
tempStartDate
,
tempEndDate
tempEndDate
}
}
},
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment