Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c56b8e55
authored
Mar 02, 2024
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix 日期取值错误
1 parent
625d076d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
tabWorkOrder/pages/staffDaily/staffDaily.js
tabWorkOrder/pages/staffDaily/staffDaily.js
View file @
c56b8e5
...
@@ -325,9 +325,9 @@ Page({
...
@@ -325,9 +325,9 @@ Page({
// 设置报告日期
// 设置报告日期
setReportDate
()
{
setReportDate
()
{
let
{
timeBean
}
=
this
.
data
let
{
timeBean
}
=
this
.
data
let
da
y
=
timeBean
.
weekDayList
[
timeBean
.
selectDay
].
day
let
da
te
=
timeBean
.
weekDayList
[
timeBean
.
selectDay
].
date
this
.
setData
({
this
.
setData
({
[
'orderObj.reportDate'
]:
timeBean
.
formatYearMonth
+
'-'
+
(
day
<
10
?
'0'
+
day
:
day
)
[
'orderObj.reportDate'
]:
date
})
})
},
},
getStaffDailyReportDetailWeeklyList
()
{
getStaffDailyReportDetailWeeklyList
()
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment