Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
罗超
confucius
Commits
d5a7ff04
Commit
d5a7ff04
authored
Dec 24, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
1df97887
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
5 deletions
+19
-5
empBonus.vue
src/pages/financial/market/empBonus.vue
+19
-5
No files found.
src/pages/financial/market/empBonus.vue
View file @
d5a7ff04
...
...
@@ -40,6 +40,11 @@
<el-table-column
prop=
"SumPrice"
label=
"人头奖励总金额"
>
</el-table-column>
<el-table-column
prop=
"FrIdList"
label=
"财务单据"
>
<template
slot-scope=
"scope"
>
<div
style=
"display: flex;flex-wrap: wrap;"
v-if=
'scope.row.Financials'
>
<span
v-for=
"(x,y) in getFrnancialArr(scope.row.Financials)"
@
click=
"gocaiwuxiangq(x)"
style=
"cursor: pointer;text-decoration: underline;margin-right: 5px; color: #409EFF;"
>
{{
x
}}
</span>
</div>
<div
v-else
>
无
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"CreateByName"
label=
"创建人"
>
</el-table-column>
...
...
@@ -129,8 +134,8 @@
generalFinancacls
(
item
)
{
this
.
CheckID
=
item
.
Id
;
this
.
SendEmployeeList
=
item
.
BonusList
;
console
.
log
(
item
,
'数据'
);
console
.
log
(
this
.
SendEmployeeList
,
'11111111'
);
console
.
log
(
item
,
'数据'
);
console
.
log
(
this
.
SendEmployeeList
,
'11111111'
);
this
.
tishi
(
'3.6'
,
this
.
CheckID
);
},
tishi
(
Money
,
Id
)
{
...
...
@@ -156,7 +161,7 @@
this
.
multipleSelection
=
val
;
let
zong
=
0
this
.
multipleSelection
.
forEach
(
x
=>
{
zong
=
this
.
accAdd
(
zong
,
Number
(
x
.
ClueNumSalary
+
x
.
CurRewardMoney
+
x
.
OpenBonus
)
-
Number
(
x
.
BeforeMoney
))
zong
=
this
.
accAdd
(
zong
,
Number
(
x
.
ClueNumSalary
+
x
.
CurRewardMoney
+
x
.
OpenBonus
)
-
Number
(
x
.
BeforeMoney
))
})
this
.
totalAmount
=
zong
},
...
...
@@ -215,7 +220,6 @@
goaddFinancial
(
Money
,
Id
,
EmpIds
)
{
let
School_Id
=
0
;
let
obj
=
{
CostType
:
316
,
Money
:
Money
,
...
...
@@ -276,8 +280,18 @@
getTicheng
(
Obj
)
{
let
Num
=
Number
(
Obj
.
ClueNumSalary
+
Obj
.
CurRewardMoney
+
Obj
.
OpenBonus
)
-
Number
(
Obj
.
BeforeMoney
);
return
Num
;
},
getFrnancialArr
(
Financials
){
if
(
Financials
){
let
FinanArr
=
Financials
.
split
(
','
);
return
FinanArr
}
},
gocaiwuxiangq
(
id
){
this
.
OpenNewUrl
(
"/financial/financalDocument/FinancialDocumentsDetail"
,
{
id
:
id
});
}
},
}
...
...
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