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
7839d173
Commit
7839d173
authored
Mar 29, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
c41fd0c2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
17 deletions
+24
-17
roomReservations.vue
src/components/Hotel/roomReservations.vue
+20
-16
lineManagement.vue
src/components/systemManagement/lineManagement.vue
+4
-1
No files found.
src/components/Hotel/roomReservations.vue
View file @
7839d173
...
...
@@ -291,28 +291,32 @@
}
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)
//
}
})
})
this
.
list
.
forEach
(
x
=>
{
x
.
StaticsReportList
.
forEach
(
y
=>
{
y
.
CommonReport
.
newHotel
=
[];
y
.
CommonReport
.
HotelOrderListReport
.
forEach
(
z
=>
{
z
.
HotelOrderList
.
forEach
(
q
=>
{
y
.
CommonReport
.
newHotel
.
push
(
q
);
})
})
if
(
y
.
CommonReport
.
HotelOrderListReport
!=
null
&&
y
.
CommonReport
.
HotelOrderListReport
.
length
>
0
)
{
y
.
CommonReport
.
HotelOrderListReport
.
forEach
(
z
=>
{
z
.
HotelOrderList
.
forEach
(
q
=>
{
y
.
CommonReport
.
newHotel
.
push
(
q
);
})
})
}
y
.
colNum
=
9
+
y
.
CommonReport
.
newHotel
.
length
;
})
})
...
...
src/components/systemManagement/lineManagement.vue
View file @
7839d173
...
...
@@ -337,7 +337,9 @@ input[type="number"] {
</el-col>
<el-col
:span=
"2"
>
<div
class=
"_LowDisMoney"
>
<div>
{{
item
.
lineDirection
==
1
?
'入境'
:
'出境'
}}
</div>
<div
v-if=
"item.lineDirection==1"
>
入境
</div>
<div
v-else-if=
"item.lineDirection==2"
>
出境
</div>
<div
v-else-if=
"item.lineDirection==3"
>
一日游
</div>
<div>
线路方向
</div>
</div>
</el-col>
...
...
@@ -495,6 +497,7 @@ input[type="number"] {
<el-select
v-model=
"addMsg.LineDirection"
:placeholder=
"$t('pub.pleaseSel')"
class=
"w290"
>
<el-option
label=
'入境'
:value=
'1'
></el-option>
<el-option
label=
'出境'
:value=
'2'
></el-option>
<el-option
label=
'一日游'
:value=
'3'
></el-option>
</el-select>
</el-form-item>
</el-col>
...
...
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