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
0a83fa59
Commit
0a83fa59
authored
May 16, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
11878386
b505a8bd
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
844 additions
and
593 deletions
+844
-593
leaderReimbursement.vue
src/components/LeaderManagement/leaderReimbursement.vue
+719
-546
TicketManager.vue
src/components/Ticketing/TicketManager.vue
+2
-2
RegistrationList.vue
src/components/TravelManager/TravelList/RegistrationList.vue
+21
-13
TeamBalancePayment.vue
...omponents/TravelManager/TravelList/TeamBalancePayment.vue
+28
-23
TravelControlList.vue
...components/TravelManager/TravelList/TravelControlList.vue
+2
-1
CouponList.vue
src/components/activity/CouponList.vue
+29
-1
busHandBook.vue
src/components/busManagement/busHandBook.vue
+40
-4
dmcTotalTable.vue
src/components/dmc/manager/dmcTotalTable.vue
+3
-3
No files found.
src/components/LeaderManagement/leaderReimbursement.vue
View file @
0a83fa59
<
template
>
<div
class=
"mb30"
v-loading=
'loading'
>
<table
class=
"leaderReimbursementTableNav"
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
>
<table
class=
"leaderReimbursementTableNav"
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
>
<tr>
<th
width=
"8%"
>
出发地
</th>
<th
width=
"30%"
>
行程名称
</th>
...
...
@@ -34,413 +34,417 @@
</table>
<table
class=
"leaderReimbursementTable"
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
>
<tbody>
<tr
class=
"title"
>
<td
width=
"80"
class=
"bgwhite"
:rowspan=
"list.BusList.length+1"
>
车辆使用
</td>
<td
width=
"100"
>
使用时间
</td>
<td
width=
"80"
>
司机姓名
</td>
<td
width=
"80"
>
司机电话
</td>
<td
width=
"100"
>
车配号
</td>
<td
width=
"100"
>
车辆号
</td>
<td
width=
"60"
>
用车方式
</td>
<td
width=
"60"
>
车费
</td>
<td
width=
"120"
>
车费付款方式
</td>
<td
width=
"80"
>
高速公路费
</td>
<td
width=
"120"
>
高速费用付款方式
</td>
<td
width=
"60"
>
停车费
</td>
<td
width=
"60"
>
金额小计
</td>
<td
width=
"60"
>
总金额
</td>
<td
width=
"100"
>
备注
</td>
<td
width=
"60"
>
凭证
</td>
</tr>
<tr
v-for=
'(item,index) in list.BusList'
>
<td>
{{
item
.
PlanDateStr
}}
</td>
<td>
{{
item
.
DriverName
}}
</td>
<td>
{{
item
.
DriverTel
}}
</td>
<td>
{{
item
.
BusCode
}}
</td>
<td>
{{
item
.
BusNum
}}
</td>
<td>
<span
v-if=
'index==0'
>
接机
</span>
<span
v-if=
'index!=0&&index!=list.BusList.length-1'
>
{{
item
.
AirportPickUpStr
}}
</span>
<span
v-if=
'index==list.BusList.length-1'
>
送机
</span>
</td>
<td>
{{
moneyFormat
(
item
.
CostPrice
)
}}
</td>
<td>
<span
v-if=
"item.PayType === 1"
>
现付
</span>
<span
v-else-if=
"item.PayType === 2"
>
公司结算
</span>
<span
v-else-if=
"item.PayType === 3"
>
预付
</span>
<span
v-else
>
暂无
</span>
</td>
<td>
{{
moneyFormat
(
item
.
HighSpeedPrice
)
}}
</td>
<td>
<span
v-if=
"item.HighSpeedPayType === 1"
>
现付
</span>
<span
v-else-if=
"item.HighSpeedPayType === 2"
>
公司结算
</span>
<span
v-else-if=
"item.HighSpeedPayType === 3"
>
预付
</span>
<span
v-else
>
暂无
</span>
</td>
<td>
{{
moneyFormat
(
item
.
StopPrice
)
}}
</td>
<td>
{{
moneyFormat
(
Number
(
item
.
CostPrice
)
+
Number
(
item
.
StopPrice
))
}}
</td>
<td
v-if=
'index==0'
:rowspan=
'list.BusList.length'
>
{{
busTotalPrice
(
list
.
BusList
)
}}
</td>
<td>
{{
item
.
Remarks
}}
</td>
<td>
<div
class=
"uploadListDiv ownScrollbarStyle"
>
<p
v-for=
"(img,index) in item.VoucherPicList"
@
click=
"analyzeItem(item.VoucherPicList,index)"
>
{{
img
.
FileName
}}
</p>
</div>
</td>
</tr>
<tr>
<td>
总金额
</td>
<td
colspan=
"7"
>
{{
moneyFormat
(
TotalNav
.
reimburseTotalPrice
.
SelfPayingExpendTotalPrice
)
}}
</td>
<td>
签单/预付/抵扣总金额
</td>
<td
colspan=
"7"
>
{{
moneyFormat
(
TotalNav
.
reimburseTotalPrice
.
SelfPayingIncomeTotalPrice
)
}}
</td>
</tr>
<tr
class=
"title"
>
<td
width=
"80"
class=
"bgwhite"
:rowspan=
"list.BusList.length+1"
>
车辆使用
</td>
<td
width=
"100"
>
使用时间
</td>
<td
width=
"80"
>
司机姓名
</td>
<td
width=
"80"
>
司机电话
</td>
<td
width=
"100"
>
车配号
</td>
<td
width=
"100"
>
车辆号
</td>
<td
width=
"60"
>
用车方式
</td>
<td
width=
"60"
>
车费
</td>
<td
width=
"120"
>
车费付款方式
</td>
<td
width=
"80"
>
高速公路费
</td>
<td
width=
"120"
>
高速费用付款方式
</td>
<td
width=
"60"
>
停车费
</td>
<td
width=
"60"
>
金额小计
</td>
<td
width=
"60"
>
总金额
</td>
<td
width=
"100"
>
备注
</td>
<td
width=
"60"
>
凭证
</td>
</tr>
<tr
v-for=
'(item,index) in list.BusList'
>
<td>
{{
item
.
PlanDateStr
}}
</td>
<td>
{{
item
.
DriverName
}}
</td>
<td>
{{
item
.
DriverTel
}}
</td>
<td>
{{
item
.
BusCode
}}
</td>
<td>
{{
item
.
BusNum
}}
</td>
<td>
<span
v-if=
'index==0'
>
接机
</span>
<span
v-if=
'index!=0&&index!=list.BusList.length-1'
>
{{
item
.
AirportPickUpStr
}}
</span>
<span
v-if=
'index==list.BusList.length-1'
>
送机
</span>
</td>
<td>
{{
moneyFormat
(
item
.
CostPrice
)
}}
</td>
<td>
<span
v-if=
"item.PayType === 1"
>
现付
</span>
<span
v-else-if=
"item.PayType === 2"
>
公司结算
</span>
<span
v-else-if=
"item.PayType === 3"
>
预付
</span>
<span
v-else
>
暂无
</span>
</td>
<td>
{{
moneyFormat
(
item
.
HighSpeedPrice
)
}}
</td>
<td>
<span
v-if=
"item.HighSpeedPayType === 1"
>
现付
</span>
<span
v-else-if=
"item.HighSpeedPayType === 2"
>
公司结算
</span>
<span
v-else-if=
"item.HighSpeedPayType === 3"
>
预付
</span>
<span
v-else
>
暂无
</span>
</td>
<td>
{{
moneyFormat
(
item
.
StopPrice
)
}}
</td>
<td>
{{
moneyFormat
(
Number
(
item
.
CostPrice
)
+
Number
(
item
.
StopPrice
))
}}
</td>
<td
v-if=
'index==0'
:rowspan=
'list.BusList.length'
>
{{
busTotalPrice
(
list
.
BusList
)
}}
</td>
<td>
{{
item
.
Remarks
}}
</td>
<td>
<div
class=
"uploadListDiv ownScrollbarStyle"
>
<p
v-for=
"(img,index) in item.VoucherPicList"
@
click=
"analyzeItem(item.VoucherPicList,index)"
>
{{
img
.
FileName
}}
</p>
</div>
</td>
</tr>
<tr>
<td>
总金额
</td>
<td
colspan=
"7"
>
{{
moneyFormat
(
TotalNav
.
reimburseTotalPrice
.
SelfPayingExpendTotalPrice
)
}}
</td>
<td>
签单/预付/抵扣总金额
</td>
<td
colspan=
"7"
>
{{
moneyFormat
(
TotalNav
.
reimburseTotalPrice
.
SelfPayingIncomeTotalPrice
)
}}
</td>
</tr>
</tbody>
</table>
<table
class=
"leaderReimbursementTable"
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
>
<tbody>
<tr
class=
"title"
>
<td
width=
"80"
class=
"bgwhite"
:rowspan=
"list.HotelOrderListReport.length+1"
>
酒店使用
</td>
<td
width=
"100"
>
使用时间
</td>
<td
width=
"180"
style=
"line-height: inherit;"
>
酒店名称
</td>
<td
width=
"100"
>
占床/不占床
</td>
<td
width=
"80"
>
实际用房数
</td>
<td
width=
""
>
房间类型
</td>
<td
width=
""
>
房间数
</td>
<td
width=
"80"
>
预定人数
</td>
<td
width=
"80"
>
免费人数
</td>
<td
width=
""
>
单价/人
</td>
<td
width=
""
>
金额小计
</td>
<td
width=
""
>
返佣
</td>
<td
width=
""
>
总金额
</td>
<td
width=
""
>
付款方式
</td>
<td
width=
"100"
>
备注
</td>
</tr>
<tr
class=
"title"
>
<td
width=
"80"
class=
"bgwhite"
:rowspan=
"list.HotelOrderListReport.length+1"
>
酒店使用
</td>
<td
width=
"100"
>
使用时间
</td>
<td
width=
"180"
style=
"line-height: inherit;"
>
酒店名称
</td>
<td
width=
"100"
>
占床/不占床
</td>
<td
width=
"80"
>
实际用房数
</td>
<td
width=
""
>
房间类型
</td>
<td
width=
""
>
房间数
</td>
<td
width=
"80"
>
预定人数
</td>
<td
width=
"80"
>
免费人数
</td>
<td
width=
""
>
单价/人
</td>
<td
width=
""
>
金额小计
</td>
<td
width=
""
>
返佣
</td>
<td
width=
""
>
总金额
</td>
<td
width=
""
>
付款方式
</td>
<td
width=
"100"
>
备注
</td>
</tr>
<tr
class=
"HotelTr"
v-for=
'(outItem,outIndex) in list.HotelOrderListReport'
>
<td>
{{
outItem
.
UseTimeStr
}}
</td>
<td>
<div
v-for=
"subItem in outItem.HotelOrderList"
style=
"line-height: inherit;"
>
{{
subItem
.
HotelName
}}
<p
class=
"cursorpointer"
style=
"margin-top:5px;color: blue;"
>
<a
v-if=
"subItem.ContractUrl"
target=
"_blank"
:href=
"subItem.ContractUrl"
>
手配书
</a>
</p>
</div>
</td>
<td>
<div
v-for=
"subItem in outItem.HotelOrderList"
>
{{
subItem
.
HouseStatistics
.
NeedBed
}}
/
{{
subItem
.
HouseStatistics
.
NoNeedBed
}}
</div>
</td>
<td>
<div
v-for=
"subItem in outItem.HotelOrderList"
>
{{
subItem
.
HouseStatistics
.
RealityRoomNum
}}
</div>
</td>
<td>
<div
class=
"alcenter"
>
<div
v-for=
"subItem in outItem.HotelOrderList"
>
<p
v-for=
"childItem in subItem.HouseStatistics.HouseTypeList"
>
{{
childItem
.
HouseTypeName
}}
<tr
class=
"HotelTr"
v-for=
'(outItem,outIndex) in list.HotelOrderListReport'
>
<td>
{{
outItem
.
UseTimeStr
}}
</td>
<td>
<div
v-for=
"subItem in outItem.HotelOrderList"
style=
"line-height: inherit;"
>
{{
subItem
.
HotelName
}}
<p
class=
"cursorpointer"
style=
"margin-top:5px;color: blue;"
>
<a
v-if=
"subItem.ContractUrl"
target=
"_blank"
:href=
"subItem.ContractUrl"
>
手配书
</a>
</p>
</div>
</div>
</td>
<td>
<div
class=
"alcenter"
>
</td>
<td>
<div
v-for=
"subItem in outItem.HotelOrderList"
>
{{
subItem
.
HouseStatistics
.
NeedBed
}}
/
{{
subItem
.
HouseStatistics
.
NoNeedBed
}}
</div>
</td>
<td>
<div
v-for=
"subItem in outItem.HotelOrderList"
>
{{
subItem
.
HouseStatistics
.
RealityRoomNum
}}
</div>
</td>
<td>
<div
class=
"alcenter"
>
<div
v-for=
"subItem in outItem.HotelOrderList"
>
<p
v-for=
"childItem in subItem.HouseStatistics.HouseTypeList"
>
{{
childItem
.
HouseTypeName
}}
</p>
</div>
</div>
</td>
<td>
<div
class=
"alcenter"
>
<div
class=
"alcenter"
>
<div
v-for=
"subItem in outItem.HotelOrderList"
>
<p
v-for=
"childItem in subItem.OrderDetailsList"
>
{{
childItem
.
HouseTypeCount
}}
</p>
</div>
</div>
</div>
</td>
<td>
<div
class=
"alcenter"
>
<div
v-for=
"subItem in outItem.HotelOrderList"
>
<p
v-for=
"childItem in subItem.OrderDetailsList"
>
{{
childItem
.
HouseTypeCount
}}
{{
childItem
.
BookNum
}}
</p>
</div>
</div>
</
div
>
</
td>
<td
>
<div
class=
"alcenter
"
>
<div
v-for=
"subItem in outItem.HotelOrder
List"
>
<p
v-for=
"childItem in subItem.OrderDetailsList"
>
{{
childItem
.
BookNum
}}
</
p
>
</
td
>
<
td>
<div
class=
"alcenter"
>
<div
v-for=
"subItem in outItem.HotelOrderList
"
>
<p
v-for=
"childItem in subItem.OrderDetails
List"
>
{{
childItem
.
HotelDiscount
}}
</p>
</
div
>
</div>
</div>
</td>
<td>
<div
class=
"alcenter"
>
<div
v-for=
"subItem in outItem.HotelOrderList"
>
<p
v-for=
"childItem in subItem.OrderDetailsList"
>
{{
childItem
.
HotelDiscount
}}
</p>
</td>
<td>
<div
class=
"alcenter"
>
<div
v-for=
"subItem in outItem.HotelOrderList"
>
<p
v-for=
"childItem in subItem.OrderDetailsList"
class=
"cursorpointer text-decoration"
@
click=
"goHotelDetail(subItem.TCID, subItem.NewCombinationNum, subItem.TCNUM, 'roomReservationsDetails')"
>
{{
moneyFormat
(
childItem
.
UnitPrice
)
}}
</p>
</div>
</div>
</
div
>
</
td>
<td
>
<div
class=
"alcenter
"
>
<div
v-for=
"subItem in outItem.HotelOrder
List"
>
<p
v-for=
"childItem in subItem.OrderDetailsList"
class=
"cursorpointer text-decoration"
@
click=
"goHotelDetail(subItem.TCID, subItem.NewCombinationNum, subItem.TCNUM, 'roomReservationsDetails')"
>
{{
moneyFormat
(
childItem
.
UnitPrice
)
}}
</
p
>
</
td
>
<
td>
<div
class=
"alcenter"
>
<div
v-for=
"subItem in outItem.HotelOrderList
"
>
<p
v-for=
"childItem in subItem.OrderDetails
List"
>
{{
moneyFormat
(
childItem
.
UnitPrice
*
(
childItem
.
BookNum
-
childItem
.
HotelDiscount
))
}}
</p>
</
div
>
</div>
</
div
>
</
td>
<td
>
<div
class=
"alcenter
"
>
<div
v-for=
"subItem in outItem.HotelOrder
List"
>
<p
v-for=
"childItem in subItem.OrderDetailsList"
>
{{
moneyFormat
(
childItem
.
UnitPrice
*
(
childItem
.
BookNum
-
childItem
.
HotelDiscount
))
}}
</
p
>
</
td
>
<
td>
<div
class=
"alcenter"
>
<div
v-for=
"subItem in outItem.HotelOrderList
"
>
<p
v-for=
"childItem in subItem.OrderDetails
List"
>
{{
childItem
.
RebateRatio
}}
%
</p>
</
div
>
</div>
</div>
</td>
<td>
<div
class=
"alcenter"
>
<div
v-for=
"subItem in outItem.HotelOrderList"
>
<p
v-for=
"childItem in subItem.OrderDetailsList"
>
{{
childItem
.
RebateRatio
}}
%
</p>
</td>
<td>
<div
class=
"alcenter"
>
<div
v-for=
"subItem in outItem.HotelOrderList"
>
{{
hotelTotalPrice
(
subItem
.
OrderDetailsList
)
}}
</div>
</div>
</div>
</td>
<td>
<div
class=
"alcenter"
>
</td>
<td>
<div
v-for=
"subItem in outItem.HotelOrderList"
>
{{
hotelTotalPrice
(
subItem
.
OrderDetailsList
)
}}
<span
v-if=
"subItem.PayStyle === 1"
>
现付
</span>
<span
v-else-if=
"subItem.PayStyle === 2"
>
签单
</span>
<span
v-else-if=
"subItem.PayStyle === 4"
>
预付
</span>
<span
v-else-if=
"subItem.PayStyle === 5"
>
实物抵扣
</span>
<span
v-else
>
暂无
</span>
</div>
</div>
</td>
<td>
<div
v-for=
"subItem in outItem.HotelOrderList"
>
<span
v-if=
"subItem.PayStyle === 1"
>
现付
</span>
<span
v-else-if=
"subItem.PayStyle === 2"
>
签单
</span>
<span
v-else-if=
"subItem.PayStyle === 4"
>
预付
</span>
<span
v-else-if=
"subItem.PayStyle === 5"
>
实物抵扣
</span>
<span
v-else
>
暂无
</span>
</div>
</td>
<td>
<div
class=
"alcenter"
>
<div
v-for=
"subItem in outItem.HotelOrderList"
>
<p>
{{
subItem
.
Remarks
}}
</p>
</td>
<td>
<div
class=
"alcenter"
>
<div
v-for=
"subItem in outItem.HotelOrderList"
>
<p>
{{
subItem
.
Remarks
}}
</p>
</div>
</div>
</div>
</td>
</tr>
<tr>
<td>
总金额
</td>
<td
colspan=
"6"
>
{{
moneyFormat
(
TotalNav
.
reimburseTotalPrice
.
ExpendTotalPrice
)
}}
</td>
<td>
签单/预付/抵扣总金额
</td>
<td
colspan=
"7"
>
{{
moneyFormat
(
TotalNav
.
reimburseTotalPrice
.
BalanceTotalPrice
)
}}
</td>
</tr>
</td>
</tr>
<tr>
<td>
总金额
</td>
<td
colspan=
"6"
>
{{
moneyFormat
(
TotalNav
.
reimburseTotalPrice
.
ExpendTotalPrice
)
}}
</td>
<td>
签单/预付/抵扣总金额
</td>
<td
colspan=
"7"
>
{{
moneyFormat
(
TotalNav
.
reimburseTotalPrice
.
BalanceTotalPrice
)
}}
</td>
</tr>
</tbody>
</table>
<table
class=
"leaderReimbursementTable"
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
>
<tbody>
<tr
class=
"title"
>
<td
width=
"80"
class=
"bgwhite"
:rowspan=
"list.DiningList.length+1"
>
餐食使用
</td>
<td
width=
"100"
>
使用时间
</td>
<td
width=
"180"
style=
"line-height: inherit;"
>
餐厅名称
</td>
<td
width=
"100"
>
类别
</td>
<td
width=
""
>
用餐人数
</td>
<td
width=
"80"
>
免费人数
</td>
<td
width=
""
>
单价
</td>
<td
width=
""
>
金额小计
</td>
<td
width=
""
>
返佣
</td>
<td
width=
""
>
总金额
</td>
<td
width=
""
>
付款方式
</td>
<td
width=
"100"
>
备注
</td>
</tr>
<tr
class=
"splitP ScenicTr"
v-for=
'(item,index) in list.DiningList'
>
<td>
{{
item
.
UseTimeStr
}}
</td>
<td>
<p
style=
"height: 60px!important; display: flex;align-items: center; padding:0 20px;"
v-for=
"subItem in item.DiningSummaryList"
>
{{
subItem
.
RealName
?
subItem
.
RealName
:
subItem
.
DiningName
}}
</p>
</td>
<td>
<p
style=
"height: 60px!important; line-height: 60px;"
v-for=
"subItem in item.DiningSummaryList"
>
{{
subItem
.
UseDinnerTypeStr
}}
</p>
</td>
<td
valign=
"top"
>
<div
v-for=
"subItem in item.DiningSummaryList"
>
<p
v-for=
"childItem in subItem.DiningPriceList"
>
{{
peopleStrToWord
(
childItem
.
PeopleType
)
}}
:
{{
childItem
.
PeopleNum
}}
<tr
class=
"title"
>
<td
width=
"80"
class=
"bgwhite"
:rowspan=
"list.DiningList.length+1"
>
餐食使用
</td>
<td
width=
"100"
>
使用时间
</td>
<td
width=
"180"
style=
"line-height: inherit;"
>
餐厅名称
</td>
<td
width=
"100"
>
类别
</td>
<td
width=
""
>
用餐人数
</td>
<td
width=
"80"
>
免费人数
</td>
<td
width=
""
>
单价
</td>
<td
width=
""
>
金额小计
</td>
<td
width=
""
>
返佣
</td>
<td
width=
""
>
总金额
</td>
<td
width=
""
>
付款方式
</td>
<td
width=
"100"
>
备注
</td>
</tr>
<tr
class=
"splitP ScenicTr"
v-for=
'(item,index) in list.DiningList'
>
<td>
{{
item
.
UseTimeStr
}}
</td>
<td>
<p
style=
"height: 60px!important; display: flex;align-items: center; padding:0 20px;"
v-for=
"subItem in item.DiningSummaryList"
>
{{
subItem
.
RealName
?
subItem
.
RealName
:
subItem
.
DiningName
}}
</p>
</div>
</td>
<td>
<div
v-for=
"subItem in item.DiningSummaryList"
>
<p
v-for=
"childItem in subItem.DiningPriceList"
>
{{
childItem
.
Discount
}}
</td>
<td>
<p
style=
"height: 60px!important; line-height: 60px;"
v-for=
"subItem in item.DiningSummaryList"
>
{{
subItem
.
UseDinnerTypeStr
}}
</p>
</div>
</td>
<td>
<div
v-for=
"subItem in item.DiningSummaryList"
>
<p
v-for=
"childItem in subItem.DiningPriceList"
class=
"cursorpointer text-decoration"
@
click=
"goHotelDetail(subItem.TCID, subItem.NewCombinationNum, subItem.TCNUM, 'bookDinnerStatisticsDetails')"
>
{{
moneyFormat
(
childItem
.
PeoplePrice
)
}}
</p>
</div>
</td>
<td>
<div
v-for=
"subItem in item.DiningSummaryList"
>
<p
v-for=
"childItem in subItem.DiningPriceList"
>
{{
moneyFormat
((
childItem
.
PeopleNum
-
childItem
.
Discount
)
*
childItem
.
PeoplePrice
)
}}
</p>
</div>
</td>
<td>
<div
v-for=
"subItem in item.DiningSummaryList"
>
<p
v-for=
"childItem in subItem.DiningPriceList"
>
{{
childItem
.
DiscountPrice
}}
%
</p>
</div>
</td>
<td>
<div
v-for=
"subItem in item.DiningSummaryList"
>
{{
diningTotalPrice
(
subItem
.
DiningPriceList
)
}}
</div>
</td>
<td>
<div
v-for=
"subItem in item.DiningSummaryList"
>
<span
v-if=
"subItem.PayStyle === 1"
>
现付
</span>
<span
v-else-if=
"subItem.PayStyle === 2"
>
公司结算
</span>
<span
v-else-if=
"subItem.PayStyle === 3"
>
预付
</span>
<span
v-else
>
暂无
</span>
</div>
</td>
<td>
{{
item
.
Remarks
}}
</td>
</tr>
<tr>
<td>
总金额
</td>
<td
colspan=
"5"
>
{{
moneyFormat
(
TotalNav
.
reimburseTotalPrice
.
IncomeTotalPrice
)
}}
</td>
<td>
签单/预付/抵扣总金额
</td>
<td
colspan=
"5"
>
{{
moneyFormat
(
TotalNav
.
reimburseTotalPrice
.
TipTotalPrice
)
}}
</td>
</tr>
</td>
<td
valign=
"top"
>
<div
v-for=
"subItem in item.DiningSummaryList"
>
<p
v-for=
"childItem in subItem.DiningPriceList"
>
{{
peopleStrToWord
(
childItem
.
PeopleType
)
}}
:
{{
childItem
.
PeopleNum
}}
</p>
</div>
</td>
<td>
<div
v-for=
"subItem in item.DiningSummaryList"
>
<p
v-for=
"childItem in subItem.DiningPriceList"
>
{{
childItem
.
Discount
}}
</p>
</div>
</td>
<td>
<div
v-for=
"subItem in item.DiningSummaryList"
>
<p
v-for=
"childItem in subItem.DiningPriceList"
class=
"cursorpointer text-decoration"
@
click=
"goHotelDetail(subItem.TCID, subItem.NewCombinationNum, subItem.TCNUM, 'bookDinnerStatisticsDetails')"
>
{{
moneyFormat
(
childItem
.
PeoplePrice
)
}}
</p>
</div>
</td>
<td>
<div
v-for=
"subItem in item.DiningSummaryList"
>
<p
v-for=
"childItem in subItem.DiningPriceList"
>
{{
moneyFormat
((
childItem
.
PeopleNum
-
childItem
.
Discount
)
*
childItem
.
PeoplePrice
)
}}
</p>
</div>
</td>
<td>
<div
v-for=
"subItem in item.DiningSummaryList"
>
<p
v-for=
"childItem in subItem.DiningPriceList"
>
{{
childItem
.
DiscountPrice
}}
%
</p>
</div>
</td>
<td>
<div
v-for=
"subItem in item.DiningSummaryList"
>
{{
diningTotalPrice
(
subItem
.
DiningPriceList
)
}}
</div>
</td>
<td>
<div
v-for=
"subItem in item.DiningSummaryList"
>
<span
v-if=
"subItem.PayStyle === 1"
>
现付
</span>
<span
v-else-if=
"subItem.PayStyle === 2"
>
公司结算
</span>
<span
v-else-if=
"subItem.PayStyle === 3"
>
预付
</span>
<span
v-else
>
暂无
</span>
</div>
</td>
<td>
{{
item
.
Remarks
}}
</td>
</tr>
<tr>
<td>
总金额
</td>
<td
colspan=
"5"
>
{{
moneyFormat
(
TotalNav
.
reimburseTotalPrice
.
IncomeTotalPrice
)
}}
</td>
<td>
签单/预付/抵扣总金额
</td>
<td
colspan=
"5"
>
{{
moneyFormat
(
TotalNav
.
reimburseTotalPrice
.
TipTotalPrice
)
}}
</td>
</tr>
</tbody>
</table>
<table
class=
"leaderReimbursementTable"
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
>
<tbody>
<tr
class=
"title"
>
<td
width=
"80"
class=
"bgwhite"
:rowspan=
"list.ScenicList.length+1"
>
门票使用
</td>
<td
width=
"100"
>
使用时间
</td>
<td
width=
"180"
style=
"line-height: inherit;"
>
景点名称
</td>
<td
width=
"100"
>
总人数
</td>
<td
width=
""
>
门票类别
</td>
<td
width=
"80"
>
免费人数
</td>
<td
width=
""
>
单价
</td>
<td
width=
""
>
金额小计
</td>
<td
width=
""
>
返佣
</td>
<td
width=
""
>
总金额
</td>
<td
width=
""
>
付款方式
</td>
<td
width=
"100"
>
备注
</td>
</tr>
<tr
class=
"splitP ScenicTr"
v-for=
'(item,index) in list.ScenicList'
>
<td>
{{
item
.
UseTimeStr
}}
</td>
<td>
<div
style=
"line-height: inherit; height: auto;"
v-for=
"subItem in item.ScenicStatisticsList"
>
{{
subItem
.
ScenicName
}}
</div>
</td>
<td>
<div
v-for=
"subItem in item.ScenicStatisticsList"
>
{{
subItem
.
UseAccount
}}
</div>
</td>
<td>
<div
v-for=
"subItem in item.ScenicStatisticsList"
>
<p
v-for=
"o in subItem.TicketPriceList"
>
{{
peopleStrToWord
(
o
.
PeopleType
)
}}
:
{{
o
.
PeopleNum
}}
</p>
</div>
</td>
<td>
<div
v-for=
"subItem in item.ScenicStatisticsList"
>
<p
v-for=
"o in subItem.TicketPriceList"
>
{{
o
.
Discount
}}
</p>
</div>
</td>
<td>
<div
v-for=
"subItem in item.ScenicStatisticsList"
>
<p
v-for=
"o in subItem.TicketPriceList"
class=
"cursorpointer text-decoration"
@
click=
"goHotelDetail(subItem.TCID, subItem.NewCombinationNum, subItem.TCNUM, 'admissionStatisticsDetails')"
>
{{
moneyFormat
(
o
.
PeoplePrice
)
}}
</p>
</div>
</td>
<td>
<div
v-for=
"subItem in item.ScenicStatisticsList"
>
<p
v-for=
"o in subItem.TicketPriceList"
>
{{
moneyFormat
((
o
.
UsePeopleNum
-
o
.
Discount
)
*
o
.
PeoplePrice
)
}}
</p>
</div>
</td>
<td>
<div
v-for=
"subItem in item.ScenicStatisticsList"
>
<p
v-for=
"o in subItem.TicketPriceList"
>
{{
o
.
DiscountPrice
}}
%
</p>
</div>
</td>
<td>
<div
v-for=
"subItem in item.ScenicStatisticsList"
>
{{
scenicTotalPrice
(
subItem
.
TicketPriceList
)
}}
</div>
</td>
<td>
<div
v-for=
"subItem in item.ScenicStatisticsList"
>
<span
v-if=
"subItem.PayStyle === 1"
>
现付
</span>
<span
v-else-if=
"subItem.PayStyle === 2"
>
公司结算
</span>
<span
v-else-if=
"subItem.PayStyle === 3"
>
预付
</span>
<span
v-else
>
暂无
</span>
</div>
</td>
<td>
<div
style=
"padding: 0 10px;"
v-for=
"subItem in item.ScenicStatisticsList"
>
{{
item
.
Remarks
}}
</div>
</td>
</tr>
<tr>
<td>
总金额
</td>
<td
colspan=
"5"
>
{{
moneyFormat
(
TotalNav
.
reimburseTotalPrice
.
OtherTotalPrice
)
}}
</td>
<td>
签单/预付/抵扣总金额
</td>
<td
colspan=
"5"
>
{{
moneyFormat
(
TotalNav
.
reimburseTotalPrice
.
PlanTotalPrice
)
}}
</td>
</tr>
<tr
class=
"title"
>
<td
width=
"80"
class=
"bgwhite"
:rowspan=
"list.ScenicList.length+1"
>
门票使用
</td>
<td
width=
"100"
>
使用时间
</td>
<td
width=
"180"
style=
"line-height: inherit;"
>
景点名称
</td>
<td
width=
"100"
>
总人数
</td>
<td
width=
""
>
门票类别
</td>
<td
width=
"80"
>
免费人数
</td>
<td
width=
""
>
单价
</td>
<td
width=
""
>
金额小计
</td>
<td
width=
""
>
返佣
</td>
<td
width=
""
>
总金额
</td>
<td
width=
""
>
付款方式
</td>
<td
width=
"100"
>
备注
</td>
</tr>
<tr
class=
"splitP ScenicTr"
v-for=
'(item,index) in list.ScenicList'
>
<td>
{{
item
.
UseTimeStr
}}
</td>
<td>
<div
style=
"line-height: inherit; height: auto;"
v-for=
"subItem in item.ScenicStatisticsList"
>
{{
subItem
.
ScenicName
}}
</div>
</td>
<td>
<div
v-for=
"subItem in item.ScenicStatisticsList"
>
{{
subItem
.
UseAccount
}}
</div>
</td>
<td>
<div
v-for=
"subItem in item.ScenicStatisticsList"
>
<p
v-for=
"o in subItem.TicketPriceList"
>
{{
peopleStrToWord
(
o
.
PeopleType
)
}}
:
{{
o
.
PeopleNum
}}
</p>
</div>
</td>
<td>
<div
v-for=
"subItem in item.ScenicStatisticsList"
>
<p
v-for=
"o in subItem.TicketPriceList"
>
{{
o
.
Discount
}}
</p>
</div>
</td>
<td>
<div
v-for=
"subItem in item.ScenicStatisticsList"
>
<p
v-for=
"o in subItem.TicketPriceList"
class=
"cursorpointer text-decoration"
@
click=
"goHotelDetail(subItem.TCID, subItem.NewCombinationNum, subItem.TCNUM, 'admissionStatisticsDetails')"
>
{{
moneyFormat
(
o
.
PeoplePrice
)
}}
</p>
</div>
</td>
<td>
<div
v-for=
"subItem in item.ScenicStatisticsList"
>
<p
v-for=
"o in subItem.TicketPriceList"
>
{{
moneyFormat
((
o
.
UsePeopleNum
-
o
.
Discount
)
*
o
.
PeoplePrice
)
}}
</p>
</div>
</td>
<td>
<div
v-for=
"subItem in item.ScenicStatisticsList"
>
<p
v-for=
"o in subItem.TicketPriceList"
>
{{
o
.
DiscountPrice
}}
%
</p>
</div>
</td>
<td>
<div
v-for=
"subItem in item.ScenicStatisticsList"
>
{{
scenicTotalPrice
(
subItem
.
TicketPriceList
)
}}
</div>
</td>
<td>
<div
v-for=
"subItem in item.ScenicStatisticsList"
>
<span
v-if=
"subItem.PayStyle === 1"
>
现付
</span>
<span
v-else-if=
"subItem.PayStyle === 2"
>
公司结算
</span>
<span
v-else-if=
"subItem.PayStyle === 3"
>
预付
</span>
<span
v-else
>
暂无
</span>
</div>
</td>
<td>
<div
style=
"padding: 0 10px;"
v-for=
"subItem in item.ScenicStatisticsList"
>
{{
item
.
Remarks
}}
</div>
</td>
</tr>
<tr>
<td>
总金额
</td>
<td
colspan=
"5"
>
{{
moneyFormat
(
TotalNav
.
reimburseTotalPrice
.
OtherTotalPrice
)
}}
</td>
<td>
签单/预付/抵扣总金额
</td>
<td
colspan=
"5"
>
{{
moneyFormat
(
TotalNav
.
reimburseTotalPrice
.
PlanTotalPrice
)
}}
</td>
</tr>
</tbody>
</table>
<table
class=
"leaderReimbursementTable"
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
>
...
...
@@ -451,25 +455,34 @@
<th>
财务单号
</th>
<th>
操作
</th>
</tr>
<tr
v-for=
'(item, index) in nav'
>
<td
:rowspan=
"nav.length"
width=
"180"
v-if=
"index===0"
>
总金额:
{{
moneyFormat
(
TotalNav
.
reimburseTotalPrice
.
PlanPrice
)
}}
</td>
<tr
v-for=
'(item, index) in nav'
>
<td
:rowspan=
"nav.length"
width=
"180"
v-if=
"index===0"
>
总金额:
{{
moneyFormat
(
TotalNav
.
reimburseTotalPrice
.
PlanPrice
)
}}
</td>
<td>
{{
item
.
TCNUMS
}}
</td>
<td
style=
"display: flex;align-items: center;padding: 5px 20px; height: 40px;"
>
<p
style=
"padding-right: 20px;"
v-if=
"item.LeaderGetPrice>0"
>
已领款:
<span
style=
"color: red;"
>
{{
moneyFormat
(
item
.
LeaderGetPrice
)
}}
</span></p>
<el-input
v-if=
"item.LeaderGetPrice
<
(
TotalNav
.
reimburseTotalPrice
.
PlanPrice
*
0
.
95
)"
class=
"w300"
type=
"number"
v-model=
"item.LeaderGetPriceT"
></el-input>
<p
style=
"padding-right: 20px;"
v-if=
"item.LeaderGetPrice>0"
>
已领款:
<span
style=
"color: red;"
>
{{
moneyFormat
(
item
.
LeaderGetPrice
)
}}
</span></p>
<el-input
v-if=
"item.LeaderGetPrice
<
(
TotalNav
.
reimburseTotalPrice
.
PlanPrice
*
0
.
95
)"
class=
"w300"
type=
"number"
v-model=
"item.LeaderGetPriceT"
></el-input>
</td>
<td>
<p
v-for=
"(subItem, subIndex) in item.FinanceIds"
><span
class=
"cursorpointer text-decoration"
@
click=
"goFncUrl('FinancialDocumentsDetail', subItem.FinanceId)"
>
{{
subItem
.
FinanceId
}}
</span>
<span
class=
"cursorpointer text-decoration"
@
click=
"goFncUrl('Application', subItem.FinanceId)"
v-if=
"subItem.IsPublic === 4"
>
申请书
</span>
<span
class=
"cursorpointer text-decoration"
@
click=
"goFncUrl('DebitNote', subItem.FinanceId)"
>
借支单
</span></p>
<p
v-for=
"(subItem, subIndex) in item.FinanceIds"
><span
class=
"cursorpointer text-decoration"
@
click=
"goFncUrl('FinancialDocumentsDetail', subItem.FinanceId)"
>
{{
subItem
.
FinanceId
}}
</span>
<span
class=
"cursorpointer text-decoration"
@
click=
"goFncUrl('Application', subItem.FinanceId)"
v-if=
"subItem.IsPublic === 4"
>
申请书
</span>
<span
class=
"cursorpointer text-decoration"
@
click=
"goFncUrl('DebitNote', subItem.FinanceId)"
>
借支单
</span></p>
</td>
<td
width=
"80"
class=
"_zhidan"
>
<input
type=
"button"
v-if=
"isUpdate=='true' && item.LeaderGetPrice
<
(
TotalNav
.
reimburseTotalPrice
.
PlanPrice
*
0
.
95
)"
value=
"制单"
class=
"normalBtn"
@
click=
"goZhiDan(item)"
/>
<input
type=
"button"
v-if=
"isUpdate=='true' && item.LeaderGetPrice
<
(
TotalNav
.
reimburseTotalPrice
.
PlanPrice
*
0
.
95
)"
value=
"制单"
class=
"normalBtn"
@
click=
"goZhiDan(item)"
/>
</td>
</tr>
</table>
<div
v-if=
'picIsShow'
class=
"viewBigPicLayer"
>
<i
class=
"el-icon-circle-close-outline clolseViewBigPicLayer"
@
click=
"picIsShow=false,picObj=[]"
></i>
<el-carousel
height=
"600px"
:initial-index=
'initialIndex'
:interval=
"5000"
trigger=
"click"
>
<el-carousel-item
v-for=
"(item,index) in picObj"
:key=
"index"
>
<el-carousel
height=
"600px"
:initial-index=
'initialIndex'
:interval=
"5000"
trigger=
"click"
>
<el-carousel-item
v-for=
"(item,index) in picObj"
:key=
"index"
>
<div
class=
"inlineDiv ownScrollbarStyle"
><img
:src=
"item"
/></div>
</el-carousel-item>
</el-carousel>
...
...
@@ -480,38 +493,44 @@
<
script
>
export
default
{
data
()
{
data
()
{
return
{
isUpdate
:
'false'
,
loading
:
false
,
defaultSelectValue
:
0
,
initialIndex
:
0
,
picIsShow
:
false
,
picObj
:[],
TemporaryItem
:{},
msg
:{
TCIDs
:
''
,
NewCombinationNum
:
''
isUpdate
:
'false'
,
loading
:
false
,
defaultSelectValue
:
0
,
initialIndex
:
0
,
picIsShow
:
false
,
picObj
:
[],
TemporaryItem
:
{},
msg
:
{
TCIDs
:
''
,
NewCombinationNum
:
''
},
list
:[],
nav
:[],
TravelDayNum
:
0
,
RealityNum
:
0
,
UseCount
:
''
,
list
:
[],
nav
:
[],
TravelDayNum
:
0
,
RealityNum
:
0
,
UseCount
:
''
,
//定团号
NewCombinationNum
:
''
,
NewCombinationNum
:
''
,
TotalNav
:
[],
LeaderGetPrice
:
0
,
}
},
methods
:
{
goFncUrl
:
function
(
path
,
id
)
{
this
.
$router
.
push
({
name
:
path
,
query
:{
"id"
:
id
,
blank
:
'y'
}
})
this
.
$router
.
push
({
name
:
path
,
query
:
{
"id"
:
id
,
blank
:
'y'
}
})
},
goHotelDetail
:
function
(
id
,
num
,
TCNUM
,
path
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
path
,
query
:{
query
:
{
"id"
:
id
,
"NewCombinationNum"
:
num
,
"TCNUM"
:
TCNUM
,
...
...
@@ -522,17 +541,16 @@
goZhiDan
:
function
(
obj
)
{
let
allMoney
=
this
.
TotalNav
.
reimburseTotalPrice
.
PlanPrice
*
0.95
let
totailMoney
=
0
this
.
nav
.
forEach
(
x
=>
{
this
.
nav
.
forEach
(
x
=>
{
totailMoney
+=
parseFloat
(
x
.
LeaderGetPriceT
)
totailMoney
+=
x
.
LeaderGetPrice
})
console
.
log
(
allMoney
,
totailMoney
)
if
((
allMoney
-
totailMoney
)
<
0
)
return
this
.
$message
.
error
(
'最大领款为预付合计金额的95%!'
)
if
(
!
obj
.
LeaderGetPriceT
||
obj
.
LeaderGetPriceT
<=
0
)
return
this
.
$message
.
error
(
'请输入金额!'
)
if
((
allMoney
-
totailMoney
)
<
0
)
return
this
.
$message
.
error
(
'最大领款为预付合计金额的95%!'
)
if
(
!
obj
.
LeaderGetPriceT
||
obj
.
LeaderGetPriceT
<=
0
)
return
this
.
$message
.
error
(
'请输入金额!'
)
let
TCIDARR
=
[
obj
.
TCIDS
]
let
orderObj
=
{
OrderID
:
0
,
OrderSource
:
8
,
OrderSource
:
8
,
Obj
:
{},
SourceID
:
0
,
TCIDList
:
TCIDARR
,
...
...
@@ -540,10 +558,10 @@
Money
:
obj
.
LeaderGetPriceT
,
TCNUMS
:
obj
.
TCNUMS
}
let
id
=
[
43
,
48
]
let
id
=
[
43
,
48
]
this
.
$router
.
push
({
name
:
'ChoiceAddFinancialDocuments'
,
query
:{
query
:
{
"Type"
:
2
,
"templateID"
:
JSON
.
stringify
(
id
),
"companyID"
:
obj
.
OutBranchId
,
...
...
@@ -553,10 +571,10 @@
}
});
},
addOtherList
(
index
,
id
)
{
addOtherList
(
index
,
id
)
{
this
.
list
.
OtherOrderReportList
.
OtherList
.
push
({
OrderType
:
'1'
,
ID
:
0
,
ID
:
0
,
UseDate
:
''
,
CostProject
:
'0'
,
TotalNum
:
'0'
,
...
...
@@ -564,19 +582,19 @@
Rebate
:
'0'
,
TotalPrice
:
'0'
,
Remark
:
''
,
TCIDs
:
this
.
$route
.
query
.
id
,
TCID
:
id
,
UseCount
:
this
.
UseCount
,
TCIDs
:
this
.
$route
.
query
.
id
,
TCID
:
id
,
UseCount
:
this
.
UseCount
,
VoucherPicList
:
[]
})
},
deleteOtherListItem
(
outIndex
,
index
)
{
deleteOtherListItem
(
outIndex
,
index
)
{
this
.
list
.
OtherOrderReportList
.
OtherList
.
splice
(
index
,
1
)
},
addSelfPlayingIncomeList
(
index
,
id
)
{
addSelfPlayingIncomeList
(
index
,
id
)
{
this
.
list
.
OtherOrderReportList
.
SelfPlayingIncomeList
.
push
({
OrderType
:
'4'
,
ID
:
0
,
ID
:
0
,
UseDate
:
''
,
CostProject
:
0
,
TotalNum
:
'0'
,
...
...
@@ -584,19 +602,19 @@
Rebate
:
'0'
,
TotalPrice
:
'0'
,
Remark
:
''
,
TCID
:
id
,
UseCount
:
this
.
UseCount
,
TCIDs
:
this
.
$route
.
query
.
id
,
TCID
:
id
,
UseCount
:
this
.
UseCount
,
TCIDs
:
this
.
$route
.
query
.
id
,
VoucherPicList
:
[]
})
},
deleteSelfPlayingIncomeListItem
(
outIndex
,
index
)
{
deleteSelfPlayingIncomeListItem
(
outIndex
,
index
)
{
this
.
list
.
OtherOrderReportList
.
SelfPlayingIncomeList
.
splice
(
index
,
1
)
},
addSelfPlayingExpendList
(
index
,
id
)
{
addSelfPlayingExpendList
(
index
,
id
)
{
this
.
list
.
OtherOrderReportList
.
SelfPlayingExpendList
.
push
({
OrderType
:
'5'
,
ID
:
0
,
ID
:
0
,
UseDate
:
''
,
CostProject
:
''
,
TotalNum
:
'0'
,
...
...
@@ -604,53 +622,53 @@
Rebate
:
'0'
,
TotalPrice
:
'0'
,
Remark
:
''
,
TCID
:
id
,
UseCount
:
this
.
UseCount
,
TCIDs
:
this
.
$route
.
query
.
id
,
TCID
:
id
,
UseCount
:
this
.
UseCount
,
TCIDs
:
this
.
$route
.
query
.
id
,
VoucherPicList
:
[]
})
},
deleteSelfPlayingExpendList
(
outIndex
,
index
)
{
deleteSelfPlayingExpendList
(
outIndex
,
index
)
{
this
.
list
.
OtherOrderReportList
.
SelfPlayingExpendList
.
splice
(
index
,
1
)
},
busTotalPrice
(
obj
){
let
totalPrice
=
0
obj
.
forEach
(
item
=>
{
totalPrice
+=
Number
(
item
.
CostPrice
)
+
Number
(
item
.
HighSpeedPrice
)
+
Number
(
item
.
StopPrice
)
busTotalPrice
(
obj
)
{
let
totalPrice
=
0
obj
.
forEach
(
item
=>
{
totalPrice
+=
Number
(
item
.
CostPrice
)
+
Number
(
item
.
HighSpeedPrice
)
+
Number
(
item
.
StopPrice
)
})
return
this
.
moneyFormat
(
totalPrice
)
},
hotelTotalPrice
(
obj
){
let
totalPrice
=
0
obj
.
forEach
(
x
=>
{
totalPrice
+=
x
.
UnitPrice
*
(
x
.
BookNum
-
x
.
HotelDiscount
)
*
(
1
-
x
.
RebateRatio
/
100
)
hotelTotalPrice
(
obj
)
{
let
totalPrice
=
0
obj
.
forEach
(
x
=>
{
totalPrice
+=
x
.
UnitPrice
*
(
x
.
BookNum
-
x
.
HotelDiscount
)
*
(
1
-
x
.
RebateRatio
/
100
)
})
return
this
.
moneyFormat
(
totalPrice
)
},
diningTotalPrice
(
obj
){
let
totalPrice
=
0
obj
.
forEach
(
x
=>
{
totalPrice
+=
x
.
PeoplePrice
*
(
x
.
PeopleNum
-
x
.
Discount
)
*
(
1
-
x
.
DiscountPrice
/
100
)
diningTotalPrice
(
obj
)
{
let
totalPrice
=
0
obj
.
forEach
(
x
=>
{
totalPrice
+=
x
.
PeoplePrice
*
(
x
.
PeopleNum
-
x
.
Discount
)
*
(
1
-
x
.
DiscountPrice
/
100
)
})
return
this
.
moneyFormat
(
totalPrice
)
},
scenicTotalPrice
(
obj
){
let
totalPrice
=
0
obj
.
forEach
(
x
=>
{
totalPrice
+=
x
.
PeoplePrice
*
(
x
.
UsePeopleNum
-
x
.
Discount
)
*
(
1
-
x
.
DiscountPrice
/
100
)
scenicTotalPrice
(
obj
)
{
let
totalPrice
=
0
obj
.
forEach
(
x
=>
{
totalPrice
+=
x
.
PeoplePrice
*
(
x
.
UsePeopleNum
-
x
.
Discount
)
*
(
1
-
x
.
DiscountPrice
/
100
)
})
return
this
.
moneyFormat
(
totalPrice
)
},
otherTotalPrice
(
obj
){
let
totalPrice
=
0
obj
.
forEach
(
item
=>
{
totalPrice
+=
item
.
TotalNum
*
item
.
UnitPrice
*
(
1
-
item
.
Rebate
/
100
)
otherTotalPrice
(
obj
)
{
let
totalPrice
=
0
obj
.
forEach
(
item
=>
{
totalPrice
+=
item
.
TotalNum
*
item
.
UnitPrice
*
(
1
-
item
.
Rebate
/
100
)
})
return
this
.
moneyFormat
(
totalPrice
)
},
saveData
()
{
this
.
apipost
(
'dmcstatistics_post_SetOtherOrderList'
,
this
.
list
.
OtherOrderReportList
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
$message
.
success
(
res
.
data
.
message
)
this
.
getNav
()
this
.
getList
()
...
...
@@ -659,146 +677,301 @@
}
},
err
=>
{})
},
saveitem
(
obj
){
this
.
TemporaryItem
=
obj
saveitem
(
obj
)
{
this
.
TemporaryItem
=
obj
},
analyzeItem
(
obj
,
index
){
//预览
this
.
picObj
=
[]
obj
.
forEach
(
item
=>
{
analyzeItem
(
obj
,
index
)
{
//预览
this
.
picObj
=
[]
obj
.
forEach
(
item
=>
{
this
.
picObj
.
push
(
item
.
url
)
})
this
.
initialIndex
=
index
this
.
picIsShow
=
true
this
.
initialIndex
=
index
this
.
picIsShow
=
true
},
peopleStrToWord
(
str
){
if
(
str
==
'1'
)
peopleStrToWord
(
str
)
{
if
(
str
==
'1'
)
return
'成人'
if
(
str
==
'2'
)
if
(
str
==
'2'
)
return
'儿童'
if
(
str
==
'3'
)
if
(
str
==
'3'
)
return
'婴儿'
},
UseDinnerTypeToWord
(
str
){
if
(
str
==
1
)
UseDinnerTypeToWord
(
str
)
{
if
(
str
==
1
)
return
'早餐'
if
(
str
==
2
)
if
(
str
==
2
)
return
'午餐'
if
(
str
==
3
)
if
(
str
==
3
)
return
'晚餐'
},
getNav
(){
getNav
()
{
let
_this
=
this
this
.
apipost
(
'dmcstatistics_post_GetHotelStaticsByTCIDs'
,{
TCIDs
:
this
.
$route
.
query
.
id
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
this
.
apipost
(
'dmcstatistics_post_GetHotelStaticsByTCIDs'
,
{
TCIDs
:
this
.
$route
.
query
.
id
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
nav
=
res
.
data
.
data
let
num
=
0
;
nav
.
forEach
(
x
=>
{
nav
.
forEach
(
x
=>
{
nav
.
LeaderGetPriceT
=
0
;
num
+=
x
.
LeaderGetPrice
})
nav
.
forEach
((
x
,
i
)
=>
{
nav
.
forEach
((
x
,
i
)
=>
{
if
(
i
===
0
)
{
x
.
LeaderGetPriceT
=
Math
.
floor
(((
_this
.
TotalNav
.
reimburseTotalPrice
.
PlanPrice
*
0.95
)
-
num
)
*
100
)
/
100
;
x
.
LeaderGetPriceT
=
Math
.
floor
(((
_this
.
TotalNav
.
reimburseTotalPrice
.
PlanPrice
*
0.95
)
-
num
)
*
100
)
/
100
;
}
else
{
x
.
LeaderGetPriceT
=
0
}
})
this
.
nav
=
nav
}
else
{
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
)
}
},
err
=>
{})
},
err
=>
{})
},
getTotalNav
(){
this
.
apipost
(
'dmcstatistics_post_GetNewPlanTotalPrice'
,{
TCIDs
:
this
.
$route
.
query
.
id
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
this
.
TotalNav
=
res
.
data
.
data
getTotalNav
()
{
this
.
apipost
(
'dmcstatistics_post_GetNewPlanTotalPrice'
,
{
TCIDs
:
this
.
$route
.
query
.
id
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
TotalNav
=
res
.
data
.
data
this
.
getNav
()
}
else
{
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
)
}
},
err
=>
{})
},
err
=>
{})
},
getList
(){
this
.
loading
=
true
this
.
apipost
(
'dmcstatistics_post_GetGroupLeaderUserMoneyPlan'
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
console
.
log
(
res
.
data
.
data
)
this
.
loading
=
false
this
.
list
=
res
.
data
.
data
this
.
UseCount
=
this
.
list
.
UseCount
this
.
list
.
OtherOrderReportList
.
OtherList
.
forEach
(
x
=>
{
x
.
CostProject
=
x
.
CostProject
.
toString
()
})
// this.list.OtherOrderReportList.forEach(item=>{
// item.OtherList.forEach(x=>{
// x.CostProject=x.CostProject.toString()
// })
// })
}
else
{
this
.
loading
=
false
this
.
$message
.
error
(
res
.
data
.
message
)
getList
()
{
this
.
loading
=
true
this
.
apipost
(
'dmcstatistics_post_GetGroupLeaderUserMoneyPlan'
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
list
=
res
.
data
.
data
;
this
.
UseCount
=
this
.
list
.
UseCount
;
this
.
list
.
OtherOrderReportList
.
OtherList
.
forEach
(
x
=>
{
x
.
CostProject
=
x
.
CostProject
.
toString
();
});
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
}
},
err
=>
{})
},
err
=>
{})
},
},
mounted
()
{
this
.
isUpdate
=
this
.
$route
.
query
.
isUpdate
;
this
.
msg
.
TCIDs
=
this
.
$route
.
query
.
id
;
this
.
isUpdate
=
this
.
$route
.
query
.
isUpdate
;
this
.
msg
.
TCIDs
=
this
.
$route
.
query
.
id
;
this
.
NewCombinationNum
=
this
.
$route
.
query
.
NewCombinationNum
;
this
.
getList
()
this
.
getTotalNav
()
}
}
</
script
>
<
style
>
.leaderReimbursementTableNav
{
background
:
#d6cece
;
width
:
100%
;
margin
:
20px
0
;}
.leaderReimbursementTableNav
tr
th
{
background
:
#E6E6E6
;
height
:
40px
;
font-size
:
12px
;
color
:
#333
;}
.leaderReimbursementTableNav
tr
{
background
:
#fff
;
text-align
:
center
;
height
:
40px
;
font-size
:
12px
;}
.leaderReimbursementTableNav
tr
td
{
background
:
#fff
;
text-align
:
center
;
height
:
40px
;
font-size
:
12px
;
padding
:
0
10px
;}
.leaderReimbursementTable
{
background
:
#d6cece
;
width
:
100%
;
margin
:
20px
0
;}
.leaderReimbursementTable
tbody
{
margin
:
10px
0
;}
.leaderReimbursementTable
tr
th
{
background
:
#E6E6E6
;
height
:
40px
;
font-size
:
12px
;
color
:
#333
;}
.leaderReimbursementTable
tr
{
background
:
#fff
;
text-align
:
center
;
height
:
40px
;}
.leaderReimbursementTable
tr
.title
td
{
background
:
#E6E6E6
;}
.leaderReimbursementTable
tr
td
div
{
word-break
:
normal
;}
.leaderReimbursementTable
tr
td
.bgwhite
{
background
:
#fff
!important
;
font-weight
:
bold
;}
.leaderReimbursementTable
tr
td
{
font-size
:
12px
;}
.leaderReimbursementTable
tr
td
.pDateStyle
{
border-bottom
:
1px
solid
#E6E6E6
;
min-height
:
24px
;
line-height
:
24px
;
margin-top
:
0
;
box-sizing
:
content-box
;
padding
:
0
10px
;}
.leaderReimbursementTable
tr
td
.pDateStyle
:last-child
{
border-bottom
:
none
;}
.leaderReimbursementTable
tr
td
.pDateStyle
>
span
:after
{
content
:
'/'
;}
.leaderReimbursementTable
tr
td
.pDateStyle
>
span
:last-child:after
{
content
:
''
}
.leaderReimbursementTable
tr
td
.link
p
:hover
{
text-decoration
:
underline
;
cursor
:
pointer
;}
.leaderReimbursementTable
tr
td
.phoverStype
:hover
{
text-decoration
:
underline
;
cursor
:
pointer
;}
.leaderReimbursementTable
tr
td
input
[
type
=
'text'
]
{
height
:
20px
!important
;
padding
:
0
;
text-align
:
center
;}
.leaderReimbursementTable
tr
td
.sel
input
{
height
:
34px
!important
;}
.leaderReimbursementTable
.splitP
td
>
p
{
height
:
20px
;
line-height
:
20px
;
border-bottom
:
1px
solid
#ccc
;}
.leaderReimbursementTable
.splitP
td
>
p
:last-child
{
border-bottom
:
none
;}
.leaderReimbursementTable
.ScenicTr
td
>
div
{
height
:
60px
;
line-height
:
60px
;
border-bottom
:
1px
solid
#ccc
;}
.leaderReimbursementTable
.ScenicTr
td
>
div
:last-child
{
border-bottom
:
none
;}
.leaderReimbursementTable
.ScenicTr
td
>
div
p
{
line-height
:
20px
;
border-bottom
:
1px
solid
#ccc
;}
.leaderReimbursementTable
.ScenicTr
td
>
div
p
:last-child
{
border-bottom
:
none
;}
.leaderReimbursementTable
.HotelTr
td
>
div
{
/*height:100px*/
line-height
:
100px
;
border-bottom
:
1px
solid
#ccc
;}
.leaderReimbursementTable
.HotelTr
td
>
div
:last-child
{
border-bottom
:
none
;}
.leaderReimbursementTable
.HotelTr
td
>
div
p
{
line-height
:
19px
;
border-bottom
:
1px
solid
#ccc
;}
.leaderReimbursementTable
.HotelTr
td
>
div
p
:last-child
{
border-bottom
:
none
;}
.leaderReimbursementTable
tr
td
.el-upload-list
{
display
:
none
;}
.leaderReimbursementTable
.uploadListDiv
{
height
:
100%
!important
;
overflow-y
:
auto
;
width
:
100%
;}
.leaderReimbursementTable
.uploadListDiv
>
p
{
border-bottom
:
1px
solid
#ccc
;
cursor
:
pointer
;
width
:
100%
!important
;}
.leaderReimbursementTable
.uploadListDiv
>
p
:last-child
{
border-bottom
:
none
;}
.leaderReimbursementTable
.uploadListDiv
>
p
i
{
color
:
#999
;
vertical-align
:
sub
;
margin
:
3px
;}
.leaderReimbursementTable
.jdtd
>
div
{
height
:
auto
!important
;
padding
:
0
10px
;}
.leaderReimbursementTable
.leaderPayTable
.el-input__prefix
{
display
:
none
;}
.leaderReimbursementTable
.HotelTr
td
div
.alcenter
>
div
:nth-child
(
2
)
{
border-top
:
1px
solid
#ccc
;}
.leaderReimbursementTable
td
._zhidan
{
.leaderReimbursementTableNav
{
background
:
#d6cece
;
width
:
100%
;
margin
:
20px
0
;
}
.leaderReimbursementTableNav
tr
th
{
background
:
#E6E6E6
;
height
:
40px
;
font-size
:
12px
;
color
:
#333
;
}
.leaderReimbursementTableNav
tr
{
background
:
#fff
;
text-align
:
center
;
height
:
40px
;
font-size
:
12px
;
}
.leaderReimbursementTableNav
tr
td
{
background
:
#fff
;
text-align
:
center
;
height
:
40px
;
font-size
:
12px
;
padding
:
0
10px
;
}
.leaderReimbursementTable
{
background
:
#d6cece
;
width
:
100%
;
margin
:
20px
0
;
}
.leaderReimbursementTable
tbody
{
margin
:
10px
0
;
}
.leaderReimbursementTable
tr
th
{
background
:
#E6E6E6
;
height
:
40px
;
font-size
:
12px
;
color
:
#333
;
}
.leaderReimbursementTable
tr
{
background
:
#fff
;
text-align
:
center
;
height
:
40px
;
}
.leaderReimbursementTable
tr
.title
td
{
background
:
#E6E6E6
;
}
.leaderReimbursementTable
tr
td
div
{
word-break
:
normal
;
}
.leaderReimbursementTable
tr
td
.bgwhite
{
background
:
#fff
!important
;
font-weight
:
bold
;
}
.leaderReimbursementTable
tr
td
{
font-size
:
12px
;
}
.leaderReimbursementTable
tr
td
.pDateStyle
{
border-bottom
:
1px
solid
#E6E6E6
;
min-height
:
24px
;
line-height
:
24px
;
margin-top
:
0
;
box-sizing
:
content-box
;
padding
:
0
10px
;
}
.leaderReimbursementTable
tr
td
.pDateStyle
:last-child
{
border-bottom
:
none
;
}
.leaderReimbursementTable
tr
td
.pDateStyle
>
span
:after
{
content
:
'/'
;
}
.leaderReimbursementTable
tr
td
.pDateStyle
>
span
:last-child:after
{
content
:
''
}
.leaderReimbursementTable
tr
td
.link
p
:hover
{
text-decoration
:
underline
;
cursor
:
pointer
;
}
.leaderReimbursementTableNav
._go_detail
p
{
.leaderReimbursementTable
tr
td
.phoverStype
:hover
{
text-decoration
:
underline
;
cursor
:
pointer
;
}
.leaderReimbursementTable
tr
td
input
[
type
=
'text'
]
{
height
:
20px
!important
;
padding
:
0
;
text-align
:
center
;
}
.leaderReimbursementTable
tr
td
.sel
input
{
height
:
34px
!important
;
}
.leaderReimbursementTable
.splitP
td
>
p
{
height
:
20px
;
line-height
:
20px
;
border-bottom
:
1px
solid
#ccc
;
}
.leaderReimbursementTable
.splitP
td
>
p
:last-child
{
border-bottom
:
none
;
}
.leaderReimbursementTable
.ScenicTr
td
>
div
{
height
:
60px
;
line-height
:
60px
;
border-bottom
:
1px
solid
#ccc
;
}
.leaderReimbursementTable
.ScenicTr
td
>
div
:last-child
{
border-bottom
:
none
;
}
.leaderReimbursementTable
.ScenicTr
td
>
div
p
{
line-height
:
20px
;
border-bottom
:
1px
solid
#ccc
;
}
.leaderReimbursementTable
.ScenicTr
td
>
div
p
:last-child
{
border-bottom
:
none
;
}
.leaderReimbursementTable
.HotelTr
td
>
div
{
line-height
:
100px
;
border-bottom
:
1px
solid
#ccc
;
}
.leaderReimbursementTable
.HotelTr
td
>
div
:last-child
{
border-bottom
:
none
;
}
.leaderReimbursementTable
.HotelTr
td
>
div
p
{
line-height
:
19px
;
border-bottom
:
1px
solid
#ccc
;
}
.leaderReimbursementTable
.HotelTr
td
>
div
p
:last-child
{
border-bottom
:
none
;
}
.leaderReimbursementTable
tr
td
.el-upload-list
{
display
:
none
;
}
.leaderReimbursementTable
.uploadListDiv
{
height
:
100%
!important
;
overflow-y
:
auto
;
width
:
100%
;
}
.leaderReimbursementTable
.uploadListDiv
>
p
{
border-bottom
:
1px
solid
#ccc
;
cursor
:
pointer
;
width
:
100%
!important
;
}
.leaderReimbursementTable
.uploadListDiv
>
p
:last-child
{
border-bottom
:
none
;
}
.leaderReimbursementTable
.uploadListDiv
>
p
i
{
color
:
#999
;
vertical-align
:
sub
;
margin
:
3px
;
}
.leaderReimbursementTable
.jdtd
>
div
{
height
:
auto
!important
;
padding
:
0
10px
;
}
.leaderReimbursementTable
.leaderPayTable
.el-input__prefix
{
display
:
none
;
}
.leaderReimbursementTable
.HotelTr
td
div
.alcenter
>
div
:nth-child
(
2
)
{
border-top
:
1px
solid
#ccc
;
}
.leaderReimbursementTable
td
._zhidan
{
cursor
:
pointer
;
}
.leaderReimbursementTableNav
._go_detail
p
{
cursor
:
pointer
;
line-height
:
25px
;
}
</
style
>
</
style
>
\ No newline at end of file
src/components/Ticketing/TicketManager.vue
View file @
0a83fa59
...
...
@@ -2209,7 +2209,8 @@
FlyState
:
"0"
,
LineId
:
0
,
//线路编号
ID
:
0
,
TicketType
:
0
//定金类型(1定,2定等)
TicketType
:
0
,
//定金类型(1定,2定等)
IsLimit
:
1
},
addMsg
:
{
ID
:
"0"
,
...
...
@@ -2610,7 +2611,6 @@
this
.
total
=
res
.
data
.
data
.
count
;
this
.
dataList
=
res
.
data
.
data
.
pageData
;
this
.
noData
=
!
this
.
total
>
0
;
console
.
log
(
this
.
dataList
,
'datalist'
);
}
if
(
this
.
msg
.
ID
==
0
)
{
this
.
msg
.
ID
=
""
;
...
...
src/components/TravelManager/TravelList/RegistrationList.vue
View file @
0a83fa59
...
...
@@ -1062,6 +1062,7 @@
</el-input>
</el-form-item>
</el-col>
<!--
<el-col
:span=
"4"
v-show=
"addMsg.TradeWay==1&&addMsg.PlatformOrder!='' && isAllowUpdate!==0"
>
<el-form-item
label=
"定金"
prop=
"MinOrderPrice"
>
<el-input
v-model=
'addMsg.MinOrderPrice'
@
keyup
.
native=
"checkPrice(addMsg,'MinOrderPrice')"
></el-input>
...
...
@@ -1243,14 +1244,14 @@
@
input=
'getNumber();getHouseNo();getTotalPrice()'
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"单地接数量"
prop=
"AirticketNum"
>
<el-input
v-model=
'addMsg.AirticketNum'
@
keyup
.
native=
"checkInteger(addMsg,'AirticketNum')"
@
input=
'getNumber();getTotalPrice();getHouseNo()'
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"单房数量"
prop=
"SingleRoomNum"
>
<el-input
v-model=
'addMsg.SingleRoomNum'
@
keyup
.
native=
"checkInteger(addMsg,'SingleRoomNum')"
...
...
@@ -1274,12 +1275,6 @@
<el-input
v-model=
'addMsg.VisaNum'
@
keyup
.
native=
"checkInteger(addMsg,'VisaNum')"
@
input=
'getTotalPrice()'
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
label=
"保险数量"
prop=
"SaleNum"
>
<el-input
v-model=
'addMsg.SafeNum'
@
keyup
.
native=
"checkInteger(addMsg,'SafeNum')"
@
input=
'getTotalPrice()'
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
label=
"拒签人数"
prop=
"RefuseVisaNum"
style=
"display:none;"
>
...
...
@@ -1287,11 +1282,14 @@
@
input=
'getTotalPrice()'
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"保险数量"
prop=
"SaleNum"
>
<el-input
v-model=
'addMsg.SafeNum'
@
keyup
.
native=
"checkInteger(addMsg,'SafeNum')"
@
input=
'getTotalPrice()'
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
label=
"预计用房"
prop=
"PredictRoomNum"
>
<el-input
v-model=
'addMsg.PredictRoomNum'
:disabled=
"true"
></el-input>
...
...
@@ -1402,8 +1400,13 @@
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
style=
"display:none;"
>
<el-form-item
label=
"是否可清位"
>
<el-select
v-model=
'addMsg.IsCanClear'
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
label=
'可以清位'
:value=
'0'
:key=
'0'
></el-option>
<el-option
label=
'不可以清位'
:value=
'1'
:key=
'1'
></el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
...
...
@@ -1445,6 +1448,7 @@
</el-input>
</el-form-item>
</el-col>
<!--
<el-col
:span=
"4"
v-show=
"addMsg.TradeWay==1&&addMsg.PlatformOrder!='' && isAllowUpdate!==0"
>
<el-form-item
label=
"定金"
prop=
"MinOrderPrice"
>
<el-input
v-model=
'addMsg.MinOrderPrice'
@
keyup
.
native=
"checkPrice(addMsg,'MinOrderPrice')"
></el-input>
...
...
@@ -2768,6 +2772,7 @@
//订单归属【HK新加,报名清单页面修改使用】
CreateBy
:
0
,
RefuseVisaNum
:
0
,
//拒签人数
IsCanClear
:
0
//是否可清位
},
//行程下载使用
travelControlTripLayerShow
:
false
,
...
...
@@ -3082,6 +3087,7 @@
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
console
.
log
(
res
,
'data'
);
this
.
IsUnion
=
res
.
data
.
data
.
IsUnion
this
.
isAllowUpdate
=
res
.
data
.
data
.
IsUpdatePlatOrder
;
this
.
addObj
=
res
.
data
.
data
.
modelPrice
;
...
...
@@ -3108,6 +3114,8 @@
this
.
addMsg
.
ChirdNoNeedBedNum
=
(
x
.
ChirdNum
-
x
.
ChirdNeedBedNum
).
toString
();
this
.
addMsg
.
BabyNum
=
x
.
BabyNum
.
toString
();
this
.
addMsg
.
RefuseVisaNum
=
x
.
RefuseVisaNum
.
toString
();
this
.
addMsg
.
IsCanClear
=
x
.
IsCanClear
;
this
.
IsChildrenTour
=
x
.
IsChildrenTour
;
this
.
IsBirdDiscount
=
x
.
IsBirdDiscount
;
this
.
OpSetLossPeople
=
x
.
OpSetLossPeople
;
...
...
src/components/TravelManager/TravelList/TeamBalancePayment.vue
View file @
0a83fa59
...
...
@@ -264,8 +264,8 @@
<div
class=
"clearfix TB_PrintDiv"
>
<div
class=
"TB_comtitle TB-Title"
>
收入
</div>
<
template
v-if=
"IsHaveAuth"
>
<input
type=
"button"
value=
"新增"
class=
"hollowFixedBtn TeamAddBtn"
v-show=
"ishowBtn"
@
click=
"AddIncomeDetail"
/>
<input
type=
"button"
value=
"新增"
class=
"hollowFixedBtn TeamAddBtn"
v-show=
"ishowBtn"
@
click=
"AddIncomeDetail"
/>
</
template
>
</div>
<div
class=
"clearfix TB_PrintDiv"
>
...
...
@@ -578,7 +578,7 @@
<div
class=
"clearfix TB_PrintDiv"
>
<div
class=
"TB_comtitle TB-Title"
>
成本
</div>
<
template
v-if=
"IsHaveAuth"
>
<input
type=
"button"
value=
"新增"
class=
"hollowFixedBtn TeamAddBtn"
v-show=
"ishowBtn"
@
click=
"AddOutDetail"
/>
<input
type=
"button"
value=
"新增"
class=
"hollowFixedBtn TeamAddBtn"
v-show=
"ishowBtn"
@
click=
"AddOutDetail"
/>
</
template
>
</div>
<div
class=
"clearfix TB_PrintDiv"
>
...
...
@@ -1062,7 +1062,7 @@
<div
class=
"clearfix TB_PrintDiv"
>
<div
class=
"TB_comtitle TB-Title"
>
非成本
</div>
<
template
v-if=
"IsHaveAuth"
>
<input
type=
"button"
value=
"新增"
class=
"hollowFixedBtn TeamAddBtn"
v-show=
"ishowBtn"
@
click=
"AddOutDetail"
/>
<input
type=
"button"
value=
"新增"
class=
"hollowFixedBtn TeamAddBtn"
v-show=
"ishowBtn"
@
click=
"AddOutDetail"
/>
</
template
>
</div>
...
...
@@ -1269,11 +1269,11 @@
</div>
</div>
<div
class=
"Team_BtnList"
v-if=
"IsHaveAuth"
>
<input
type=
"button"
@
click=
"zhaunBox"
value=
"单据转团"
class=
"hollowFixedBtn"
/>
<input
type=
"button"
@
click=
"zhaunBox"
value=
"单据转团"
class=
"hollowFixedBtn"
/>
<input
type=
"button"
v-if=
"!CloseIncomeBtn"
@
click=
"UpdateBrakeAccountStatus"
:value=
"(DataList&&DataList.TeamBalance&&DataList.TeamBalance.BrakeAccountStatus === 0) ? '关闭收支操作' : '开启收支操作'"
class=
"hollowFixedBtn"
/>
<input
type=
"button"
value=
"导出"
@
click=
"ExportExcle"
class=
"normalBtn"
/>
class=
"hollowFixedBtn"
/>
<input
type=
"button"
value=
"导出"
@
click=
"ExportExcle"
class=
"normalBtn"
/>
<input
type=
"button"
value=
"打印"
@
click
.
prevent=
"doPrint"
class=
"normalBtn"
/>
</div>
<el-dialog
custom-class=
'w350'
title=
"合并单据"
:visible
.
sync=
"zhuanLoading"
center
:before-close=
"initZhuanMsg"
>
...
...
@@ -1306,7 +1306,7 @@
TCNUM
:
''
,
FrIds
:
''
,
},
IsHaveAuth
:
false
,
//权限判断按钮是否显示
IsHaveAuth
:
false
,
//权限判断按钮是否显示
zhuanLoading
:
false
,
moneyAll
:
{
Moneyall
:
0
,
...
...
@@ -1724,27 +1724,32 @@
},
//权限验证
checkHasAuth
()
{
this
.
apipost
(
'travel_get_CheckBalancePaymentAuth'
,
{
TCID
:
this
.
TCID
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
IsHaveAuth
=
true
;
}
else
{
this
.
IsHaveAuth
=
false
;
}
},
err
=>
{}
)
//
this.apipost(
//
'travel_get_CheckBalancePaymentAuth', {
//
TCID: this.TCID
//
},
//
res => {
//
if (res.data.resultCode == 1) {
//
this.IsHaveAuth=true;
//
}
//
else
//
{
//
this.IsHaveAuth=false;
//
}
//
},
//
err => {}
//
)
}
},
mounted
()
{
this
.
TCID
=
this
.
$route
.
query
.
id
;
this
.
OutBranchId
=
this
.
$route
.
query
.
OutBranchId
;
this
.
CloseIncomeBtn
=
this
.
$route
.
query
.
CloseIncomeBtn
;
if
(
this
.
$route
.
query
.
IsHaveAuth
)
{
this
.
IsHaveAuth
=
true
;
}
else
{
this
.
IsHaveAuth
=
false
;
}
this
.
checkHasAuth
();
this
.
getList
();
this
.
getAllCont
();
...
...
src/components/TravelManager/TravelList/TravelControlList.vue
View file @
0a83fa59
...
...
@@ -1473,7 +1473,8 @@
name
:
'TeamBalancePayment'
,
query
:
{
id
:
id
,
OutBranchId
:
OutBranchId
,
OutBranchId
:
OutBranchId
,
IsHaveAuth
:
true
,
blank
:
'y'
,
tab
:
'团队收支明细'
}
...
...
src/components/activity/CouponList.vue
View file @
0a83fa59
...
...
@@ -82,6 +82,20 @@
</el-select>
</span>
</li>
<li>
<span>
<em>
使用范围
</em>
<el-select
filterable
v-model=
"msg.couponsUseScope"
>
<el-option
:label=
"$t('active.cl_tongyong')"
:value=
"1"
></el-option>
<el-option
:label=
"$t('active.cl_team')"
:value=
"2"
></el-option>
<el-option
:label=
"$t('active.cl_qianzheng')"
:value=
"3"
></el-option>
<el-option
:label=
"$t('active.cl_jipiao')"
:value=
"4"
></el-option>
<el-option
label=
"门票"
:value=
"5"
></el-option>
<el-option
label=
"车辆"
:value=
"6"
></el-option>
</el-select>
</span>
</li>
<li>
<input
type=
"button"
...
...
@@ -116,6 +130,7 @@
<th>
{{
$t
(
'active.cl_sxriqi'
)
}}
</th>
<th>
{{
$t
(
'active.cl_sxzhuangtai'
)
}}
</th>
<th>
{{
$t
(
'active.cl_gqriqi'
)
}}
</th>
<th>
使用范围
</th>
<th>
{{
$t
(
'admin.admin_status'
)
}}
</th>
<th>
{{
$t
(
'active.cl_addPp'
)
}}
</th>
<th>
{{
$t
(
'system.table_operation'
)
}}
</th>
...
...
@@ -141,7 +156,16 @@
<span
v-if=
"item.couponEffectStatus === 2"
style=
"color: gray"
>
{{
$t
(
'active.cl_wsxiao'
)
}}
</span>
<span
v-if=
"item.couponEffectStatus === 3"
style=
"color: red"
>
{{
$t
(
'active.cl_ygqi'
)
}}
</span>
</td>
<td>
{{
item
.
expirationDate
}}
</td>
<td>
<span
v-if=
"item.couponsUseScope == 1"
>
全场通用
</span>
<span
v-if=
"item.couponsUseScope == 2"
>
团队
</span>
<span
v-if=
"item.couponsUseScope == 3"
>
签证
</span>
<span
v-if=
"item.couponsUseScope == 4"
>
机票
</span>
<span
v-if=
"item.couponsUseScope == 5"
>
门票
</span>
<span
v-if=
"item.couponsUseScope == 6"
>
车辆
</span>
</td>
<td>
<span
v-if=
"item.couponStatus == 1"
style=
"color: green"
>
{{
$t
(
'pub.normalSel'
)
}}
</span>
<span
v-if=
"item.couponStatus == 2"
style=
"color: gray"
>
{{
$t
(
'active.ld_jinyong'
)
}}
</span>
...
...
@@ -343,6 +367,8 @@
<el-option
:label=
"$t('active.cl_team')"
:value=
"2"
></el-option>
<el-option
:label=
"$t('active.cl_qianzheng')"
:value=
"3"
></el-option>
<el-option
:label=
"$t('active.cl_jipiao')"
:value=
"4"
></el-option>
<el-option
label=
"门票"
:value=
"5"
></el-option>
<el-option
label=
"车辆"
:value=
"6"
></el-option>
</el-select>
</el-form-item>
</td>
...
...
@@ -384,6 +410,7 @@ export default {
couponStatus
:
-
1
,
groupId
:
''
,
branchId
:
''
,
couponsUseScope
:
""
,
},
rules
:
{
branchId
:
[{
required
:
true
,
message
:
this
.
$t
(
'rule.company'
),
trigger
:
"change"
}],
...
...
@@ -471,7 +498,8 @@ export default {
if
(
res
.
data
.
resultCode
===
1
)
{
// this.currentPage = res.data.data.pageCount
this
.
total
=
res
.
data
.
data
.
count
this
.
DataList
=
res
.
data
.
data
.
pageData
this
.
DataList
=
res
.
data
.
data
.
pageData
;
console
.
log
(
"DataList"
,
this
.
DataList
);
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
)
}
...
...
src/components/busManagement/busHandBook.vue
View file @
0a83fa59
...
...
@@ -9,7 +9,9 @@
text-align
:
center
;
height
:
40px
;
}
.busManagerTalbe
tr
td
{
padding
:
0
5px
;
}
.commonBackColor
{
background-color
:
#E6E6E6
;
color
:
#333
;
...
...
@@ -25,7 +27,15 @@
color
:
#fff
;
border
:
1px
solid
#d1d1d1
;
}
.addHandBook
{
margin-right
:
5px
;
color
:
seagreen
;
cursor
:
pointer
;
visibility
:
hidden
;
}
.addHandBookDIS
{
visibility
:
visible
!important
;
}
</
style
>
<
template
>
<div>
...
...
@@ -73,9 +83,10 @@
<td
class=
"commonBackColor"
>
ホテル
</td>
<td
class=
"commonBackColor"
>
ホテルTEL
</td>
</tr>
<tr
v-for=
"
subItem
in DataObj.Details_Extends"
>
<tr
v-for=
"
(subItem,index)
in DataObj.Details_Extends"
>
<td>
{{
subItem
.
UseDate
}}
<i
class=
"iconfont icon-bumenguanli-tianjia addHandBook"
:class=
"
{'addHandBookDIS':index==0||index==DataObj.Details_Extends.length-1}" @click="addHand(index)">
</i>
<el-date-picker
v-model=
'subItem.UseDate'
class=
'w135'
value-format=
"yyyy-MM-dd"
type=
"date"
></el-date-picker>
</td>
<td>
<el-input
type=
"text"
v-model=
"subItem.BusType"
/>
...
...
@@ -163,6 +174,7 @@
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
DataObj
=
res
.
data
.
data
;
console
.
log
(
this
.
DataObj
,
'dataObj'
);
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
...
...
@@ -182,6 +194,30 @@
this
.
isSave
=
false
;
},
err
=>
{})
}
},
//添加
addHand
(
index
){
var
obj
=
{
BusContent
:
''
,
BusType
:
''
,
FlightNum
:
''
,
HotelName
:
''
,
HotelTel
:
''
,
Id
:
0
,
MainId
:
0
,
UseDate
:
''
}
var
date
=
new
Date
();
var
year
=
date
.
getFullYear
();
var
month
=
date
.
getMonth
()
+
1
;
var
day
=
date
.
getDate
();
var
UseDate
=
year
+
'-'
+
month
+
"-"
+
day
;
obj
.
UseDate
=
UseDate
if
(
index
==
0
){
this
.
DataObj
.
Details_Extends
.
unshift
(
obj
)
}
else
{
this
.
DataObj
.
Details_Extends
.
push
(
obj
);
}
}
},
mounted
()
{
...
...
src/components/dmc/manager/dmcTotalTable.vue
View file @
0a83fa59
...
...
@@ -92,11 +92,11 @@
<td
:rowspan=
"2*outItem.StaticsReportList.length"
v-if=
'index==0'
>
{{
outItem
.
NewCombinationNum
}}
</td>
<td>
{{
item
.
StartCityNames
}}
<td>
{{
item
.
OutBranchName
}}
</td>
<td>
{{
item
.
OutBranchName
}}
{{
item
.
StartCityNames
}}
</td>
<td>
<div
class=
"w120"
>
...
...
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