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
e5916c22
Commit
e5916c22
authored
Mar 22, 2019
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
暂存到本地
parent
5b662960
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
307 additions
and
110 deletions
+307
-110
zh.js
src/assets/common/lang/zh.js
+23
-2
ShoppingDetails.vue
src/components/ShoppingStore/ShoppingDetails.vue
+57
-31
TravelControlList.vue
...components/TravelManager/TravelList/TravelControlList.vue
+12
-0
priceIncomeConfirmInfo.vue
...nents/TravelManager/TravelList/priceIncomeConfirmInfo.vue
+114
-0
lineManagement.vue
src/components/systemManagement/lineManagement.vue
+93
-77
config.js
src/router/config.js
+8
-0
No files found.
src/assets/common/lang/zh.js
View file @
e5916c22
...
@@ -35,7 +35,8 @@ export const pub={
...
@@ -35,7 +35,8 @@ export const pub={
closeWindow
:
'关闭窗口'
,
closeWindow
:
'关闭窗口'
,
noMsg
:
'咱无'
,
noMsg
:
'咱无'
,
returnBack
:
'返回'
,
returnBack
:
'返回'
,
allday
:
'全天'
allday
:
'全天'
,
clickToView
:
'点击查看'
,
}
}
export
const
login
=
{
export
const
login
=
{
...
@@ -709,4 +710,24 @@ export const rule = {
...
@@ -709,4 +710,24 @@ export const rule = {
startDate
:
'请选择开始日期'
,
startDate
:
'请选择开始日期'
,
endDate
:
'请选择结束日期'
,
endDate
:
'请选择结束日期'
,
}
}
\ No newline at end of file
export
const
Operation
=
{
Op_ShortName
:
'线路简称'
,
Op_sname
:
'简称'
,
Op_depositAmount
:
'最低定金金额'
,
Op_EarlybirdDay
:
'早鸟优惠天数'
,
Op_LossAllocation
:
'损失分摊比列'
,
Op_partInCompany
:
'参与公司'
,
Op_belongDepartment
:
'所属部门'
,
Op_CombinedContry
:
'关联国家'
,
Op_lowDeposit
:
'最低定金'
,
Op_preferentialDays
:
'优惠天数'
,
Op_isDirect
:
'是否直采'
,
Op_isShared
:
'是否共享'
,
Op_AllowSmallGroup
:
'允许小包团'
,
Op_Project
:
'项目'
,
Op_notInvoled
:
'未参与'
,
Op_ManageDepartment
:
'管理部门'
,
}
src/components/ShoppingStore/ShoppingDetails.vue
View file @
e5916c22
...
@@ -13,6 +13,7 @@
...
@@ -13,6 +13,7 @@
height
:
30px
;
height
:
30px
;
text-align
:
center
;
text-align
:
center
;
line-height
:
30px
;
line-height
:
30px
;
margin-right
:
30px
;
}
}
.ShoppingDetails
.backBtn
{
.ShoppingDetails
.backBtn
{
float
:
right
;
float
:
right
;
...
@@ -51,14 +52,13 @@
...
@@ -51,14 +52,13 @@
height
:
38px
;
height
:
38px
;
background-color
:
#ededed
;
background-color
:
#ededed
;
line-height
:
38px
;
line-height
:
38px
;
min-width
:
1400px
;
}
}
.infoTitle
span
{
.infoTitle
span
{
display
:
inline-block
;
display
:
inline-block
;
color
:
#000000
;
color
:
#000000
;
font-family
:
PingFangSC-Semibold
,
sans-serif
;
font-family
:
PingFangSC-Semibold
,
sans-serif
;
font-size
:
12px
;
font-size
:
12px
;
width
:
1
0
%
;
width
:
1
2
%
;
text-align
:
center
;
text-align
:
center
;
}
}
.listInfo
{
.listInfo
{
...
@@ -66,7 +66,6 @@
...
@@ -66,7 +66,6 @@
height
:
50px
;
height
:
50px
;
background-color
:
#fff
;
background-color
:
#fff
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
min-width
:
1400px
;
line-height
:
50px
;
line-height
:
50px
;
font-size
:
12px
;
font-size
:
12px
;
}
}
...
@@ -76,7 +75,7 @@
...
@@ -76,7 +75,7 @@
}
}
.listInfo
span
{
.listInfo
span
{
display
:
inline-block
;
display
:
inline-block
;
width
:
1
0
%
;
width
:
1
2
%
;
text-align
:
center
;
text-align
:
center
;
}
}
.travelProfit
{
.travelProfit
{
...
@@ -153,21 +152,31 @@
...
@@ -153,21 +152,31 @@
background-color
:
#fff
;
background-color
:
#fff
;
padding-top
:
50px
;
padding-top
:
50px
;
}
}
.Shop_span
{
font-size
:
14px
;
}
</
style
>
</
style
>
<
template
>
<
template
>
<div
class=
'flexOne ShoppingDetails'
>
<div
class=
'flexOne ShoppingDetails'
>
<div
class=
"dataIn clearfix"
>
<div
class=
"dataIn clearfix"
>
<div
class=
"storeName"
>
{{
Name
}}
</div>
<div
class=
"storeName"
>
{{
Name
}}
</div>
<input
type=
"button"
class=
"hollowFixedBtn backBtn"
@
click=
"goUrl('ShoppingStore')"
value=
"返回"
/>
<span
class=
"Shop_span"
>
日期
</span>
<input
type=
"button"
class=
"normalBtn backBtn"
@
click=
"showStatis(1)"
v-if=
"isShow==false"
value=
"数据看板"
/>
<el-date-picker
class=
"w150"
type=
"date"
v-model=
"msg.StartDate"
:picker-options=
"pickerBeginDateBefore"
value-format=
"yyyy-MM-dd"
placeholder
></el-date-picker>
<el-date-picker
class=
"w150"
type=
"date"
v-model=
"msg.EndDate"
:picker-options=
"pickerBeginDateAfter"
value-format=
"yyyy-MM-dd"
placeholder
></el-date-picker>
<input
type=
"button"
class=
"normalBtn backBtn"
@
click=
"showStatis(1)"
v-if=
"isShow==false"
value=
"数据看板"
style=
"display:none;"
/>
<input
type=
"button"
class=
"normalBtn backBtn"
@
click=
"showStatis(2)"
v-else
value=
"列表"
/>
<input
type=
"button"
class=
"normalBtn backBtn"
@
click=
"showStatis(2)"
v-else
value=
"列表"
/>
<input
type=
"button"
class=
"hollowFixedBtn backBtn"
@
click=
"goUrl('ShoppingStore')"
value=
"返回"
/>
<input
type=
"button"
class=
"hollowFixedBtn backBtn"
@
click=
"getList()"
value=
"查询"
/>
</div>
</div>
<div
class=
"listSpan"
>
<
!--
<
div
class=
"listSpan"
>
<span>
总交易额:
<label
class=
"ShopDetail_c1 fbold"
>
{{
TotalPrice
}}
</label></span>
<span>
总交易额:
<label
class=
"ShopDetail_c1 fbold"
>
{{
TotalPrice
}}
</label></span>
<span>
旅行社盈利:
<label
class=
"ShopDetail_c2 fbold"
>
{{
GroupExtract
}}
</label></span>
<span>
旅行社盈利:
<label
class=
"ShopDetail_c2 fbold"
>
{{
GroupExtract
}}
</label></span>
<span>
导游盈利:
<label
class=
"ShopDetail_c3 fbold"
>
{{
GuideExtract
}}
</label></span>
<span>
导游盈利:
<label
class=
"ShopDetail_c3 fbold"
>
{{
GuideExtract
}}
</label></span>
<span>
领队盈利:
<label
class=
"ShopDetail_c4 fbold"
>
{{
LeaderExtract
}}
</label></span>
<span>
领队盈利:
<label
class=
"ShopDetail_c4 fbold"
>
{{
LeaderExtract
}}
</label></span>
</div>
</div>
-->
<div
class=
"mainInfo"
:class=
"
{'hidDiv':isShow}">
<div
class=
"mainInfo"
:class=
"
{'hidDiv':isShow}">
<div
class=
"infoTitle"
>
<div
class=
"infoTitle"
>
<span>
进店日期
</span>
<span>
进店日期
</span>
...
@@ -176,32 +185,30 @@
...
@@ -176,32 +185,30 @@
<span>
旅行社提成
</span>
<span>
旅行社提成
</span>
<span>
导游提成
</span>
<span>
导游提成
</span>
<span>
领队提成
</span>
<span>
领队提成
</span>
<span>
操作人
</span>
<span>
返佣余额
</span>
<span>
币种
</span>
<span>
返佣总计
</span>
<span>
日期
</span>
</div>
</div>
<div
class=
"listInfo"
v-for=
"item in DataList"
:key=
"item.subCode"
>
<div
class=
"listInfo"
v-for=
"item in DataList"
:key=
"item.subCode"
>
<span>
{{
item
.
StoreTime
}}
</span>
<span>
{{
item
.
StoreTime
}}
</span>
<span>
{{
item
.
TCID
}}
</span>
<span>
{{
item
.
TCID
}}
</span>
<span
class=
"totalPrice"
>
<span
class=
"totalPrice"
>
<label
class=
"total ShopDetail_c1"
>
¥
{{
item
.
NowTotalPrice
}}
</label>
<label
class=
"total ShopDetail_c1"
>
¥
{{
getPrice
(
item
.
TotalMoney
,
item
.
DMCRate
)
}}
</label>
<label
class=
"littleTotal"
>
(
{{
item
.
Total
Price
}}
*
{{
item
.
Rate
}}
)
</label>
<label
class=
"littleTotal"
>
(
{{
item
.
Total
Money
}}
*
{{
item
.
DMC
Rate
}}
)
</label>
</span>
</span>
<span
class=
"totalPrice"
>
<span
class=
"totalPrice"
>
<label
class=
"total ShopDetail_c2"
>
¥
{{
item
.
NowGroupExtract
}}
</label>
<label
class=
"total ShopDetail_c2"
>
¥
{{
getPrice
(
item
.
CompanyCommission
,
item
.
DMCRate
)
}}
</label>
<label
class=
"littleTotal"
>
(
{{
item
.
GroupExtract
}}
*
{{
item
.
Rate
}}
)
</label>
<label
class=
"littleTotal"
>
(
{{
item
.
CompanyCommission
}}
*
{{
item
.
DMC
Rate
}}
)
</label>
</span>
</span>
<span
class=
"totalPrice"
>
<span
class=
"totalPrice"
>
<label
class=
"total ShopDetail_c3"
>
¥
{{
item
.
NowGuideExtract
}}
</label>
<label
class=
"total ShopDetail_c3"
>
¥
{{
getPrice
(
item
.
GuideCommission
,
item
.
DMCRate
)
}}
</label>
<label
class=
"littleTotal"
>
(
{{
item
.
Guide
Extract
}}
*
{{
item
.
Rate
}}
)
</label>
<label
class=
"littleTotal"
>
(
{{
item
.
Guide
Commission
}}
*
{{
item
.
DMC
Rate
}}
)
</label>
</span>
</span>
<span
class=
"totalPrice"
>
<span
class=
"totalPrice"
>
<label
class=
"total ShopDetail_c4"
>
¥
{{
item
.
NowLeaderExtract
}}
</label>
<label
class=
"total ShopDetail_c4"
>
¥
{{
getPrice
(
item
.
LeaderCommission
,
item
.
DMCRate
)
}}
</label>
<label
class=
"littleTotal"
>
(
{{
item
.
Leader
Extract
}}
*
{{
item
.
Rate
}}
)
</label>
<label
class=
"littleTotal"
>
(
{{
item
.
Leader
Commission
}}
*
{{
item
.
DMC
Rate
}}
)
</label>
</span>
</span>
<span>
{{
item
.
emName
}}
</span>
<span>
{{
item
.
OtherDeduct
}}
</span>
<span>
{{
item
.
currencyName
}}
</span>
<span>
{{
item
.
BackTotalMoney
}}
</span>
<span>
{{
item
.
UpdateDate
}}
</span>
</div>
</div>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
msg.pageSize
:total=
total
>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
msg.pageSize
:total=
total
>
</el-pagination>
</el-pagination>
...
@@ -241,7 +248,9 @@ export default {
...
@@ -241,7 +248,9 @@ export default {
msg
:
{
msg
:
{
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
10
,
pageSize
:
10
,
ShoppingID
:
""
ShopId
:
""
,
StartDate
:
''
,
EndDate
:
''
},
},
noData
:
false
,
noData
:
false
,
loading
:
true
,
loading
:
true
,
...
@@ -269,27 +278,40 @@ export default {
...
@@ -269,27 +278,40 @@ export default {
DayGroupExtract
:
[],
DayGroupExtract
:
[],
DayGuideExtract
:
[],
DayGuideExtract
:
[],
DayLeaderExtract
:
[],
DayLeaderExtract
:
[],
DaydataZoom
:
[]
DaydataZoom
:
[],
pickerBeginDateBefore
:
{
disabledDate
:
time
=>
{
let
endTime
=
new
Date
(
this
.
msg
.
EndDate
)
return
endTime
.
getTime
()
<
time
.
getTime
()
}
},
pickerBeginDateAfter
:
{
disabledDate
:
time
=>
{
let
startTime
=
new
Date
(
this
.
msg
.
StartDate
)
return
startTime
.
getTime
()
>=
time
.
getTime
()
}
}
};
};
},
},
methods
:
{
methods
:
{
getList
()
{
getList
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
this
.
apipost
(
this
.
apipost
(
"ShoppingInfo_Post_GetPageList"
,
"ShoppingInfo_Post_GetP
riceShopDetailsP
ageList"
,
this
.
msg
,
this
.
msg
,
res
=>
{
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
loading
=
false
;
this
.
loading
=
false
;
if
(
res
.
data
.
data
.
count
>
0
)
{
if
(
res
.
data
.
data
.
count
>
0
)
{
this
.
total
=
res
.
data
.
data
.
count
;
this
.
noData
=
false
;
this
.
noData
=
false
;
this
.
DataList
=
res
.
data
.
data
.
pageData
;
}
else
{
}
else
{
this
.
noData
=
true
;
this
.
noData
=
true
;
}
}
}
else
{
this
.
total
=
res
.
data
.
data
.
count
;
this
.
loading
=
false
;
this
.
DataList
=
res
.
data
.
data
.
pageData
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
}
},
},
err
=>
{}
err
=>
{}
...
@@ -490,10 +512,14 @@ export default {
...
@@ -490,10 +512,14 @@ export default {
};
};
myChart
.
clear
();
myChart
.
clear
();
myChart
.
setOption
(
option2
);
myChart
.
setOption
(
option2
);
}
},
//乘以获得2位小数
getPrice
(
x
,
y
){
return
(
x
*
y
).
toFixed
(
2
);
}
},
},
mounted
()
{
mounted
()
{
this
.
msg
.
Shop
pingID
=
this
.
$route
.
query
.
id
;
this
.
msg
.
Shop
Id
=
this
.
$route
.
query
.
id
;
this
.
Name
=
this
.
$route
.
query
.
Name
;
this
.
Name
=
this
.
$route
.
query
.
Name
;
this
.
TotalPrice
=
this
.
$route
.
query
.
TotalPrice
;
this
.
TotalPrice
=
this
.
$route
.
query
.
TotalPrice
;
this
.
GroupExtract
=
this
.
$route
.
query
.
GroupExtract
;
this
.
GroupExtract
=
this
.
$route
.
query
.
GroupExtract
;
...
...
src/components/TravelManager/TravelList/TravelControlList.vue
View file @
e5916c22
...
@@ -631,6 +631,8 @@
...
@@ -631,6 +631,8 @@
</el-dropdown-item>
</el-dropdown-item>
<el-dropdown-item
v-if=
"item.Status==2"
@
click
.
native=
"OutGroup(item.TCID,1)"
>
销售
<el-dropdown-item
v-if=
"item.Status==2"
@
click
.
native=
"OutGroup(item.TCID,1)"
>
销售
</el-dropdown-item>
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
"goSureOrder('priceIncomeConfirmInfo',item.TCID)"
style=
"display:none;"
>
收入确认单
</el-dropdown-item>
<el-dropdown-item
v-if=
"CurrentUserInfo.B2BDomain!=''"
@
click
.
native=
"goB2B(item.ConfigId, item.TCID)"
>
<el-dropdown-item
v-if=
"CurrentUserInfo.B2BDomain!=''"
@
click
.
native=
"goB2B(item.ConfigId, item.TCID)"
>
B2B预览
B2B预览
</el-dropdown-item>
</el-dropdown-item>
...
@@ -1221,6 +1223,16 @@
...
@@ -1221,6 +1223,16 @@
})
})
window
.
open
(
routeData
.
href
,
'_blank'
)
window
.
open
(
routeData
.
href
,
'_blank'
)
},
},
goSureOrder
(
path
,
TCID
){
this
.
$router
.
push
({
name
:
path
,
query
:
{
TCID
:
TCID
,
blank
:
'y'
,
tab
:
'收入确认单'
}
})
},
goUrlMake
(
path
,
LineID
,
TCID
,
name
)
{
goUrlMake
(
path
,
LineID
,
TCID
,
name
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
path
,
name
:
path
,
...
...
src/components/TravelManager/TravelList/priceIncomeConfirmInfo.vue
0 → 100644
View file @
e5916c22
<
style
>
.priceIncomeTable
{
width
:
1200px
;
border-collapse
:
collapse
;
font-size
:
14px
;
}
.priceIncomeTable
td
{
border
:
1px
solid
#dcdfe6
;
height
:
34px
;
background-color
:
#fff
;
text-align
:
center
;
}
.priceComtd
{
background
:
#e6e6e6
!important
;
}
.princeOrderSpan
{
margin-right
:
10px
;
display
:
inline-block
;
}
.PriceRemark
{
width
:
100%
;
min-height
:
100px
;
padding
:
10px
;
font-size
:
14px
;
background-color
:
#fff
;
}
.leftRemarkTitle
{
float
:
left
;
width
:
5%
;
text-align
:
right
;
}
.rightRemarkContent
{
float
:
left
;
width
:
95%
;
}
</
style
>
<
template
>
<div>
<table
class=
"singeRowTable"
>
<tr>
<th
colspan=
"10"
>
团队收入确认单
</th>
</tr>
<tr>
<th>
部门
</th>
<th
width=
"250"
>
单号
</th>
<th
width=
"180"
>
团号
</th>
<th>
团队编号
</th>
<th>
人数
</th>
<th
width=
"100"
>
领队
</th>
<th>
团费收入合计
</th>
<th>
直客收入
</th>
<th>
同行交客收入
</th>
<th>
平台收入
</th>
</tr>
<tr>
<td>
{{
dataList
.
DepartmentName
}}
</td>
<td>
<span
class=
"princeOrderSpan"
v-for=
"item in dataList.OrderIds"
>
{{
item
}}
</span>
</td>
<td>
{{
dataList
.
TCNUM
}}
</td>
<td>
{{
dataList
.
TCID
}}
</td>
<td>
{{
dataList
.
PeopleNum
}}
</td>
<td>
{{
dataList
.
LeaderName
}}
</td>
<td>
{{
dataList
.
TotalIncome
}}
</td>
<td>
{{
dataList
.
DirectGuestIncome
}}
</td>
<td>
{{
dataList
.
PlatformGuestIncome
}}
</td>
<td>
{{
dataList
.
PlatformIncome
}}
</td>
</tr>
</table>
<div
class=
"PriceRemark clearfix"
>
<div
class=
"leftRemarkTitle"
>
备注:
</div>
<div
class=
"rightRemarkContent"
>
{{
dataList
.
Remark
}}
</div>
</div>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
loading
:
false
,
msg
:
{
tcid
:
''
},
dataList
:[],
};
},
methods
:
{
getList
()
{
//获取数据
this
.
loading
=
true
;
this
.
apipost
(
"travel_post_GetPriceIncomeConfirmInfo"
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
console
.
log
(
res
,
'data'
);
this
.
dataList
=
res
.
data
.
data
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{}
);
},
},
mounted
()
{
this
.
msg
.
tcid
=
this
.
$route
.
query
.
TCID
;
this
.
getList
();
}
};
</
script
>
src/components/systemManagement/lineManagement.vue
View file @
e5916c22
This diff is collapsed.
Click to expand it.
src/router/config.js
View file @
e5916c22
...
@@ -1427,6 +1427,14 @@ export default {
...
@@ -1427,6 +1427,14 @@ export default {
title
:
'团控列表'
title
:
'团控列表'
},
},
},
},
{
path
:
'/priceIncomeConfirmInfo'
,
///priceIncomeConfirmInfo
name
:
'priceIncomeConfirmInfo'
,
component
:
resolve
=>
require
([
'@/components/TravelManager/TravelList//priceIncomeConfirmInfo'
],
resolve
),
meta
:
{
title
:
'收入确认单'
},
},
{
{
//团控列表 自主开团
//团控列表 自主开团
path
:
'/TravelControlListSale'
,
path
:
'/TravelControlListSale'
,
...
...
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