Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
薪
薪瑞通-前端
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
许珑标
薪瑞通-前端
Commits
3d061658
Commit
3d061658
authored
Jan 08, 2025
by
谢子梦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化发薪详情修改功能
parent
2fe211c3
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1038 additions
and
13 deletions
+1038
-13
src/views/business/component/paidUsers.vue
src/views/business/component/paidUsers.vue
+1
-1
src/views/business/component/staffForm.vue
src/views/business/component/staffForm.vue
+2
-2
src/views/business/payOutDetail/index.vue
src/views/business/payOutDetail/index.vue
+11
-10
src/views/business/payOutDetail/operate.vue
src/views/business/payOutDetail/operate.vue
+1024
-0
No files found.
src/views/business/component/paidUsers.vue
View file @
3d061658
...
@@ -982,7 +982,7 @@ export default {
...
@@ -982,7 +982,7 @@ export default {
},
},
// 工伤保险基数变化
// 工伤保险基数变化
gsbxBaseChange
(
e
)
{
gsbxBaseChange
(
e
)
{
if
(
this
.
formData
.
yl
bxCompanyRate
>
0
&&
this
.
formData
.
gsbxBase
>
0
)
{
if
(
this
.
formData
.
gs
bxCompanyRate
>
0
&&
this
.
formData
.
gsbxBase
>
0
)
{
this
.
gsbxCompanyMoney
=
(
this
.
formData
.
gsbxBase
*
this
.
formData
.
gsbxCompanyRate
/
100
).
toFixed
(
2
)
this
.
gsbxCompanyMoney
=
(
this
.
formData
.
gsbxBase
*
this
.
formData
.
gsbxCompanyRate
/
100
).
toFixed
(
2
)
}
else
{
}
else
{
this
.
gsbxCompanyMoney
=
'
--
'
this
.
gsbxCompanyMoney
=
'
--
'
...
...
src/views/business/component/staffForm.vue
View file @
3d061658
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"管理费"
prop=
"operationCost"
>
<el-form-item
label=
"管理费"
prop=
"operationCost"
>
<el-input-number
v-model=
"formData.operationCost"
placeholder=
"请输入
请输入
管理费"
:precision=
"2"
<el-input-number
v-model=
"formData.operationCost"
placeholder=
"请输入管理费"
:precision=
"2"
:step=
"1"
:min=
"0"
controls-position=
"right"
></el-input-number>
:step=
"1"
:min=
"0"
controls-position=
"right"
></el-input-number>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -557,7 +557,7 @@ export default {
...
@@ -557,7 +557,7 @@ export default {
},
},
// 工伤保险基数变化
// 工伤保险基数变化
gsbxBaseChange
(
e
)
{
gsbxBaseChange
(
e
)
{
if
(
this
.
formData
.
yl
bxCompanyRate
>
0
&&
this
.
formData
.
gsbxBase
>
0
)
{
if
(
this
.
formData
.
gs
bxCompanyRate
>
0
&&
this
.
formData
.
gsbxBase
>
0
)
{
this
.
gsbxCompanyRateAmount
=
(
this
.
formData
.
gsbxBase
*
this
.
formData
.
gsbxCompanyRate
/
100
).
toFixed
(
2
)
this
.
gsbxCompanyRateAmount
=
(
this
.
formData
.
gsbxBase
*
this
.
formData
.
gsbxCompanyRate
/
100
).
toFixed
(
2
)
}
else
{
}
else
{
this
.
gsbxCompanyRateAmount
=
'
--
'
this
.
gsbxCompanyRateAmount
=
'
--
'
...
...
src/views/business/payOutDetail/index.vue
View file @
3d061658
...
@@ -24,11 +24,11 @@
...
@@ -24,11 +24,11 @@
</el-form>
</el-form>
<el-row
:gutter=
"10"
class=
"mb8"
>
<el-row
:gutter=
"10"
class=
"mb8"
>
<el-col
:span=
"1.5"
>
<
!--
<
el-col
:span=
"1.5"
>
<el-button
type=
"primary"
icon=
"el-icon-plus"
size=
"mini"
@
click=
"handleAdd"
<el-button
type=
"primary"
icon=
"el-icon-plus"
size=
"mini"
@
click=
"handleAdd"
v-hasPermi=
"['business:payOutDetail:add']"
>
新增
v-hasPermi=
"['business:payOutDetail:add']"
>
新增
</el-button>
</el-button>
</el-col>
</el-col>
-->
<el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
>
<el-button
type=
"success"
icon=
"el-icon-edit"
size=
"mini"
:disabled=
"single"
@
click=
"handleUpdate"
<el-button
type=
"success"
icon=
"el-icon-edit"
size=
"mini"
:disabled=
"single"
@
click=
"handleUpdate"
v-hasPermi=
"['business:payOutDetail:edit']"
>
修改
v-hasPermi=
"['business:payOutDetail:edit']"
>
修改
...
@@ -180,16 +180,15 @@
...
@@ -180,16 +180,15 @@
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
操作
"
align
=
"
center
"
fixed
=
"
right
"
class
-
name
=
"
small-padding fixed-width
"
>
<
el
-
table
-
column
label
=
"
操作
"
align
=
"
center
"
fixed
=
"
right
"
class
-
name
=
"
small-padding fixed-width
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
el
-
button
v
-
if
=
"
scope.row.payStatus && 3 != scope.row.payStatus && 2 != scope.row.payStatus
"
<
el
-
button
v
-
if
=
"
scope.row.payStatus && 3 != scope.row.payStatus && 2 != scope.row.payStatus
"
size
=
"
mini
"
size
=
"
mini
"
type
=
"
text
"
icon
=
"
el-icon-edit
"
@
click
=
"
handleUpdate(scope.row)
"
type
=
"
text
"
icon
=
"
el-icon-edit
"
@
click
=
"
handleUpdate(scope.row)
"
v
-
hasPermi
=
"
['business:payOutDetail:edit']
"
>
修改
v
-
hasPermi
=
"
['business:payOutDetail:edit']
"
>
修改
<
/el-button
>
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.payStatus && 1 == scope.row.payStatus
"
<
el
-
button
v
-
if
=
"
scope.row.payStatus && 1 == scope.row.payStatus
"
size
=
"
mini
"
type
=
"
text
"
icon
=
"
el-icon-edit
"
size
=
"
mini
"
type
=
"
text
"
icon
=
"
el-icon-edit
"
@
click
=
"
checkWork(scope.row)
"
@
click
=
"
checkWork(scope.row)
"
v
-
hasPermi
=
"
['business:payOutDetail:edit']
"
>
考勤核对
v
-
hasPermi
=
"
['business:payOutDetail:edit']
"
>
考勤核对
<
/el-button
>
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.payStatus && 3 != scope.row.payStatus && 2 != scope.row.payStatus
"
<
el
-
button
v
-
if
=
"
scope.row.payStatus && 3 != scope.row.payStatus && 2 != scope.row.payStatus
"
size
=
"
mini
"
size
=
"
mini
"
type
=
"
text
"
icon
=
"
el-icon-delete
"
@
click
=
"
handleDelete(scope.row)
"
type
=
"
text
"
icon
=
"
el-icon-delete
"
@
click
=
"
handleDelete(scope.row)
"
v
-
hasPermi
=
"
['business:payOutDetail:remove']
"
>
删除
v
-
hasPermi
=
"
['business:payOutDetail:remove']
"
>
删除
<
/el-button
>
<
/el-button
>
<
/template
>
<
/template
>
...
@@ -734,8 +733,10 @@ export default {
...
@@ -734,8 +733,10 @@ export default {
}
,
}
,
/** 修改按钮操作 */
/** 修改按钮操作 */
handleUpdate
(
row
)
{
handleUpdate
(
row
)
{
this
.
reset
()
//
this.reset()
const
id
=
row
.
id
||
this
.
ids
const
id
=
row
.
id
||
this
.
ids
this
.
$router
.
push
({
path
:
"
/business/operate
"
,
query
:
{
batchNo
:
this
.
queryParams
.
batchNo
,
batchName
:
this
.
batchName
,
id
:
id
}
}
);
return
getPayOutDetail
(
id
).
then
(
response
=>
{
getPayOutDetail
(
id
).
then
(
response
=>
{
this
.
form
=
response
.
data
this
.
form
=
response
.
data
this
.
open
=
true
this
.
open
=
true
...
...
src/views/business/payOutDetail/operate.vue
0 → 100644
View file @
3d061658
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment