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
34ecc7d0
Commit
34ecc7d0
authored
Sep 09, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
cdf965a9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
13 deletions
+28
-13
domesticCommission.vue
src/components/FinancialModule/domesticCommission.vue
+3
-3
domesticCommissionUser.vue
src/components/FinancialModule/domesticCommissionUser.vue
+1
-1
domesticCommissiondetails.vue
src/components/FinancialModule/domesticCommissiondetails.vue
+24
-9
No files found.
src/components/FinancialModule/domesticCommission.vue
View file @
34ecc7d0
...
@@ -117,9 +117,9 @@
...
@@ -117,9 +117,9 @@
res
=>
{
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
PeriodsList
=
res
.
data
.
data
;
this
.
PeriodsList
=
res
.
data
.
data
;
if
(
this
.
PeriodsList
&&
this
.
PeriodsList
.
length
>
0
){
//
if(this.PeriodsList && this.PeriodsList.length>0){
this
.
msg
.
Periods
=
Number
(
this
.
PeriodsList
[
0
].
Id
)
//
this.msg.Periods = Number(this.PeriodsList[0].Id)
}
//
}
this
.
getList
();
this
.
getList
();
...
...
src/components/FinancialModule/domesticCommissionUser.vue
View file @
34ecc7d0
...
@@ -134,7 +134,7 @@
...
@@ -134,7 +134,7 @@
this
.
msg
.
PeriodId
=
this
.
$route
.
query
.
PeriodId
this
.
msg
.
PeriodId
=
this
.
$route
.
query
.
PeriodId
}
}
this
.
getList
();
this
.
getList
();
this
.
getqishilist
()
//
this.getqishilist()
this
.
getCompanyList
()
//获取公司
this
.
getCompanyList
()
//获取公司
this
.
getEmployee
()
//人员
this
.
getEmployee
()
//人员
this
.
getDerpartMent
()
//部门
this
.
getDerpartMent
()
//部门
...
...
src/components/FinancialModule/domesticCommissiondetails.vue
View file @
34ecc7d0
...
@@ -42,6 +42,10 @@
...
@@ -42,6 +42,10 @@
</ul>
</ul>
</div>
</div>
<div
style=
"display: flex;align-items: center;height: 50px;"
>
<span>
总金额:
{{
TotalMoney
}}
元
</span>
<span
style=
"margin-left: 15px;"
>
总人数:
{{
TotalNum
}}
人
</span>
</div>
<table
v-loading=
"loading"
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
style=
"margin-top: 10px;"
>
<table
v-loading=
"loading"
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
style=
"margin-top: 10px;"
>
<tr>
<tr>
<th>
期数
</th>
<th>
期数
</th>
...
@@ -117,6 +121,9 @@
...
@@ -117,6 +121,9 @@
BranchList
:
[],
BranchList
:
[],
searchList
:
[],
searchList
:
[],
departMentList
:[],
departMentList
:[],
TotalMoney
:
0
,
TotalNum
:
0
,
}
}
},
},
mounted
()
{
mounted
()
{
...
@@ -126,7 +133,6 @@
...
@@ -126,7 +133,6 @@
this
.
btnShow
=
true
;
this
.
btnShow
=
true
;
}
}
if
(
this
.
$route
.
query
)
{
if
(
this
.
$route
.
query
)
{
console
.
log
(
this
.
$route
.
query
)
if
(
this
.
$route
.
query
.
PeriodId
){
if
(
this
.
$route
.
query
.
PeriodId
){
this
.
msg
.
PeriodId
=
this
.
$route
.
query
.
PeriodId
this
.
msg
.
PeriodId
=
this
.
$route
.
query
.
PeriodId
}
}
...
@@ -141,10 +147,10 @@
...
@@ -141,10 +147,10 @@
}
}
}
}
this
.
getList
();
this
.
getList
();
this
.
getqishilist
()
//
this.getqishilist()
this
.
getCompanyList
()
//获取公司
//
this.getCompanyList()//获取公司
this
.
getEmployee
()
//人员
//
this.getEmployee()//人员
this
.
getDerpartMent
()
//部门
//
this.getDerpartMent()//部门
},
},
methods
:
{
methods
:
{
getDerpartMent
()
{
getDerpartMent
()
{
...
@@ -235,15 +241,21 @@
...
@@ -235,15 +241,21 @@
},
},
//获取数据
//获取数据
getList
()
{
getList
()
{
let
msg
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
msg
))
if
(
msg
.
OrderId
==
''
){
msg
.
OrderId
=
0
}
this
.
loading
=
true
;
this
.
loading
=
true
;
this
.
apipost
(
this
.
apipost
(
"sellcommission_GetGNCommissionSingleDetailsList"
,
"sellcommission_GetGNCommissionSingleDetailsList"
,
this
.
msg
,
msg
,
res
=>
{
res
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
dataList
=
res
.
data
.
data
.
pageData
;
this
.
TotalMoney
=
res
.
data
.
data
.
TotalMoney
?
res
.
data
.
data
.
TotalMoney
:
0
this
.
total
=
res
.
data
.
data
.
count
;
this
.
TotalNum
=
res
.
data
.
data
.
TotalNum
?
res
.
data
.
data
.
TotalNum
:
0
this
.
dataList
=
res
.
data
.
data
.
pmodel
.
pageData
;
this
.
total
=
res
.
data
.
data
.
pmodel
.
count
;
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
}
}
...
@@ -252,7 +264,10 @@
...
@@ -252,7 +264,10 @@
);
);
},
},
exportExcel
(){
//导出
exportExcel
(){
//导出
let
msg
=
this
.
msg
;
let
msg
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
msg
))
if
(
msg
.
OrderId
==
''
){
msg
.
OrderId
=
0
}
var
fileName
=
"国内提成明细.xls"
;
var
fileName
=
"国内提成明细.xls"
;
this
.
GetLocalFile
(
"sellcommission_post_GetGNCommissionSingleDetailsListToExcel"
,
msg
,
fileName
);
this
.
GetLocalFile
(
"sellcommission_post_GetGNCommissionSingleDetailsListToExcel"
,
msg
,
fileName
);
},
},
...
...
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