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
b0e7d6fe
Commit
b0e7d6fe
authored
May 16, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面优化
parent
573e470f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
719 additions
and
546 deletions
+719
-546
leaderReimbursement.vue
src/components/LeaderManagement/leaderReimbursement.vue
+719
-546
No files found.
src/components/LeaderManagement/leaderReimbursement.vue
View file @
b0e7d6fe
<
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
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