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 1f64280c
authored
Jun 19, 2025
by
wangzhihui
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复一轮bug
1 parent
b313b0e7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
19 deletions
src/views/residentManage/inStoreManage/components/creatStaffDialog.vue
src/views/residentManage/inStoreManage/components/editStaff.vue
src/views/residentManage/inStoreManage/components/empDialog/index.vue
src/views/residentManage/inStoreManage/components/performanceDeductionDialog.vue
src/views/residentManage/inStoreManage/components/creatStaffDialog.vue
View file @
1f64280
...
...
@@ -167,7 +167,7 @@ export default {
optionsName
:
"mentorPhoneList"
},
{
label
:
"
基本工资
"
,
label
:
"
底薪
"
,
name
:
"basicSalary"
,
type
:
"input"
,
width
:
"136px"
,
...
...
src/views/residentManage/inStoreManage/components/editStaff.vue
View file @
1f64280
...
...
@@ -111,7 +111,7 @@
<div
class=
"info-wrap-change"
>
<div
class=
"item-box"
>
<div
class=
"info-item"
>
<label>
基本工资
:
</label>
<label>
底薪
:
</label>
<el-form-item
label=
""
prop=
"baseSalary"
v-if=
"whiteFlag"
>
<el-input
v-model=
"detail.baseSalary"
...
...
src/views/residentManage/inStoreManage/components/empDialog/index.vue
View file @
1f64280
...
...
@@ -106,7 +106,9 @@ export default {
total
:
0
,
currentPage
:
1
,
pageSize
:
20
,
storeSearchForm
:
{}
storeSearchForm
:
{
staffName
:
""
}
}
},
...
...
@@ -131,7 +133,7 @@ export default {
handler
(
val
)
{
if
(
val
)
{
this
.
selectedData
=
this
.
storeSelected
console
.
log
(
this
.
selectedData
,
"---------"
)
this
.
recoverySelection
()
}
},
...
...
@@ -139,6 +141,11 @@ export default {
}
},
methods
:
{
clearData
()
{
this
.
storeSearchForm
.
staffName
=
""
this
.
currentPage
=
1
console
.
log
(
this
.
storeSearchForm
.
staffPhone
)
},
checkSelectable
(
row
,
index
)
{
const
obj
=
this
.
selectingList
.
find
((
v
)
=>
v
.
staffPhone
==
row
.
staffPhone
)
if
(
obj
)
{
...
...
src/views/residentManage/inStoreManage/components/performanceDeductionDialog.vue
View file @
1f64280
...
...
@@ -61,8 +61,8 @@
>
<el-input
v-model=
"item.performanceSalarDeductionRatio"
placeholder=
"
扣减比例
"
style=
"width: 1
2
0px"
placeholder=
"
请输入
"
style=
"width: 1
4
0px"
@
blur=
"validatePercentage(item)"
>
<template
slot=
"append"
>
%
</
template
>
...
...
@@ -142,8 +142,8 @@
>
<el-input
v-model=
"item.performanceSalarDeductionRatio"
placeholder=
"
扣减比例
"
style=
"width: 1
2
0px"
placeholder=
"
请输入
"
style=
"width: 1
4
0px"
@
blur=
"validatePercentage(item)"
>
<
template
slot=
"append"
>
%
</
template
>
...
...
@@ -193,7 +193,7 @@
v-if=
"config.staffList && config.staffList.length > 0"
>
<el-tag
@
close=
"removeStaff(configIndex,
staff
)"
@
close=
"removeStaff(configIndex,
index
)"
v-for=
"(staff, index) in config.staffList"
:key=
"configIndex + '-' + index"
closable
...
...
@@ -336,6 +336,8 @@ export default {
this
.
configIndex
=
index
this
.
getSelectingList
(
index
)
this
.
groupVisible
=
true
this
.
$refs
.
selectTagForm
.
clearData
&&
this
.
$refs
.
selectTagForm
.
clearData
()
this
.
$refs
.
selectTagForm
.
getSelectingList
&&
this
.
$refs
.
selectTagForm
.
getSelectingList
()
},
...
...
@@ -359,21 +361,21 @@ export default {
maxAssessmentValue
:
""
,
assessmentType
:
1
,
minAssessmentValue
:
""
,
id
:
Date
.
now
()
id
:
Date
.
now
()
+
1
},
{
performanceSalarDeductionRatio
:
""
,
maxAssessmentValue
:
""
,
assessmentType
:
1
,
minAssessmentValue
:
""
,
id
:
Date
.
now
()
id
:
Date
.
now
()
+
2
},
{
performanceSalarDeductionRatio
:
""
,
maxAssessmentValue
:
""
,
assessmentType
:
2
,
minAssessmentValue
:
""
,
id
:
Date
.
now
()
id
:
Date
.
now
()
+
3
}
],
staffList
:
[]
...
...
@@ -386,6 +388,7 @@ export default {
)
},
removeItem
(
configIndex
,
id
)
{
console
.
log
(
configIndex
,
id
)
const
index
=
this
.
form
.
configList
[
configIndex
].
itemList
.
findIndex
(
(
item
)
=>
item
.
id
===
id
)
...
...
@@ -486,12 +489,8 @@ export default {
field
===
"maxAssessmentValue"
&&
parseInt
(
item
.
minAssessmentValue
)
>=
parseInt
(
value
)
)
{
this
.
$set
(
item
,
"maxAssessmentValue"
,
parseInt
(
item
.
minAssessmentValue
)
+
1
)
this
.
$message
.
warning
(
"最大值必须大于最小值"
)
this
.
$set
(
item
,
"maxAssessmentValue"
,
""
)
// this.$message.warning("")
}
},
// 验证百分比输入
...
...
@@ -675,7 +674,7 @@ export default {
opacity
:
1
;
border
:
1px
solid
#d1d1d1
;
background
:
#e8e8e8
;
color
:
#
666666
;
color
:
#
2a58ad
;
font-size
:
14px
;
text-align
:
center
;
line-height
:
32px
;
...
...
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