Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
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 fbd89c49
authored
Apr 28, 2025
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修订工资去除实发工资不能小于0限制
1 parent
c0010acd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/views/residentManage/inStoreManage/components/revisedSalaryDialog.vue
src/views/residentManage/inStoreManage/components/revisedSalaryDialog.vue
View file @
fbd89c4
...
@@ -237,7 +237,7 @@ export default {
...
@@ -237,7 +237,7 @@ export default {
correctSalary
:
this
.
computedValue
,
correctSalary
:
this
.
computedValue
,
remark
:
this
.
infoForm
.
remark
remark
:
this
.
infoForm
.
remark
}
}
if
(
this
.
computedValue
-
0
<
0
)
return
this
.
$message
.
warning
(
'实发工资不能小于0'
)
//
if (this.computedValue - 0 < 0) return this.$message.warning('实发工资不能小于0')
if
(
isNaN
(
params
.
customDeduction
))
return
this
.
$message
.
warning
(
'其他应发/应扣值需为数字'
)
if
(
isNaN
(
params
.
customDeduction
))
return
this
.
$message
.
warning
(
'其他应发/应扣值需为数字'
)
reviseSalaryApi
(
params
).
then
(
res
=>
{
reviseSalaryApi
(
params
).
then
(
res
=>
{
this
.
$message
.
success
(
'修订成功'
)
this
.
$message
.
success
(
'修订成功'
)
...
...
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