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
9bee5d18
Commit
9bee5d18
authored
Jan 08, 2025
by
许珑标
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
查看回单
parent
12743a09
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
43 additions
and
5 deletions
+43
-5
src/api/business/payOutDetail.js
src/api/business/payOutDetail.js
+8
-0
src/views/business/payOutDetail/index.vue
src/views/business/payOutDetail/index.vue
+17
-2
src/views/business/payOutDetail/list.vue
src/views/business/payOutDetail/list.vue
+18
-3
No files found.
src/api/business/payOutDetail.js
View file @
9bee5d18
...
...
@@ -26,6 +26,14 @@ export function getPayOutDetail(id) {
})
}
// 查询发薪支付回单
export
function
viewPayEvi
(
id
)
{
return
request
({
url
:
'
/business/payOutDetail/evi/view/
'
+
id
,
method
:
'
get
'
})
}
// 新增发薪详情
export
function
addPayOutDetail
(
data
)
{
return
request
({
...
...
src/views/business/payOutDetail/index.vue
View file @
9bee5d18
...
...
@@ -52,7 +52,8 @@
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
员工姓名
"
align
=
"
center
"
prop
=
"
userName
"
fixed
/>
<
el
-
table
-
column
label
=
"
身份证号
"
align
=
"
center
"
prop
=
"
userCode
"
fixed
/>
<
el
-
table
-
column
label
=
"
用工单位
"
align
=
"
center
"
prop
=
"
companyName
"
>
<
el
-
table
-
column
label
=
"
所属合同
"
align
=
"
center
"
prop
=
"
contractName
"
/>
<
el
-
table
-
column
label
=
"
发薪主体
"
align
=
"
center
"
prop
=
"
companyName
"
>
<
template
slot
-
scope
=
"
scope
"
>
{{
scope
.
row
.
companyName
}}
<
el
-
tag
>
{{
scope
.
row
.
companyCode
}}
<
/el-tag
>
...
...
@@ -154,6 +155,10 @@
type
=
"
text
"
icon
=
"
el-icon-delete
"
@
click
=
"
handleDelete(scope.row)
"
v
-
hasPermi
=
"
['business:payOutDetail:remove']
"
>
删除
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.payStatus && 3 == scope.row.payStatus
"
size
=
"
mini
"
type
=
"
text
"
icon
=
"
el-icon-info
"
@
click
=
"
eviView(scope.row)
"
>
查看回单
<
/el-button
>
<
/template
>
<
/el-table-column
>
<
/el-table
>
...
...
@@ -388,7 +393,7 @@ import {
getPayOutDetail
,
delPayOutDetail
,
addPayOutDetail
,
updatePayOutDetail
,
adjustSalary
updatePayOutDetail
,
adjustSalary
,
viewPayEvi
}
from
'
@/api/business/payOutDetail
'
export
default
{
...
...
@@ -823,6 +828,16 @@ export default {
this
.
getList
()
}
}
);
}
,
eviView
(
row
)
{
this
.
$modal
.
loading
(
"
正在处理...
"
)
viewPayEvi
(
row
.
id
).
then
(
resp
=>
{
if
(
200
==
resp
.
code
&&
resp
.
data
)
{
window
.
open
(
resp
.
data
)
}
}
).
finally
(()
=>
{
this
.
$modal
.
closeLoading
()
}
)
}
}
}
...
...
src/views/business/payOutDetail/list.vue
View file @
9bee5d18
...
...
@@ -52,7 +52,8 @@
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
人员姓名
"
align
=
"
center
"
prop
=
"
userName
"
fixed
/>
<
el
-
table
-
column
label
=
"
身份证号
"
align
=
"
center
"
prop
=
"
userCode
"
fixed
/>
<
el
-
table
-
column
label
=
"
发放单位
"
align
=
"
center
"
prop
=
"
companyName
"
>
<
el
-
table
-
column
label
=
"
所属合同
"
align
=
"
center
"
prop
=
"
contractName
"
/>
<
el
-
table
-
column
label
=
"
发薪主体
"
align
=
"
center
"
prop
=
"
companyName
"
>
<
template
slot
-
scope
=
"
scope
"
>
{{
scope
.
row
.
companyName
}}
<
el
-
tag
>
{{
scope
.
row
.
companyCode
}}
<
/el-tag
>
...
...
@@ -137,7 +138,7 @@
<
span
>
{{
parseTime
(
scope
.
row
.
payTime
?
scope
.
row
.
payTime
:
'
--
'
)
}}
<
/span
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
操作
"
align
=
"
center
"
fixed
=
"
right
"
class
-
name
=
"
small-padding fixed-width
"
>
<
el
-
table
-
column
label
=
"
操作
"
align
=
"
center
"
width
=
"
110
"
fixed
=
"
right
"
class
-
name
=
"
small-padding fixed-width
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
el
-
button
v
-
if
=
"
scope.row.payStatus && 3 != scope.row.payStatus && 2 != scope.row.payStatus
"
size
=
"
mini
"
type
=
"
text
"
...
...
@@ -153,6 +154,10 @@
size
=
"
mini
"
type
=
"
text
"
icon
=
"
el-icon-delete
"
@
click
=
"
handleDelete(scope.row)
"
v
-
hasPermi
=
"
['business:payOutDetail:remove']
"
>
删除
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.payStatus && 3 == scope.row.payStatus
"
size
=
"
mini
"
type
=
"
text
"
icon
=
"
el-icon-info
"
@
click
=
"
eviView(scope.row)
"
>
查看回单
<
/el-button
>
<
/template
>
<
/el-table-column
>
<
/el-table
>
...
...
@@ -381,7 +386,7 @@ import {
getPayOutDetail
,
delPayOutDetail
,
addPayOutDetail
,
updatePayOutDetail
updatePayOutDetail
,
viewPayEvi
}
from
'
@/api/business/payOutDetail
'
export
default
{
...
...
@@ -797,6 +802,16 @@ export default {
}
else
{
this
.
cwForm
.
postWage
=
this
.
cwForm
.
postWage
+
Number
(
this
.
cwForm
.
checkWorkCost
)
}
}
,
eviView
(
row
)
{
this
.
$modal
.
loading
(
"
正在处理...
"
)
viewPayEvi
(
row
.
id
).
then
(
resp
=>
{
if
(
200
==
resp
.
code
&&
resp
.
data
)
{
window
.
open
(
resp
.
data
)
}
}
).
finally
(()
=>
{
this
.
$modal
.
closeLoading
()
}
)
}
}
}
...
...
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