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
26a22137
Commit
26a22137
authored
Dec 09, 2025
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
e375549c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
21 deletions
+39
-21
commonHotelInfo.vue
src/components/commonPage/commonHotelInfo.vue
+39
-21
No files found.
src/components/commonPage/commonHotelInfo.vue
View file @
26a22137
...
...
@@ -25,10 +25,12 @@
<
template
>
<div>
<div>
<table
width=
"100%"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
class=
"singeRowTable"
>
<tr
v-if=
"showHotelObj.showPrice"
>
<td>
{{
$t
(
'salesModule.CompanyNum'
)
}}
</td>
<td
colspan=
"4"
style=
"text-align:left;"
>
<span
style=
"padding-left:5px;"
>
{{
TCNUM
}}
(
{{
TCID
}}
)
</span>
...
...
@@ -48,7 +50,7 @@
<th
width=
"120"
>
{{
$t
(
'salesModule.OPstatus'
)
}}
</th>
<th
width=
"120"
>
{{
$t
(
'salesModule.DJstatus'
)
}}
</th>
<th
width=
"110"
v-if=
"showHotelObj.showPrice"
>
{{
$t
(
'restaurant.res_Number'
)
}}
<br
/>
{{
$t
(
'Operation.Op_price'
)
}}
</th>
{{
$t
(
'restaurant.res_Number'
)
}}
<br
/>
{{
$t
(
'Operation.Op_price'
)
}}
</th>
<th
width=
"120"
v-if=
"showHotelObj.showPay"
>
{{
$t
(
'fnc.fkfangshi'
)
}}
<br
/>
{{
$t
(
'restaurant.res_commissionColumn'
)
}}
</th>
<th
width=
"130"
v-if=
"showHotelObj.showZhan"
>
{{
$t
(
'salesModule.UseRoomTime'
)
}}
</th>
...
...
@@ -186,13 +188,13 @@
库存:{{hotelSubItem.Inventory}}
<br
/>
<el-popover
placement=
"right"
width=
"460"
trigger=
"click"
>
<el-table
:data=
"hotelSubItem.UseList"
>
<el-table
:data=
"hotelSubItem.UseList"
>
<el-table-column
width=
"160"
property=
"CreateTime"
label=
"占房时间"
></el-table-column>
<el-table-column
width=
"80"
property=
"UseNum"
label=
"使用数量"
></el-table-column>
<el-table-column
width=
"210"
property=
"TCNUM"
label=
"使用团号"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
TCNUM
}}
(
{{
scope
.
row
.
TCID
}}
)
<br/>
<br
/>
{{
scope
.
row
.
DMCNum
}}
</
template
>
</el-table-column>
...
...
@@ -216,11 +218,22 @@
</td>
</tr>
</template>
<tfoot
v-if=
"showHotelObj.showPrice"
>
<tr>
<td
colspan=
"6"
style=
"text-align:right; font-weight:bold;"
>
合计:
</td>
<td
colspan=
"6"
style=
"text-align:left; font-weight:bold; padding-left:5px;"
>
{{getTotalPrice()}}
</td>
</tr>
</tfoot>
</table>
</div>
<div>
<table
width=
"100%"
class=
"comHotelOperation"
v-if=
"showHotelObj.showCaozuoTime"
>
<
template
v-if=
"HotelObj&&HotelObj.length>0"
>
<tr>
<td
class=
"tdRight"
>
{{
$t
(
'salesModule.TeamTime'
)
}}
:
...
...
@@ -237,22 +250,6 @@
<span
v-else
>
{{
$t
(
'active.cl_zanwu'
)
}}
</span>
</td>
</tr>
<!--
<tr>
<td
class=
"tdRight"
>
{{
$t
(
'salesModule.UseRoomTime'
)
}}
:
</td>
<td
class=
"tdLeft"
>
<span
v-if=
"HotelObj[0].UseHotelTimeStr"
>
{{
HotelObj
[
0
].
UseHotelTimeStr
}}
</span>
<span
v-else
>
{{
$t
(
'active.cl_zanwu'
)
}}
</span>
</td>
<td
class=
"tdRight"
>
{{
$t
(
'salesModule.SPtime'
)
}}
:
</td>
<td
class=
"tdLeft"
>
<span
v-if=
"HotelObj[0].ShouPeiStatusTimeStr"
>
{{
HotelObj
[
0
].
ShouPeiStatusTimeStr
}}
</span>
<span
v-else
>
{{
$t
(
'active.cl_zanwu'
)
}}
</span>
</td>
</tr>
-->
<tr
v-if=
"showHotelObj.caiwu&&HotelObj&&HotelObj.length>0&&HotelObj[0].FrList&&HotelObj[0].FrList.length > 0"
>
<td
class=
"tdRight"
>
{{
$t
(
'salesModule.DJNUM'
)
}}
:
...
...
@@ -265,7 +262,7 @@
</td>
</tr>
</
template
>
<
template
v-if=
"showHotelObj.showBtnList"
>
<
!-- <
template v-if="showHotelObj.showBtnList">
<tr>
<td colspan="4" style="padding:10px 0;text-align:center;">
<input type="button" class="normalBtn"
...
...
@@ -274,7 +271,8 @@
<input type="button" class="normalBtn" :value="$t('objFill.xz')" @click="DownLoadShouPeiShu()" />
</td>
</tr>
</
template
>
</template> -->
</table>
</div>
</div>
...
...
@@ -283,6 +281,7 @@
<
script
>
import
commonHotelLog
from
"../commonPage/commonHotelLog.vue"
;
export
default
{
props
:
[
"HotelObj"
,
"showHotelObj"
,
"TCID"
,
"DMCNum"
,
"TCNUM"
],
data
()
{
return
{
...
...
@@ -301,7 +300,26 @@
//日志组件
commonHotelLog
},
methods
:
{
//计算合计
getTotalPrice
()
{
let
totalPrice
=
0
;
if
(
this
.
HotelObj
&&
this
.
HotelObj
.
length
>
0
)
{
this
.
HotelObj
.
forEach
(
hotelItem
=>
{
hotelItem
.
SubList
.
forEach
(
subItem
=>
{
if
((
subItem
.
OPState
==
1
||
subItem
.
OPState
==
2
||
subItem
.
DMCState
==
1
))
{
if
(
subItem
.
CostPriceNew
>
0
)
{
totalPrice
+=
subItem
.
CostPriceNew
;
}
else
{
totalPrice
+=
subItem
.
CostPrice
;
}
}
});
});
return
totalPrice
;
}
},
//初始化参数
InitData
()
{
this
.
HotelList
=
[];
...
...
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