Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
c05e7b04
Commit
c05e7b04
authored
Feb 18, 2019
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增两列提成详情数据
parent
e01e7fcf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
0 deletions
+31
-0
CommissionDetail.vue
src/components/administrative/CommissionDetail.vue
+31
-0
No files found.
src/components/administrative/CommissionDetail.vue
View file @
c05e7b04
...
@@ -173,6 +173,32 @@ export default {
...
@@ -173,6 +173,32 @@ export default {
return
`<span style='color:red'>
${
rowData
.
commissionMoney
.
toFixed
(
2
)}
</span>`
return
`<span style='color:red'>
${
rowData
.
commissionMoney
.
toFixed
(
2
)}
</span>`
}
}
};
};
let
peopleCount
=
{
field
:
"peopleCount"
,
title
:
"收客人数"
,
titleAlign
:
"left"
,
columnAlign
:
"left"
,
isResize
:
true
,
width
:
80
,
orderBy
:
""
,
formatter
:
function
(
rowData
,
rowIndex
,
pagingIndex
,
field
)
{
return
`<span style='color:blue'>
${
rowData
.
peopleCount
+
rowData
.
visaPeopleCount
}
人</span>`
}
};
let
visaPeopleCount
=
{
field
:
"visaPeopleCount"
,
title
:
"单签证人数"
,
titleAlign
:
"left"
,
columnAlign
:
"left"
,
isResize
:
true
,
width
:
80
,
formatter
:
function
(
rowData
,
rowIndex
,
pagingIndex
,
field
)
{
if
(
rowData
.
visaPeopleCount
>
0
)
return
`<span style='color:orange'>
${
rowData
.
visaPeopleCount
}
人</span>`
else
return
''
}
};
let
periods
=
{
let
periods
=
{
field
:
"periods"
,
field
:
"periods"
,
title
:
"期数"
,
title
:
"期数"
,
...
@@ -205,6 +231,8 @@ export default {
...
@@ -205,6 +231,8 @@ export default {
this
.
columns
.
push
(
department
);
this
.
columns
.
push
(
department
);
this
.
columns
.
push
(
userName
);
this
.
columns
.
push
(
userName
);
this
.
columns
.
push
(
commissionMoney
);
this
.
columns
.
push
(
commissionMoney
);
this
.
columns
.
push
(
peopleCount
);
this
.
columns
.
push
(
visaPeopleCount
);
this
.
columns
.
push
(
periods
);
this
.
columns
.
push
(
periods
);
this
.
columns
.
push
(
remark
);
this
.
columns
.
push
(
remark
);
this
.
columns
.
push
(
opera
);
this
.
columns
.
push
(
opera
);
...
@@ -223,6 +251,9 @@ export default {
...
@@ -223,6 +251,9 @@ export default {
}
}
if
(
param
.
commissionMoney
!=
''
){
if
(
param
.
commissionMoney
!=
''
){
this
.
msg
.
OrderStr
=
'CommissionMoney '
+
param
.
commissionMoney
this
.
msg
.
OrderStr
=
'CommissionMoney '
+
param
.
commissionMoney
}
if
(
param
.
peopleCount
!=
''
){
this
.
msg
.
OrderStr
=
'PeopleCount '
+
param
.
peopleCount
}
}
this
.
getList
();
this
.
getList
();
},
},
...
...
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