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 8dd8627a
authored
Feb 27, 2024
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
工资绩效本月预计提成字段更换
1 parent
1c3edc33
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
packageEquity/pages/collegeScene/collegeScene.js
packageEquity/pages/collegeScene/collegeScene.js
View file @
8dd8627
...
...
@@ -156,8 +156,8 @@ Page({
// console.log(Boolean(item.minimumWage && item.minimumWage > item.finalWage));
let
currentMonthYear
=
wx
.
$util
.
tsFormatTime
(
new
Date
(),
'Y-M'
)
// 获取当前月份
if
(
currentMonthYear
==
item
.
performanceMonth
)
{
// 当月预计工资
data
.
finalWage
=
item
.
staffDataList
?.[
0
]?.
finalWage
+
item
.
staffDataList
?.[
0
]?.
performanceWage
if
(
currentMonthYear
==
item
.
performanceMonth
)
{
// 当月预计工资
提成
data
.
finalWage
=
item
.
staffDataList
?.[
0
]?.
performanceWage
}
item
.
staffDataList
=
item
.
staffDataList
.
map
((
childItem
)
=>
{
// if (Boolean(childItem.minimumWage && childItem.minimumWage > childItem.finalWage)) {
...
...
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