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
fa833875
Commit
fa833875
authored
Sep 24, 2025
by
liudong1993
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
cedd83ac
607c5387
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
9 deletions
+17
-9
roomSure.vue
src/components/Hotel/roomSure.vue
+17
-9
No files found.
src/components/Hotel/roomSure.vue
View file @
fa833875
...
@@ -87,6 +87,13 @@
...
@@ -87,6 +87,13 @@
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"出发日期"
prop=
"StartDate"
width=
"150"
>
<
template
#
default=
"{row}"
>
<div
v-if=
"row.isFirst"
class=
"w120 link"
>
<p
@
click=
"goUrlT('productQuery', row.parent.TCNUM, '产品查询')"
class=
"hlink"
>
{{
row
.
parent
.
StartDate
}}
</p>
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"出团公司"
prop=
"OutBranchName"
width=
"120"
>
<el-table-column
label=
"出团公司"
prop=
"OutBranchName"
width=
"120"
>
<
template
#
default=
"{row}"
>
<
template
#
default=
"{row}"
>
...
@@ -153,11 +160,14 @@
...
@@ -153,11 +160,14 @@
<el-table-column
label=
"操作"
prop=
"actions"
width=
"200"
>
<el-table-column
label=
"操作"
prop=
"actions"
width=
"200"
>
<
template
#
default=
"{row}"
>
<
template
#
default=
"{row}"
>
<div
v-if=
"row.isFirst"
>
<div
v-if=
"row.isFirst"
>
<el-link
v-if=
"!row.parent.IsEdit"
type=
"primary"
@
click=
"row.parent.IsEdit = true"
>
修改
</el-link>
<template
v-if=
"row.parent.IsEditHotel"
>
<el-button
type=
"text"
v-if=
"row.parent.IsEdit"
@
click=
"saveBookNum(row.parent)"
:loading=
"saveLoading"
>
保存
<el-link
v-if=
"!row.parent.IsEdit"
type=
"primary"
@
click=
"row.parent.IsEdit = true"
>
修改
</el-link>
</el-button>
<el-button
type=
"text"
v-if=
"row.parent.IsEdit"
@
click=
"saveBookNum(row.parent)"
:loading=
"saveLoading"
>
<el-button
type=
"text"
style=
"color:red"
v-if=
"row.parent.IsEdit"
@
click=
"row.parent.IsEdit = false"
>
关闭
保存
</el-button>
</el-button>
<el-button
type=
"text"
style=
"color:red"
v-if=
"row.parent.IsEdit"
@
click=
"row.parent.IsEdit = false"
>
关闭
</el-button>
</
template
>
</div>
</div>
</template>
</template>
</el-table-column>
</el-table-column>
...
@@ -274,7 +284,7 @@
...
@@ -274,7 +284,7 @@
// 需要合并的列(根据上面 el-table-column 的顺序):0..8 以及最后一列动作 (共 10 列)
// 需要合并的列(根据上面 el-table-column 的顺序):0..8 以及最后一列动作 (共 10 列)
// 我们只按列属性判断,合并那些基于父级显示的列
// 我们只按列属性判断,合并那些基于父级显示的列
const
mergeCols
=
[
'DMCNum'
,
'TCNUM'
,
'OutBranchName'
,
'LeaderName'
,
'GuideName'
,
'LtName'
,
'seat'
,
'UseTime'
,
const
mergeCols
=
[
'DMCNum'
,
'TCNUM'
,
'OutBranchName'
,
'LeaderName'
,
'GuideName'
,
'LtName'
,
'seat'
,
'UseTime'
,
'NewHotelName'
,
'actions'
'NewHotelName'
,
'actions'
,
'StartDate'
];
];
if
(
row
.
isFirst
&&
mergeCols
.
includes
(
column
.
property
))
{
if
(
row
.
isFirst
&&
mergeCols
.
includes
(
column
.
property
))
{
return
[
span
,
1
];
return
[
span
,
1
];
...
@@ -470,9 +480,7 @@
...
@@ -470,9 +480,7 @@
</
script
>
</
script
>
<
style
>
<
style
>
.ownScrollbarStyle
.hlink
{
.ownScrollbarStyle
.hlink
{
text-decoration
:
underline
;
text-decoration
:
underline
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
...
...
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