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
aa776075
Commit
aa776075
authored
Mar 29, 2019
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改定房管理
parent
7839d173
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
15 deletions
+14
-15
roomReservations.vue
src/components/Hotel/roomReservations.vue
+14
-15
No files found.
src/components/Hotel/roomReservations.vue
View file @
aa776075
...
...
@@ -68,8 +68,8 @@
<th
width=
"60"
>
{{
$t
(
'Airticket.Air_segment'
)
}}
</th>
<th
width=
"80"
>
{{
$t
(
'system.query_flightNum'
)
}}
</th>
<th
width=
"150"
>
起飞时间
</th>
<th
width=
"
8
0"
>
到达时间
</th>
<th
width=
"
10
0"
>
经停城市
</th>
<th
width=
"
15
0"
>
到达时间
</th>
<th
width=
"
8
0"
>
经停城市
</th>
</tr>
<tr
v-for=
"(ds,din) in item.FlightList"
:key=
"din"
style=
"text-align:center;"
>
<td
class=
"_d_name _color_666"
>
...
...
@@ -94,7 +94,7 @@
</tr>
</table>
<el-button
slot=
"reference"
class=
"normalBtn mt5"
style=
'height:24px; padding: 0 10px; background: #2AAEF2; border-color: #2AAEF2;'
>
详情
</el-button>
style=
'height:24px; padding: 0 10px; background: #2AAEF2; border-color: #2AAEF2;
color:#fff;
'
>
详情
</el-button>
</el-popover>
</div>
</td>
...
...
@@ -291,17 +291,17 @@
}
this
.
list
.
forEach
(
outItem
=>
{
outItem
.
StaticsReportList
.
forEach
(
item
=>
{
//
item.CommonReport['valueLength'] = item.CommonReport.HotelOrderListReport.length
//
if (item.CommonReport.HotelOrderListReport.length
<
res
.
data
.
data
.
pageData
.
columnsCount
)
{
//
let _cha = res.data.data.pageData.columnsCount - item.CommonReport.HotelOrderListReport.length
//
let _chaArr = new Array()
//
for (let i = 0; i
<
_cha
;
i
++
)
{
//
_chaArr.push({
//
'HotelName': ''
//
})
//
}
//
item.CommonReport.HotelOrderListReport = item.CommonReport.HotelOrderListReport.concat(_chaArr)
//
}
item
.
CommonReport
[
'valueLength'
]
=
item
.
CommonReport
.
HotelOrderListReport
.
length
if
(
item
.
CommonReport
.
HotelOrderListReport
.
length
<
res
.
data
.
data
.
pageData
.
columnsCount
)
{
let
_cha
=
res
.
data
.
data
.
pageData
.
columnsCount
-
item
.
CommonReport
.
HotelOrderListReport
.
length
let
_chaArr
=
new
Array
()
for
(
let
i
=
0
;
i
<
_cha
;
i
++
)
{
_chaArr
.
push
({
'HotelName'
:
''
})
}
item
.
CommonReport
.
HotelOrderListReport
=
item
.
CommonReport
.
HotelOrderListReport
.
concat
(
_chaArr
)
}
})
})
...
...
@@ -320,7 +320,6 @@
y
.
colNum
=
9
+
y
.
CommonReport
.
newHotel
.
length
;
})
})
console
.
log
(
"this.list2"
,
this
.
list
);
}
else
{
this
.
loading
=
false
this
.
$message
.
error
(
res
.
data
.
message
)
...
...
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