Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
regional-assistant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 2f8aa8eb
authored
Jan 29, 2026
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
评审确认内容修改
1 parent
f06b9ec8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
packageWorkspace/pages/performanceRating/batchOperation/batchOperation.js
packageWorkspace/pages/performanceRating/rateEdit/rateEdit.js
packageWorkspace/pages/performanceRating/batchOperation/batchOperation.js
View file @
2f8aa8e
...
@@ -212,10 +212,10 @@ Page({
...
@@ -212,10 +212,10 @@ Page({
}
}
}
}
const
numericValue
=
parseFloat
(
cleanValue
)
const
numericValue
=
parseFloat
(
cleanValue
)
if
(
numericValue
>
10000
)
{
if
(
numericValue
>
10000
0
)
{
cleanValue
=
'10000'
cleanValue
=
'10000
0
'
}
else
if
(
numericValue
===
10000
&&
cleanValue
.
includes
(
'.'
))
{
}
else
if
(
numericValue
===
10000
0
&&
cleanValue
.
includes
(
'.'
))
{
cleanValue
=
'10000'
cleanValue
=
'10000
0
'
}
}
const
dotIndexAfterCheck
=
cleanValue
.
indexOf
(
'.'
);
const
dotIndexAfterCheck
=
cleanValue
.
indexOf
(
'.'
);
if
(
dotIndexAfterCheck
!==
-
1
&&
cleanValue
.
length
>
dotIndexAfterCheck
+
3
)
{
if
(
dotIndexAfterCheck
!==
-
1
&&
cleanValue
.
length
>
dotIndexAfterCheck
+
3
)
{
...
...
packageWorkspace/pages/performanceRating/rateEdit/rateEdit.js
View file @
2f8aa8e
...
@@ -253,10 +253,10 @@ Page({
...
@@ -253,10 +253,10 @@ Page({
}
}
}
}
const
numericValue
=
parseFloat
(
cleanValue
)
const
numericValue
=
parseFloat
(
cleanValue
)
if
(
numericValue
>
10000
)
{
if
(
numericValue
>
10000
0
)
{
cleanValue
=
'10000'
cleanValue
=
'10000
0
'
}
else
if
(
numericValue
===
10000
&&
cleanValue
.
includes
(
'.'
))
{
}
else
if
(
numericValue
===
10000
0
&&
cleanValue
.
includes
(
'.'
))
{
cleanValue
=
'10000'
cleanValue
=
'10000
0
'
}
}
const
dotIndexAfterCheck
=
cleanValue
.
indexOf
(
'.'
);
const
dotIndexAfterCheck
=
cleanValue
.
indexOf
(
'.'
);
if
(
dotIndexAfterCheck
!==
-
1
&&
cleanValue
.
length
>
dotIndexAfterCheck
+
3
)
{
if
(
dotIndexAfterCheck
!==
-
1
&&
cleanValue
.
length
>
dotIndexAfterCheck
+
3
)
{
...
@@ -300,7 +300,7 @@ Page({
...
@@ -300,7 +300,7 @@ Page({
// 提交
// 提交
handleConfirm
()
{
handleConfirm
()
{
let
{
info
,
T1EndDateStr
,
isT1DateRange
}
=
this
.
data
let
{
info
,
T1EndDateStr
,
isT1DateRange
}
=
this
.
data
if
(
isT1DateRange
||
info
.
submitCount
>=
2
)
return
if
(
isT1DateRange
||
info
.
submitCount
>=
2
||
!
((
info
.
totalGrossSalary
??
''
)
===
''
)
)
return
if
(
!
((
info
.
totalGrossSalary
??
''
)
===
''
))
{
// 已出工资条 不能提交
if
(
!
((
info
.
totalGrossSalary
??
''
)
===
''
))
{
// 已出工资条 不能提交
return
wx
.
showModal
({
return
wx
.
showModal
({
title
:
'提示'
,
title
:
'提示'
,
...
...
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