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
5bc0fc22
Commit
5bc0fc22
authored
Jul 12, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用款计划页面修改
parent
b89c56ed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
73 additions
and
39 deletions
+73
-39
leaderReimbursement.vue
src/components/LeaderManagement/leaderReimbursement.vue
+73
-39
No files found.
src/components/LeaderManagement/leaderReimbursement.vue
View file @
5bc0fc22
...
@@ -28,8 +28,8 @@
...
@@ -28,8 +28,8 @@
<td>
{{
item
.
GuideName
}}
</td>
<td>
{{
item
.
GuideName
}}
</td>
<td>
<td>
<el-popover
width=
"900"
trigger=
"click"
popper-class=
"DMC_HotelPop"
>
<el-popover
width=
"900"
trigger=
"click"
popper-class=
"DMC_HotelPop"
>
<commonHotelInfo
:HotelObj=
"item.CommonReport.PriceHotelResult"
:showHotelObj=
"showHotelObj"
:TCID=
"item.TCIDS"
:DMCNum=
"NewCombinationNum"
:TCNUM=
"item.TCNUMS"
<commonHotelInfo
:HotelObj=
"item.CommonReport.PriceHotelResult"
:showHotelObj=
"showHotelObj"
></commonHotelInfo>
:TCID=
"item.TCIDS"
:DMCNum=
"NewCombinationNum"
:TCNUM=
"item.TCNUMS"
></commonHotelInfo>
<span
slot=
"reference"
class=
"price"
style=
"cursor:pointer;text-decoration:underline;"
>
酒店信息
</span>
<span
slot=
"reference"
class=
"price"
style=
"cursor:pointer;text-decoration:underline;"
>
酒店信息
</span>
</el-popover>
</el-popover>
</td>
</td>
...
@@ -118,7 +118,8 @@
...
@@ -118,7 +118,8 @@
</td>
</td>
<td>
<td>
<span>
<span>
<span>
{{
item
.
SupplierName
}}
<span
v-if=
"item.SupplierPayType !== 0"
:style=
"
{'color': item.SupplierPayType == 2 ? '#E95252': '#111111'}">
{{
item
.
SupplierPayType
==
2
?
'签单'
:
'现付'
}}
</span></span>
<span>
{{
item
.
SupplierName
}}
<span
v-if=
"item.SupplierPayType !== 0"
:style=
"
{'color': item.SupplierPayType == 2 ? '#E95252': '#111111'}">
{{
item
.
SupplierPayType
==
2
?
'签单'
:
'现付'
}}
</span></span>
</span>
</span>
</td>
</td>
</tr>
</tr>
...
@@ -127,15 +128,11 @@
...
@@ -127,15 +128,11 @@
<td
colspan=
"15"
>
<td
colspan=
"15"
>
<span
v-for=
"item in TotalNav.busPrice"
>
{{
item
.
Str
+
':'
+
item
.
TotalPrice
}}
</span>
<span
v-for=
"item in TotalNav.busPrice"
>
{{
item
.
Str
+
':'
+
item
.
TotalPrice
}}
</span>
</td>
</td>
<!--
<td>
签单/预付/抵扣总金额
</td>
<td
colspan=
"7"
>
{{
moneyFormat
(
TotalNav
.
reimburseTotalPrice
.
SelfPayingIncomeTotalPrice
)
}}
</td>
-->
</tr>
</tr>
</table>
</table>
<table
class=
"leaderReimbursementTable"
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
>
<table
class=
"leaderReimbursementTable"
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
>
<tr>
<tr>
<th
colspan=
"
16
"
class=
"bgwhite"
>
酒店使用
</th>
<th
colspan=
"
21
"
class=
"bgwhite"
>
酒店使用
</th>
</tr>
</tr>
<tr
class=
"title"
>
<tr
class=
"title"
>
<th
width=
"100"
>
使用时间
</th>
<th
width=
"100"
>
使用时间
</th>
...
@@ -148,27 +145,33 @@
...
@@ -148,27 +145,33 @@
<th
width=
"80"
>
免费人数
</th>
<th
width=
"80"
>
免费人数
</th>
<th
width=
""
>
单价/人
</th>
<th
width=
""
>
单价/人
</th>
<th
width=
""
>
金额小计
</th>
<th
width=
""
>
金额小计
</th>
<th
width=
""
>
返佣类型
</th>
<th
width=
""
>
返佣
</th>
<th
width=
""
>
返佣
</th>
<th
width=
""
>
入汤税
</th>
<th
width=
""
>
城市税
</th>
<th
width=
""
>
停车费
</th>
<th
width=
""
>
税入/税别
</th>
<th
width=
""
>
税入/税别
</th>
<th
width=
""
>
总金额
</th>
<th
width=
""
>
总金额
</th>
<th
width=
""
>
付款方式
</th>
<th
width=
""
>
付款方式
</th>
<th
width=
"100"
>
备注
</th>
<th
width=
"100"
>
供应商
</th>
<th
width=
"100"
>
供应商
</th>
<th
width=
"100"
>
状态
</th>
<th
width=
"100"
>
备注
</th>
</tr>
</tr>
<template
v-for=
'(outItem,outIndex) in list.HotelOrderListReport'
>
<template
v-for=
'(outItem,outIndex) in list.HotelOrderListReport'
>
<template
v-for=
"(subItem,subIndex) in outItem.HotelOrderList"
>
<template
v-for=
"(subItem,subIndex) in outItem.HotelOrderList"
>
<tr
v-for=
"(childItem,childIndex) in subItem.OrderDetailsList"
>
<tr
v-for=
"(childItem,childIndex) in subItem.OrderDetailsList"
>
<td
v-if=
"childIndex==0&&subIndex==0"
:rowspan=
"5*outItem.HotelOrderList.length"
>
{{
outItem
.
UseTimeStr
}}
<td
v-if=
"childIndex==0&&subIndex==0"
:rowspan=
"6*outItem.HotelOrderList.length"
>
{{
outItem
.
UseTimeStr
}}
</td>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"
5
"
>
{{
subItem
.
HotelName
}}
<td
v-if=
"childIndex==0"
:rowspan=
"
6
"
>
{{
subItem
.
HotelName
}}
<p
class=
"cursorpointer"
style=
"margin-top:5px;color: blue;"
>
<p
class=
"cursorpointer"
style=
"margin-top:5px;color: blue;"
>
<a
v-if=
"subItem.ContractUrl"
target=
"_blank"
:href=
"subItem.ContractUrl"
>
手配书
</a>
<a
v-if=
"subItem.ContractUrl"
target=
"_blank"
:href=
"subItem.ContractUrl"
>
手配书
</a>
</p>
</p>
</td>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"
5
"
>
<td
v-if=
"childIndex==0"
:rowspan=
"
6
"
>
{{
subItem
.
HouseStatistics
.
NeedBed
}}
/
{{
subItem
.
HouseStatistics
.
NoNeedBed
}}
{{
subItem
.
HouseStatistics
.
NeedBed
}}
/
{{
subItem
.
HouseStatistics
.
NoNeedBed
}}
</td>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"
5
"
>
<td
v-if=
"childIndex==0"
:rowspan=
"
6
"
>
{{
subItem
.
HouseStatistics
.
RealityRoomNum
}}
{{
subItem
.
HouseStatistics
.
RealityRoomNum
}}
</td>
</td>
<td>
<td>
...
@@ -176,7 +179,20 @@
...
@@ -176,7 +179,20 @@
<span
v-if=
"childItem.HouseType === 2"
>
标准双人间
</span>
<span
v-if=
"childItem.HouseType === 2"
>
标准双人间
</span>
<span
v-if=
"childItem.HouseType === 3"
>
大床房
</span>
<span
v-if=
"childItem.HouseType === 3"
>
大床房
</span>
<span
v-if=
"childItem.HouseType === 4"
>
三人间
</span>
<span
v-if=
"childItem.HouseType === 4"
>
三人间
</span>
<span
v-if=
"childItem.HouseType === 5"
>
司导间
</span>
<span
v-if=
"childItem.HouseType === 5"
>
司导间
<template
v-if=
"childIndex==4"
>
<template
v-if=
"subItem.DriverGuideIsRebate==1"
>
<br
/><span
style=
"color:green"
>
返佣
</span>
</
template
>
<
template
v-else-if=
"subItem.DriverGuideIsRebate==0"
>
<br
/><span
style=
"color:red;"
>
不返佣
</span>
</
template
>
</template>
</span>
<span
v-if=
"childItem.HouseType === 6"
>
不占床
</span>
</td>
</td>
<td>
<td>
{{childItem.HouseTypeCount}}
{{childItem.HouseTypeCount}}
...
@@ -194,12 +210,29 @@
...
@@ -194,12 +210,29 @@
</p>
</p>
</td>
</td>
<td>
<td>
{{
subItem
.
PayStyle
===
1
?
moneyFormat
(
childItem
.
UnitPrice
*
(
childItem
.
BookNum
-
childItem
.
HotelDiscount
))
:
0
}}
{{subItem.PayStyle === 1 ? moneyFormat(childItem.UnitPrice*(childItem.BookNum-childItem.HotelDiscount)) : 0}}
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"6"
>
<
template
v-if=
"subItem.RebateType==1"
>
<span
style=
"color:green"
>
含税
</span>
</
template
>
<
template
v-else
>
<span
style=
"color:red"
>
不含税
</span>
</
template
>
</td>
</td>
<td>
<td>
{{childItem.RebateRatio}} %
{{childItem.RebateRatio}} %
</td>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"5"
>
<td
v-if=
"childIndex==0"
:rowspan=
"6"
>
{{subItem.InTangTax}}
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"6"
>
{{subItem.CityTax}}
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"6"
>
{{subItem.ParkFee}}
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"6"
>
<
template
v-if=
"subItem.TaxType==1"
>
<
template
v-if=
"subItem.TaxType==1"
>
税入
税入
</
template
>
</
template
>
...
@@ -207,10 +240,10 @@
...
@@ -207,10 +240,10 @@
税别
税别
</
template
>
</
template
>
</td>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"
5
"
>
<td
v-if=
"childIndex==0"
:rowspan=
"
6
"
>
{{hotelTotalPrice(subItem.OrderDetailsList,subItem)}}
{{hotelTotalPrice(subItem.OrderDetailsList,subItem)}}
</td>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"
5
"
>
<td
v-if=
"childIndex==0"
:rowspan=
"
6
"
>
<span
v-if=
"subItem.PayStyle === 1"
>
现付
</span>
<span
v-if=
"subItem.PayStyle === 1"
>
现付
</span>
<span
v-else-if=
"subItem.PayStyle === 2"
>
签单
</span>
<span
v-else-if=
"subItem.PayStyle === 2"
>
签单
</span>
<span
v-else-if=
"subItem.PayStyle === 4"
>
预付
</span>
<span
v-else-if=
"subItem.PayStyle === 4"
>
预付
</span>
...
@@ -220,21 +253,32 @@
...
@@ -220,21 +253,32 @@
</br>
</br>
<span
v-show=
"subItem.PayStyle==6"
>
付款团号:{{subItem.PayTypeTCNUM}}
</span>
<span
v-show=
"subItem.PayStyle==6"
>
付款团号:{{subItem.PayTypeTCNUM}}
</span>
</td>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"5"
>
<td
v-if=
"childIndex==0"
:rowspan=
"6"
>
{{subItem.Remarks}}
<span>
{{subItem.SupplierName}}
<span
v-if=
"subItem.SupplierPayType !== 0"
:style=
"{'color': subItem.SupplierPayType == 2 ? '#E95252': '#111111'}"
>
{{subItem.SupplierPayType == 2 ? '签单' : '现付'}}
</span></span>
</td>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"5"
>
<td
v-if=
"childIndex==0"
:rowspan=
"6"
>
<span>
{{subItem.SupplierName}}
<span
v-if=
"subItem.SupplierPayType !== 0"
:style=
"{'color': subItem.SupplierPayType == 2 ? '#E95252': '#111111'}"
>
{{subItem.SupplierPayType == 2 ? '签单' : '现付'}}
</span></span>
<
template
v-if=
"subItem.DMCState==1"
>
<span
style=
"color: green;"
>
地接-OK
</span>
</
template
>
<
template
v-else-if=
"subItem.DMCState==2"
>
<span
style=
"color:red;"
>
地接-暂定
</span>
</
template
>
<
template
v-else
>
<span
style=
"color:red;"
>
地接-未操作
</span>
</
template
>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"6"
>
{{subItem.Remarks}}
</td>
</td>
</tr>
</tr>
</template>
</template>
</template>
</template>
<tr
v-if=
"TotalNav.reimburseTotalPrice"
>
<tr
v-if=
"TotalNav.reimburseTotalPrice"
>
<td>
总金额
</td>
<td>
总金额
</td>
<td
colspan=
"
15
"
>
<td
colspan=
"
20
"
>
{{moneyFormat(TotalNav.reimburseTotalPrice.ExpendTotalPrice)}}
{{moneyFormat(TotalNav.reimburseTotalPrice.ExpendTotalPrice)}}
</td>
</td>
</tr>
</tr>
</table>
</table>
<table
class=
"leaderReimbursementTable"
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
>
<table
class=
"leaderReimbursementTable"
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
>
...
@@ -305,10 +349,6 @@
...
@@ -305,10 +349,6 @@
<td
colspan=
"11"
>
<td
colspan=
"11"
>
{{moneyFormat(TotalNav.reimburseTotalPrice.IncomeTotalPrice)}}
{{moneyFormat(TotalNav.reimburseTotalPrice.IncomeTotalPrice)}}
</td>
</td>
<!-- <td>签单/预付/抵扣总金额</td>
<td colspan="5">
{{moneyFormat(TotalNav.reimburseTotalPrice.TipTotalPrice)}}
</td> -->
</tr>
</tr>
</table>
</table>
...
@@ -381,12 +421,7 @@
...
@@ -381,12 +421,7 @@
<td
colspan=
"11"
>
<td
colspan=
"11"
>
{{moneyFormat(TotalNav.reimburseTotalPrice.OtherTotalPrice)}}
{{moneyFormat(TotalNav.reimburseTotalPrice.OtherTotalPrice)}}
</td>
</td>
<!-- <td>签单/预付/抵扣总金额</td>
<td colspan="5">
{{moneyFormat(TotalNav.reimburseTotalPrice.PlanTotalPrice)}}
</td> -->
</tr>
</tr>
</table>
</table>
<table
class=
"leaderReimbursementTable"
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
>
<table
class=
"leaderReimbursementTable"
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
>
<tr>
<tr>
...
@@ -497,8 +532,8 @@
...
@@ -497,8 +532,8 @@
showZhan
:
true
,
showZhan
:
true
,
showBtnList
:
false
,
showBtnList
:
false
,
showCaozuoTime
:
true
,
showCaozuoTime
:
true
,
ShowTaxType
:
true
,
//显示税入税别
ShowTaxType
:
true
,
//显示税入税别
ShowRebateRatio
:
true
,
//显示返佣比列
ShowRebateRatio
:
true
,
//显示返佣比列
},
},
}
}
},
},
...
@@ -667,7 +702,7 @@
...
@@ -667,7 +702,7 @@
obj
.
forEach
(
x
=>
{
obj
.
forEach
(
x
=>
{
if
(
subItem
.
TaxType
==
2
)
{
if
(
subItem
.
TaxType
==
2
)
{
if
(
x
.
PayStyle
===
1
)
{
if
(
x
.
PayStyle
===
1
)
{
totalPrice
+=
x
.
UnitPrice
*
(
x
.
BookNum
-
x
.
HotelDiscount
)
*
(
1
+
0.08
-
x
.
RebateRatio
/
100
)
totalPrice
+=
x
.
UnitPrice
*
(
x
.
BookNum
-
x
.
HotelDiscount
)
*
(
1
+
0.08
-
x
.
RebateRatio
/
100
)
}
else
{
}
else
{
totalPrice
+=
0
totalPrice
+=
0
}
}
...
@@ -731,7 +766,7 @@
...
@@ -731,7 +766,7 @@
this
.
picIsShow
=
true
this
.
picIsShow
=
true
},
},
peopleStrToWord
(
str
)
{
peopleStrToWord
(
str
)
{
if
(
str
==
1
)
if
(
str
==
1
)
return
'大人'
return
'大人'
if
(
str
==
2
)
if
(
str
==
2
)
return
'中人'
return
'中人'
...
@@ -767,7 +802,6 @@
...
@@ -767,7 +802,6 @@
}
}
})
})
this
.
nav
=
nav
;
this
.
nav
=
nav
;
console
.
log
(
this
.
nav
,
'navvvvvvvv'
);
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
)
this
.
Error
(
res
.
data
.
message
)
}
}
...
@@ -791,7 +825,7 @@
...
@@ -791,7 +825,7 @@
this
.
loading
=
false
;
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
list
=
res
.
data
.
data
;
this
.
list
=
res
.
data
.
data
;
console
.
log
(
"this.list"
,
this
.
list
);
console
.
log
(
"this.list"
,
this
.
list
);
this
.
UseCount
=
this
.
list
.
UseCount
;
this
.
UseCount
=
this
.
list
.
UseCount
;
if
(
this
.
list
.
OtherOrderReportList
.
OtherList
&&
this
.
list
.
OtherOrderReportList
.
OtherList
.
length
>
0
)
{
if
(
this
.
list
.
OtherOrderReportList
.
OtherList
&&
this
.
list
.
OtherOrderReportList
.
OtherList
.
length
>
0
)
{
this
.
list
.
OtherOrderReportList
.
OtherList
.
forEach
(
x
=>
{
this
.
list
.
OtherOrderReportList
.
OtherList
.
forEach
(
x
=>
{
...
...
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