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
55cdb8a0
Commit
55cdb8a0
authored
5 years ago
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
酒店详情页面修改
parent
230a31fe
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
971 additions
and
19 deletions
+971
-19
roomReservationsDetails.1.vue
src/components/Hotel/roomReservationsDetails.1.vue
+908
-0
roomReservationsDetails.vue
src/components/Hotel/roomReservationsDetails.vue
+63
-18
dmcTotalTable.vue
src/components/dmc/manager/dmcTotalTable.vue
+0
-1
No files found.
src/components/Hotel/roomReservationsDetails.1.vue
0 → 100644
View file @
55cdb8a0
This diff is collapsed.
Click to expand it.
src/components/Hotel/roomReservationsDetails.vue
View file @
55cdb8a0
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
<table
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
class=
"roomReservationsDetailsTalbe"
v-loading=
"loading"
>
<table
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
class=
"roomReservationsDetailsTalbe"
v-loading=
"loading"
>
<tr>
<tr>
<th
class=
"fz14"
colspan=
"8"
>
团队信息
</th>
<th
class=
"fz14"
colspan=
"8"
>
团队信息
</th>
<th
class=
"fz14"
colspan=
"1
3
"
>
地接操作信息
</th>
<th
class=
"fz14"
colspan=
"1
6
"
>
地接操作信息
</th>
</tr>
</tr>
<tr>
<tr>
<th
width=
"120"
>
入住时间
</th>
<th
width=
"120"
>
入住时间
</th>
...
@@ -49,7 +49,11 @@
...
@@ -49,7 +49,11 @@
<th
width=
"80"
>
单价/每人
</th>
<th
width=
"80"
>
单价/每人
</th>
<th
width=
"80"
>
免减人数
</th>
<th
width=
"80"
>
免减人数
</th>
<th
width=
"80"
>
金额小计
</th>
<th
width=
"80"
>
金额小计
</th>
<th
width=
"80"
>
返佣类型
</th>
<th
width=
"80"
>
返佣
</th>
<th
width=
"80"
>
返佣
</th>
<th
width=
"80"
>
入汤税
</th>
<th
width=
"80"
>
城市税
</th>
<th
width=
"80"
>
停车费
</th>
<th
width=
"100"
>
金额总计
</th>
<th
width=
"100"
>
金额总计
</th>
<th
width=
"250"
>
付款方式
&
订团号
&
备注
</th>
<th
width=
"250"
>
付款方式
&
订团号
&
备注
</th>
<th
width=
"80"
>
操作
</th>
<th
width=
"80"
>
操作
</th>
...
@@ -57,11 +61,11 @@
...
@@ -57,11 +61,11 @@
<template
v-for=
"(item,index) in list"
>
<template
v-for=
"(item,index) in list"
>
<template
v-for=
"(subItem,subIndex) in item.HotelOrderList"
>
<template
v-for=
"(subItem,subIndex) in item.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
*item.HotelOrderList.length"
>
<td
v-if=
"childIndex==0&&subIndex==0"
:rowspan=
"
6
*item.HotelOrderList.length"
>
{{
item
.
UseTimeStr
}}
{{
item
.
UseTimeStr
}}
</td>
</td>
<!-- 酒店名称 -->
<!-- 酒店名称 -->
<td
v-if=
"childIndex==0"
:rowspan=
"
5
"
>
<td
v-if=
"childIndex==0"
:rowspan=
"
6
"
>
<table
class=
"hotelTable"
>
<table
class=
"hotelTable"
>
<tr>
<tr>
<td
colspan=
"2"
>
<td
colspan=
"2"
>
...
@@ -96,23 +100,31 @@
...
@@ -96,23 +100,31 @@
</td>
</td>
<!-- 机位总数/(Y/E/F) -->
<!-- 机位总数/(Y/E/F) -->
<td
v-if=
"childIndex==0"
:rowspan=
"
5
"
>
<td
v-if=
"childIndex==0"
:rowspan=
"
6
"
>
<p
class=
"link"
@
click=
"goUrlT('RegistrationList',item.TCID,'报名清单')"
>
<p
class=
"link"
@
click=
"goUrlT('RegistrationList',item.TCID,'报名清单')"
>
{{
flightTotal
}}
/
{{
subItem
.
HouseStatistics
.
RealityYSeatNum
}}
/
{{
subItem
.
HouseStatistics
.
RealityESeatNum
}}
/
{{
subItem
.
HouseStatistics
.
RealityFSeatNum
}}
{{
flightTotal
}}
/
{{
subItem
.
HouseStatistics
.
RealityYSeatNum
}}
/
{{
subItem
.
HouseStatistics
.
RealityESeatNum
}}
/
{{
subItem
.
HouseStatistics
.
RealityFSeatNum
}}
</p>
</p>
</td>
</td>
<!-- 占床/不占床 -->
<!-- 占床/不占床 -->
<td
v-if=
"childIndex==0"
:rowspan=
"
5
"
>
<td
v-if=
"childIndex==0"
:rowspan=
"
6
"
>
<p
class=
"link"
@
click=
"goUrlT('passengerHouse',item.TCIDS,'房间分配')"
>
<p
class=
"link"
@
click=
"goUrlT('passengerHouse',item.TCIDS,'房间分配')"
>
{{
subItem
.
HouseStatistics
.
NeedBed
}}
/
{{
subItem
.
HouseStatistics
.
NoNeedBed
}}
</p>
{{
subItem
.
HouseStatistics
.
NeedBed
}}
/
{{
subItem
.
HouseStatistics
.
NoNeedBed
}}
</p>
</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>
{{
subItem
.
HouseStatistics
.
HouseTypeList
[
childIndex
].
HouseTypeName
}}
{{
subItem
.
HouseStatistics
.
HouseTypeList
[
childIndex
].
HouseTypeName
}}
<template
v-if=
"childIndex==4"
>
<template
v-if=
"subItem.DriverGuideIsRebate==1"
>
<br
/>
返佣
</
template
>
<
template
v-else-if=
"subItem.DriverGuideIsRebate==0"
>
<br
/><span
style=
"color:red;"
>
不返佣
</span>
</
template
>
</template>
</td>
</td>
<!-- 房间数 -->
<!-- 房间数 -->
<td>
<td>
...
@@ -122,7 +134,7 @@
...
@@ -122,7 +134,7 @@
<td>
<td>
{{subItem.HouseStatistics.HouseTypeList[childIndex].HouseGuestNum}}
{{subItem.HouseStatistics.HouseTypeList[childIndex].HouseGuestNum}}
</td>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"
5
"
>
<td
v-if=
"childIndex==0"
:rowspan=
"
6
"
>
<table
class=
"hotelTable"
>
<table
class=
"hotelTable"
>
<tr>
<tr>
<td
width=
"70"
style=
"text-align:center;"
colspan=
"2"
>
<td
width=
"70"
style=
"text-align:center;"
colspan=
"2"
>
...
@@ -176,12 +188,10 @@
...
@@ -176,12 +188,10 @@
<el-input
class=
'w40 tcenter'
maxlength=
"2"
@
keyup
.
native=
"checkPrice(childItem,'HouseTypeCount')"
<el-input
class=
'w40 tcenter'
maxlength=
"2"
@
keyup
.
native=
"checkPrice(childItem,'HouseTypeCount')"
v-model=
'childItem.HouseTypeCount'
:disabled=
"childIndex<4?true:false"
></el-input>
v-model=
'childItem.HouseTypeCount'
:disabled=
"childIndex<4?true:false"
></el-input>
</td>
</td>
<td>
<td>
<el-input
class=
'w40 tcenter'
maxlength=
"2"
@
keyup
.
native=
"checkInteger(childItem,'BookNum')"
<el-input
class=
'w40 tcenter'
maxlength=
"2"
@
keyup
.
native=
"checkInteger(childItem,'BookNum')"
@
input=
"calculationPrice(subItem)"
v-model=
'childItem.BookNum'
:disabled=
"childIndex<4?true:false"
>
@
input=
"calculationPrice(subItem)"
v-model=
'childItem.BookNum'
:disabled=
"childIndex<4?true:false"
>
</el-input>
</el-input>
</td>
</td>
<!-- 尚差房间数 -->
<!-- 尚差房间数 -->
<td>
<td>
...
@@ -207,21 +217,45 @@
...
@@ -207,21 +217,45 @@
<td
style=
"white-space:nowrap;"
>
<td
style=
"white-space:nowrap;"
>
{{childItem.UnitPrice*(childItem.BookNum-childItem.HotelDiscount)}}
{{childItem.UnitPrice*(childItem.BookNum-childItem.HotelDiscount)}}
</td>
</td>
<!-- 返佣类型 -->
<td
style=
"white-space:nowrap;"
v-if=
"childIndex==0"
:rowspan=
"6"
>
<
template
v-if=
"subItem.RebateType==1"
>
含税
</
template
>
<
template
v-else
>
<span
style=
"color:red"
>
不含税
</span>
</
template
>
</td>
<!--返佣-->
<!--返佣-->
<td>
<td>
<p
class=
"pHouseStyle link"
>
<
template
v-if=
"childIndex==4 && subItem.DriverGuideIsRebate==0"
>
<el-input
class=
'w40'
maxlength=
"2"
@
keyup
.
native=
"checkInteger(childItem,'RebateRatio')"
v-model=
'childItem.RebateRatio'
@
input=
"calculationPrice(subItem)"
:disabled=
"true"
></el-input>
%
</
template
>
<
template
v-else
>
<el-input
class=
'w40'
maxlength=
"2"
@
keyup
.
native=
"checkInteger(childItem,'RebateRatio')"
<el-input
class=
'w40'
maxlength=
"2"
@
keyup
.
native=
"checkInteger(childItem,'RebateRatio')"
v-model=
'childItem.RebateRatio'
@
input=
"calculationPrice(subItem)"
v-model=
'childItem.RebateRatio'
@
input=
"calculationPrice(subItem)"
:disabled=
"IsEditHotel==0?true:false"
></el-input>
%
:disabled=
"IsEditHotel==0?true:false"
></el-input>
%
<span
style=
"display:none;"
class=
"spanlink"
@
click=
"goUrl('HotelInfo',childItem,'酒店管理')"
>
设置
</span>
</
template
>
</p>
</td>
<!-- 入汤税 -->
<td
style=
"white-space:nowrap;"
v-if=
"childIndex==0"
:rowspan=
"6"
>
{{subItem.InTangTax}}
</td>
<!-- 城市税 -->
<td
style=
"white-space:nowrap;"
v-if=
"childIndex==0"
:rowspan=
"6"
>
{{subItem.CityTax}}
</td>
<!-- 停车费 -->
<td
style=
"white-space:nowrap;"
v-if=
"childIndex==0"
:rowspan=
"6"
>
{{subItem.ParkFee}}
</td>
</td>
<!-- 金额总计 -->
<!-- 金额总计 -->
<td
v-if=
"childIndex==0"
:rowspan=
"
5
"
style=
"white-space:nowrap;"
>
<td
v-if=
"childIndex==0"
:rowspan=
"
6
"
style=
"white-space:nowrap;"
>
{{subItem.TotalPrice}}
{{subItem.TotalPrice}}
</td>
</td>
<!-- 付款方式 -->
<!-- 付款方式 -->
<td
v-if=
"childIndex==0"
:rowspan=
"
5
"
>
<td
v-if=
"childIndex==0"
:rowspan=
"
6
"
>
<table
class=
"hotelTable"
>
<table
class=
"hotelTable"
>
<tr>
<tr>
<td
width=
"70"
style=
"text-align:right;"
>
订房状态:
</td>
<td
width=
"70"
style=
"text-align:right;"
>
订房状态:
</td>
...
@@ -609,7 +643,7 @@
...
@@ -609,7 +643,7 @@
},
},
getList
()
{
getList
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
this
.
apipost
(
'dmcstatistics_get_GetHotelStaticsDetail'
,
{
this
.
apipost
(
'dmcstatistics_get_GetHotelStaticsDetail
_V2
'
,
{
TCIDs
:
this
.
$route
.
query
.
id
,
TCIDs
:
this
.
$route
.
query
.
id
,
NewCombinationNum
:
this
.
$route
.
query
.
NewCombinationNum
NewCombinationNum
:
this
.
$route
.
query
.
NewCombinationNum
},
res
=>
{
},
res
=>
{
...
@@ -651,15 +685,26 @@
...
@@ -651,15 +685,26 @@
},
},
calculationPrice
(
obj
)
{
calculationPrice
(
obj
)
{
let
totalPrice
=
0
;
let
totalPrice
=
0
;
obj
.
OrderDetailsList
.
forEach
(
item
=>
{
obj
.
OrderDetailsList
.
forEach
(
(
item
,
index
)
=>
{
//税别
//税别
if
(
obj
.
TaxType
==
2
)
{
if
(
obj
.
TaxType
==
2
)
{
totalPrice
+=
item
.
UnitPrice
*
(
item
.
BookNum
-
item
.
HotelDiscount
)
*
(
1
+
0.08
-
item
.
RebateRatio
/
if
(
index
==
4
)
{
100
);
if
(
obj
.
DriverGuideIsRebate
==
1
)
{
totalPrice
+=
item
.
UnitPrice
*
(
item
.
BookNum
-
item
.
HotelDiscount
)
*
(
1
+
0.08
-
item
.
RebateRatio
/
100
);
}
else
{
totalPrice
+=
item
.
UnitPrice
*
(
item
.
BookNum
-
item
.
HotelDiscount
)
*
(
1
-
item
.
RebateRatio
/
100
);
}
}
else
{
totalPrice
+=
item
.
UnitPrice
*
(
item
.
BookNum
-
item
.
HotelDiscount
)
*
(
1
+
0.08
-
item
.
RebateRatio
/
100
);
}
}
else
{
}
else
{
totalPrice
+=
item
.
UnitPrice
*
(
item
.
BookNum
-
item
.
HotelDiscount
)
*
(
1
-
item
.
RebateRatio
/
100
);
totalPrice
+=
item
.
UnitPrice
*
(
item
.
BookNum
-
item
.
HotelDiscount
)
*
(
1
-
item
.
RebateRatio
/
100
);
}
}
})
})
totalPrice
+=
obj
.
ParkFee
+
obj
.
CityTax
+
obj
.
InTangTax
;
obj
.
TotalPrice
=
totalPrice
.
toFixed
(
2
);
obj
.
TotalPrice
=
totalPrice
.
toFixed
(
2
);
this
.
$forceUpdate
();
this
.
$forceUpdate
();
},
},
...
...
This diff is collapsed.
Click to expand it.
src/components/dmc/manager/dmcTotalTable.vue
View file @
55cdb8a0
...
@@ -465,7 +465,6 @@
...
@@ -465,7 +465,6 @@
style=
"padding-top:5px;padding-bottom:4px;"
>
style=
"padding-top:5px;padding-bottom:4px;"
>
地接对供应商备注:
{{
outItem
.
PriceCommonList
[
index
].
SupplierRemarks
}}
地接对供应商备注:
{{
outItem
.
PriceCommonList
[
index
].
SupplierRemarks
}}
</div>
</div>
<div
v-show=
"outItem.PriceCommonList[0].SupplierToDmcRemarks!=''"
class=
"colorE95252"
<div
v-show=
"outItem.PriceCommonList[0].SupplierToDmcRemarks!=''"
class=
"colorE95252"
style=
"padding-top:5px;padding-bottom:4px;"
>
style=
"padding-top:5px;padding-bottom:4px;"
>
供应商对地接备注:
{{
outItem
.
PriceCommonList
[
index
].
SupplierToDmcRemarks
}}
供应商对地接备注:
{{
outItem
.
PriceCommonList
[
index
].
SupplierToDmcRemarks
}}
...
...
This diff is collapsed.
Click to expand it.
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