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
150e1ce3
Commit
150e1ce3
authored
Sep 18, 2019
by
黄媛媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增地接提成
parent
5a1b63ae
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
1070 additions
and
2 deletions
+1070
-2
Djcommissions.vue
src/components/FinancialModule/Djcommissions.vue
+313
-0
OPcommissionPeriods.vue
src/components/FinancialModule/OPcommissionPeriods.vue
+8
-1
ClausesOrder.vue
src/components/administrative/ClausesOrder.vue
+119
-0
CommissionManagement.vue
src/components/administrative/CommissionManagement.vue
+1
-1
DjCommissionDetail.vue
src/components/administrative/DjCommissionDetail.vue
+476
-0
DjCommissionsmangment.vue
src/components/administrative/DjCommissionsmangment.vue
+121
-0
config.js
src/router/config.js
+32
-0
No files found.
src/components/FinancialModule/Djcommissions.vue
0 → 100644
View file @
150e1ce3
This diff is collapsed.
Click to expand it.
src/components/FinancialModule/OPcommissionPeriods.vue
View file @
150e1ce3
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
placeholder=
"选择月"
>
placeholder=
"选择月"
>
</el-date-picker>
</el-date-picker>
</li>
</li>
<li>
<li
v-show=
"btnShow"
>
<el-button
size=
"mini"
type=
"danger"
style=
"border-radius:14px"
:loading=
"btnLoading"
@
click=
"generateTable"
>
生成提成
</el-button>
<el-button
size=
"mini"
type=
"danger"
style=
"border-radius:14px"
:loading=
"btnLoading"
@
click=
"generateTable"
>
生成提成
</el-button>
<!--
<input
v-loading=
"btnLoading"
type=
"button"
class=
"normalBtn"
@
click=
"generateTable"
value=
"生成提成"
/>
-->
<!--
<input
v-loading=
"btnLoading"
type=
"button"
class=
"normalBtn"
@
click=
"generateTable"
value=
"生成提成"
/>
-->
</li>
</li>
...
@@ -72,9 +72,16 @@ import moment from "moment"
...
@@ -72,9 +72,16 @@ import moment from "moment"
total
:
0
,
total
:
0
,
currentPage
:
1
,
currentPage
:
1
,
btnLoading
:
false
,
btnLoading
:
false
,
btnShow
:
false
,
}
}
},
},
mounted
()
{
mounted
()
{
let
userInfo
=
this
.
getLocalStorage
();
let
ActionMenuCode
=
userInfo
.
ActionMenuCode
;
if
(
ActionMenuCode
.
indexOf
(
'P_OPCommissionSend'
)
!=-
1
){
this
.
btnShow
=
true
;
}
this
.
getList
();
this
.
getList
();
},
},
methods
:
{
methods
:
{
...
...
src/components/administrative/ClausesOrder.vue
0 → 100644
View file @
150e1ce3
<
style
>
.CM_look
{
padding
:
4px
!important
;
position
:
relative
;
top
:
1px
;
}
</
style
>
<
template
>
<div
class=
"flexOne"
>
<!--
<div
class=
"query-box"
>
<ul>
<li>
<input
type=
"button"
class=
"normalBtn"
@
click=
"generateTable"
value=
"生成提成报表"
/>
</li>
</ul>
</div>
-->
<table
v-loading=
"loading"
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<th>
订单号
</th>
<th>
团号
</th>
<th>
旅客数
</th>
<th>
销售名称
</th>
</tr>
<tr
v-for=
"(item,index) in dataList"
:key=
"index"
>
<td>
{{
item
.
OrderId
}}
</td>
<td>
{{
item
.
TCNUM
}}
</td>
<td>
{{
item
.
GuestNum
}}
</td>
<td>
{{
item
.
CreateByName
}}
</td>
<!--
<td>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"查看"
placement=
"top"
>
<el-button
type=
"primary"
class=
"CM_look"
@
click=
"goUrl('CommissionDetail',item.id)"
icon=
"iconfont icon-chakan"
circle
></el-button>
</el-tooltip>
</td>
-->
</tr>
<tr>
<td
v-show=
"dataList.length==0"
colspan=
"4"
align=
"center"
>
暂无数据
</td>
</tr>
</table>
<!-- 分页 -->
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
'msg.PageSize'
:total=
'total'
>
</el-pagination>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
msg
:
{
PageIndex
:
1
,
PageSize
:
20
,
StartDate
:
''
,
},
loading
:
false
,
//数据源
dataList
:[],
total
:
0
,
currentPage
:
1
,
}
},
mounted
()
{
this
.
msg
.
StartDate
=
this
.
$route
.
query
.
StartDate
;
this
.
getList
();
},
methods
:
{
handleCurrentChange
(
val
)
{
this
.
msg
.
PageIndex
=
val
;
this
.
getList
();
},
goUrl
(
path
,
id
)
{
this
.
$router
.
push
({
path
:
path
,
query
:
{
ParentId
:
id
,
blank
:
'y'
,
tab
:
'报价详情'
}
});
},
//获取数据
getList
()
{
this
.
loading
=
true
;
this
.
apipost
(
"OPCommission_GetCommissionOrderPageList"
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
){
this
.
dataList
=
res
.
data
.
data
.
pageData
;
this
.
total
=
res
.
data
.
data
.
count
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
null
);
},
//生成提成报表
generateTable
(){
let
msg
=
{
UserId
:
0
}
this
.
apipost
(
"sellcommission_SetGenerateCommission"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
this
.
getList
();
this
.
Success
(
'报表生成成功'
)
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
null
);
}
}
}
</
script
>
src/components/administrative/CommissionManagement.vue
View file @
150e1ce3
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
<th>
日期
</th>
<th>
日期
</th>
<th>
{{
$t
(
'system.table_operation'
)
}}
</th>
<th>
{{
$t
(
'system.table_operation'
)
}}
</th>
</tr>
</tr>
<tr
v-for=
"
item in dataList
"
>
<tr
v-for=
"
(item,index) in dataList"
:key=
"index
"
>
<td>
{{
item
.
periods
}}
</td>
<td>
{{
item
.
periods
}}
</td>
<td>
{{
item
.
sumPrice
}}
</td>
<td>
{{
item
.
sumPrice
}}
</td>
<td>
{{
item
.
createByStr
}}
</td>
<td>
{{
item
.
createByStr
}}
</td>
...
...
src/components/administrative/DjCommissionDetail.vue
0 → 100644
View file @
150e1ce3
This diff is collapsed.
Click to expand it.
src/components/administrative/DjCommissionsmangment.vue
0 → 100644
View file @
150e1ce3
<
style
>
.CM_look
{
padding
:
4px
!important
;
position
:
relative
;
top
:
1px
;
}
</
style
>
<
template
>
<div
class=
"flexOne"
>
<!--
<div
class=
"query-box"
>
<ul>
<li>
<input
type=
"button"
class=
"normalBtn"
@
click=
"generateTable"
value=
"生成提成报表"
/>
</li>
</ul>
</div>
-->
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<th>
期数
</th>
<th>
提成总金额
</th>
<th>
{{
$t
(
'admin.admin_czPerson'
)
}}
</th>
<th>
日期
</th>
<th>
{{
$t
(
'system.table_operation'
)
}}
</th>
</tr>
<tr
v-for=
"(item,index) in dataList"
:key=
"index"
>
<td>
{{
item
.
Periods
}}
</td>
<td>
{{
item
.
SumPrice
}}
</td>
<td>
{{
item
.
CreateByStr
}}
</td>
<td>
{{
item
.
CreateStr
}}
</td>
<td>
<!--
<el-tooltip
class=
"item"
effect=
"dark"
content=
"取消"
placement=
"top"
>
<el-button
type=
"danger"
icon=
"el-icon-delete"
circle
></el-button>
</el-tooltip>
-->
<el-tooltip
class=
"item"
effect=
"dark"
content=
"查看"
placement=
"top"
>
<el-button
type=
"primary"
class=
"CM_look"
@
click=
"goUrl('DjCommissionDetail',item.ID)"
icon=
"iconfont icon-chakan"
circle
></el-button>
</el-tooltip>
</td>
</tr>
<tr
v-if=
"dataList.length==0"
>
<td
colspan=
"5"
align=
"center"
>
暂无数据
</td>
</tr>
</table>
<!-- 分页 -->
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
'msg.PageSize'
:total=
'total'
>
</el-pagination>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
msg
:
{
PageIndex
:
1
,
PageSize
:
20
},
loading
:
false
,
//数据源
dataList
:[],
total
:
0
,
currentPage
:
1
,
}
},
mounted
()
{
this
.
getList
();
},
methods
:
{
handleCurrentChange
(
val
)
{
this
.
msg
.
PageIndex
=
val
;
this
.
getList
();
},
goUrl
(
path
,
id
)
{
this
.
$router
.
push
({
path
:
path
,
query
:
{
ID
:
id
,
blank
:
'y'
,
tab
:
'详情'
}
});
},
//获取数据
getList
()
{
this
.
loading
=
true
;
this
.
apipost
(
"OPCommission_GetPeriodsPageList"
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
){
this
.
dataList
=
res
.
data
.
data
.
pageData
;
this
.
total
=
res
.
data
.
data
.
count
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
null
);
},
//生成提成报表
generateTable
(){
let
msg
=
{
UserId
:
0
}
this
.
apipost
(
"sellcommission_SetGenerateCommission"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
this
.
getList
();
this
.
Success
(
'报表生成成功'
)
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
null
);
}
}
}
</
script
>
src/router/config.js
View file @
150e1ce3
...
@@ -328,6 +328,14 @@ export default {
...
@@ -328,6 +328,14 @@ export default {
title
:
'提成管理'
title
:
'提成管理'
},
},
},
},
{
path
:
'/DjCommissionsmangment'
,
//提成管理
name
:
'DjCommissionsmangment'
,
component
:
resolve
=>
require
([
'@/components/administrative/DjCommissionsmangment'
],
resolve
),
meta
:
{
title
:
'地接提成'
},
},
{
{
path
:
'/AirticketCommission'
,
//票务提成
path
:
'/AirticketCommission'
,
//票务提成
name
:
'AirticketCommission'
,
name
:
'AirticketCommission'
,
...
@@ -352,6 +360,22 @@ export default {
...
@@ -352,6 +360,22 @@ export default {
title
:
'提成详情'
title
:
'提成详情'
},
},
},
},
{
path
:
'/ClausesOrder'
,
//提成详情
name
:
'ClausesOrder'
,
component
:
resolve
=>
require
([
'@/components/administrative/ClausesOrder'
],
resolve
),
meta
:
{
title
:
'期数订单'
},
},
{
path
:
'/DjCommissionDetail'
,
//提成详情
name
:
'DjCommissionDetail'
,
component
:
resolve
=>
require
([
'@/components/administrative/DjCommissionDetail'
],
resolve
),
meta
:
{
title
:
'提成详情'
},
},
{
{
path
:
'/ExaminationStatistics'
,
//考核管理
path
:
'/ExaminationStatistics'
,
//考核管理
name
:
'ExaminationStatistics'
,
name
:
'ExaminationStatistics'
,
...
@@ -3635,6 +3659,14 @@ export default {
...
@@ -3635,6 +3659,14 @@ export default {
title
:
'op提成'
title
:
'op提成'
}
}
},
},
{
path
:
'/Djcommissions'
,
name
:
'Djcommissions'
,
component
:
resolve
=>
require
([
'@/components/FinancialModule/Djcommissions'
],
resolve
),
meta
:
{
title
:
'地接提成规则'
}
},
{
{
path
:
'/OPCommissionDetail'
,
path
:
'/OPCommissionDetail'
,
name
:
'OPCommissionDetail'
,
name
:
'OPCommissionDetail'
,
...
...
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