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
ff23ec63
Commit
ff23ec63
authored
Sep 16, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
38fffdb4
b3ec3692
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
68 additions
and
19 deletions
+68
-19
leaderReimbursement.vue
src/components/LeaderManagement/leaderReimbursement.vue
+1
-1
TravelpassengerList.vue
...mponents/TravelManager/TravelList/TravelpassengerList.vue
+67
-18
No files found.
src/components/LeaderManagement/leaderReimbursement.vue
View file @
ff23ec63
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
<td>
{{
NewCombinationNum
}}
</td>
<td>
{{
NewCombinationNum
}}
</td>
<td>
{{
item
.
FlightDate
}}
</td>
<td>
{{
item
.
FlightDate
}}
</td>
<td>
{{
item
.
DayNum
}}
天
</td>
<td>
{{
item
.
DayNum
}}
天
</td>
<td>
{{
item
.
GuestNum
}}
人
</td>
<td>
{{
item
.
GuestNum
}}
+
{{
item
.
LeaderOrderNum
}}
人
</td>
<td>
{{
item
.
LeaderName
}}
</td>
<td>
{{
item
.
LeaderName
}}
</td>
<td>
{{
item
.
GuideName
}}
</td>
<td>
{{
item
.
GuideName
}}
</td>
<td>
<td>
...
...
src/components/TravelManager/TravelList/TravelpassengerList.vue
View file @
ff23ec63
...
@@ -65,6 +65,17 @@
...
@@ -65,6 +65,17 @@
text-align
:
center
;
text-align
:
center
;
margin
:
10px
;
margin
:
10px
;
}
}
.PassengerList
.disClick
{
background-color
:
#d1d1d1
;
color
:
#fff
;
border
:
1px
solid
#d1d1d1
;
}
.PassengerList
.disClick
:hover
{
background-color
:
#d1d1d1
!important
;
cursor
:
default
!important
;
box-shadow
:
none
!important
;
}
</
style
>
</
style
>
...
@@ -136,11 +147,17 @@
...
@@ -136,11 +147,17 @@
</el-select>
</el-select>
</td>
</td>
<td>
<td>
<el-select
v-model=
"subItem.HouseType"
placeholder=
"请选择"
@
change=
"changeRmType(subItem, subIndex)"
v-if=
"subItem.IsLeaderOrder==1"
>
<
!--
<
el-select
v-model=
"subItem.HouseType"
placeholder=
"请选择"
@
change=
"changeRmType(subItem, subIndex)"
v-if=
"subItem.IsLeaderOrder==1"
>
<el-option
:disabled=
"(subItem.HouseType == 1 && IsLeaderGuide == 1) || allDIs"
<el-option
:disabled=
"(subItem.HouseType == 1 && IsLeaderGuide == 1) || allDIs"
v-for=
"(hs, hsIndex) in HouseTypeList"
:key=
"hsIndex"
:label=
"hs.HouseName"
:value=
"hs.HouseType"
>
v-for=
"(hs, hsIndex) in HouseTypeList"
:key=
"hsIndex"
:label=
"hs.HouseName"
:value=
"hs.HouseType"
>
</el-option>
</el-option>
</el-select>
-->
<el-select
v-model=
"subItem.HouseType"
placeholder=
"请选择"
@
change=
"changeRmType1(subItem, subIndex,subItem.HouseType)"
v-if=
"subItem.IsLeaderOrder==1"
>
<el-option
:disabled=
"(hs.disabled && IsLeaderGuide == 1) || allDIs"
v-for=
"(hs, hsIndex) in HouseTypeList"
:key=
"hsIndex"
:label=
"hs.HouseName"
:value=
"hs.HouseType"
>
</el-option>
</el-select>
</el-select>
<el-select
v-model=
"subItem.HouseType"
placeholder=
"请选择"
@
change=
"changeRmType(subItem, subIndex)"
v-else
>
<el-select
v-model=
"subItem.HouseType"
placeholder=
"请选择"
@
change=
"changeRmType(subItem, subIndex)"
v-else
>
<el-option
:disabled=
"(subItem.HouseType == 1 && IsLeaderGuide == 1) || allDIs"
<el-option
:disabled=
"(subItem.HouseType == 1 && IsLeaderGuide == 1) || allDIs"
v-for=
"(hs, hsIndex) in LeaderHouseList"
:key=
"hsIndex"
:label=
"hs.HouseName"
:value=
"hs.HouseType"
>
v-for=
"(hs, hsIndex) in LeaderHouseList"
:key=
"hsIndex"
:label=
"hs.HouseName"
:value=
"hs.HouseType"
>
...
@@ -170,8 +187,9 @@
...
@@ -170,8 +187,9 @@
<td>
{{
subItem
.
VisaTypeStr
}}
{{
subItem
.
VisaTypeStr
==
1
?
'拒签'
:
"正常"
}}
</td>
<td>
{{
subItem
.
VisaTypeStr
}}
{{
subItem
.
VisaTypeStr
==
1
?
'拒签'
:
"正常"
}}
</td>
</tr>
</tr>
<tr
v-if=
"!allDIs"
style=
"height:50px; line-height:50px;"
>
<tr
v-if=
"!allDIs"
style=
"height:50px; line-height:50px;"
>
<td
style=
"text-align:right"
colspan=
"23"
><input
type=
"button"
value=
"保存"
class=
"leader2Btn"
<td
style=
"text-align:right"
colspan=
"23"
>
@
click=
"saveOPSetGuestHouse"
></td>
<input
type=
"button"
value=
"保存"
:class=
"
{'disClick':!isSubmit}" class="leader2Btn" @click="saveOPSetGuestHouse">
</td>
</tr>
</tr>
</tbody>
</tbody>
<!--单机票和自由行-->
<!--单机票和自由行-->
...
@@ -245,7 +263,11 @@
...
@@ -245,7 +263,11 @@
numberList
:
[],
numberList
:
[],
dataList
:
[],
dataList
:
[],
otherList
:
[],
//单机票和自由行列表
otherList
:
[],
//单机票和自由行列表
//只有两个项、
twoList
:[],
allDIs
:
false
,
allDIs
:
false
,
//验证重复提交
isSubmit
:
true
,
};
};
},
},
methods
:
{
methods
:
{
...
@@ -266,6 +288,26 @@
...
@@ -266,6 +288,26 @@
err
=>
{}
err
=>
{}
);
);
},
},
// 修改类型1
changeRmType1
:
function
(
obj
,
index
,
type
)
{
if
(
type
==
1
||
type
==
6
){
this
.
HouseTypeList
.
forEach
((
x
,
index
)
=>
{
if
(
index
!=
0
&&
index
!=
5
){
x
.
disabled
=
true
}
})
}
let
list
=
this
.
dataList
;
for
(
let
i
=
0
;
i
<
list
.
length
;
i
++
)
{
if
(
obj
.
HouseNo
===
list
[
i
].
HouseNo
)
{
list
[
i
].
HouseType
=
obj
.
HouseType
list
[
i
].
SingleRoomType
=
obj
.
HouseType
}
}
list
=
list
.
sort
(
this
.
compare
)
this
.
dataList
=
list
;
},
// 修改类型
// 修改类型
changeRmType
:
function
(
obj
,
index
)
{
changeRmType
:
function
(
obj
,
index
)
{
let
list
=
this
.
dataList
;
let
list
=
this
.
dataList
;
...
@@ -304,19 +346,23 @@
...
@@ -304,19 +346,23 @@
},
},
//保存分房
//保存分房
saveOPSetGuestHouse
:
function
()
{
saveOPSetGuestHouse
:
function
()
{
if
(
this
.
isSubmit
)
{
this
.
isSubmit
=
false
;
this
.
apipost
(
this
.
apipost
(
"travel_get_OPSetGuestHouse"
,
"travel_get_OPSetGuestHouse"
,
this
.
dataList
,
this
.
dataList
,
res
=>
{
res
=>
{
this
.
isSubmit
=
true
;
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
$message
.
s
uccess
(
'操作成功'
)
this
.
S
uccess
(
'操作成功'
)
this
.
getList
()
this
.
getList
()
}
else
{
}
else
{
this
.
$message
.
e
rror
(
'操作失败'
)
this
.
E
rror
(
'操作失败'
)
}
}
},
},
err
=>
{}
err
=>
{}
);
);
}
},
},
goUrlTravelControl
(
name
,
path
,
id
,
tcmun
)
{
goUrlTravelControl
(
name
,
path
,
id
,
tcmun
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
...
@@ -367,12 +413,16 @@
...
@@ -367,12 +413,16 @@
this
.
QueryMsg
.
loading
=
false
;
this
.
QueryMsg
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
HouseTypeList
=
res
.
data
.
data
;
this
.
HouseTypeList
=
res
.
data
.
data
;
console
.
log
(
this
.
HouseTypeList
,
'houseType'
);
this
.
LeaderHouseList
=
[];
this
.
LeaderHouseList
=
[];
this
.
twoList
=
[];
this
.
HouseTypeList
.
forEach
(
x
=>
{
this
.
HouseTypeList
.
forEach
(
x
=>
{
x
.
disabled
=
false
;
if
(
x
.
HouseType
!=
6
){
if
(
x
.
HouseType
!=
6
){
this
.
LeaderHouseList
.
push
(
x
)
this
.
LeaderHouseList
.
push
(
x
)
}
}
if
(
x
.
HouseType
==
1
||
x
.
HouseType
==
6
){
this
.
twoList
.
push
(
x
);
}
})
})
}
}
},
},
...
@@ -434,7 +484,6 @@
...
@@ -434,7 +484,6 @@
}
}
this
.
dataList
=
list
this
.
dataList
=
list
this
.
numberList
=
numberList
this
.
numberList
=
numberList
console
.
log
(
this
.
dataList
,
'datalist'
);
}
}
},
},
err
=>
{}
err
=>
{}
...
...
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