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
17da0c45
Commit
17da0c45
authored
May 24, 2019
by
huangyuanyuan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
20c3447c
1a5048d5
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
162 additions
and
40 deletions
+162
-40
invoicesManager.vue
src/components/FinancialModule/invoicesManager.vue
+26
-3
ChangeHotel.vue
src/components/Hotel/ChangeHotel.vue
+6
-2
roomQuery.vue
src/components/Hotel/roomQuery.vue
+24
-3
roomReservationsDetails.vue
src/components/Hotel/roomReservationsDetails.vue
+4
-1
RegistrationStatistics.vue
...nents/TravelManager/TravelList/RegistrationStatistics.vue
+25
-4
RegistrationStatistics_Sale.vue
.../TravelManager/TravelList/RegistrationStatistics_Sale.vue
+26
-3
BusInfo.vue
src/components/busManagement/BusInfo.vue
+35
-15
busHandBook.vue
src/components/busManagement/busHandBook.vue
+13
-7
TravelPrice.vue
...nents/newTravelmanager/TravelGroupControl/TravelPrice.vue
+3
-2
No files found.
src/components/FinancialModule/invoicesManager.vue
View file @
17da0c45
...
@@ -123,6 +123,15 @@
...
@@ -123,6 +123,15 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"4"
:gutter=
"35"
>
<el-form-item
label=
"公司"
>
<el-select
v-model=
"msg.RB_Branch_Id"
filterable
style=
"width: 130px"
>
<el-option
:value=
"-1"
:label=
"$t('pub.unlimitedSel')"
></el-option>
<el-option
v-for=
'item in companyList'
:label=
'item.BName'
:value=
'item.Id'
:key=
'item.Id'
></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"8"
:gutter=
"35"
>
<el-col
:span=
"8"
:gutter=
"35"
>
<el-form-item
label=
"申请日期"
>
<el-form-item
label=
"申请日期"
>
<el-date-picker
<el-date-picker
...
@@ -215,7 +224,7 @@
...
@@ -215,7 +224,7 @@
<div
class=
"noDataNotice"
v-if=
"dataList.length<1"
><i
class=
"iconfont icon-kong"
></i>
<p>
没有找到你需要的数据
</p></div>
<div
class=
"noDataNotice"
v-if=
"dataList.length<1"
><i
class=
"iconfont icon-kong"
></i>
<p>
没有找到你需要的数据
</p></div>
<div
v-if=
"dataList.length>0"
>
<div
v-if=
"dataList.length>0"
>
<el-pagination
<el-pagination
background
background
@
current-change=
"handleCurrentChange"
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
layout=
"total,prev, pager, next, jumper"
...
@@ -230,6 +239,8 @@ export default {
...
@@ -230,6 +239,8 @@ export default {
data
()
{
data
()
{
return
{
return
{
active
:
1
,
active
:
1
,
RB_Group_Id
:
''
,
companyList
:[],
msg
:
{
msg
:
{
TCID
:
0
,
TCID
:
0
,
TCNUM
:
''
,
TCNUM
:
''
,
...
@@ -243,6 +254,7 @@ export default {
...
@@ -243,6 +254,7 @@ export default {
eDate
:
''
,
eDate
:
''
,
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
10
,
pageSize
:
10
,
RB_Branch_Id
:
-
1
},
},
productionDate
:
[],
productionDate
:
[],
dataList
:
[],
dataList
:
[],
...
@@ -288,6 +300,7 @@ export default {
...
@@ -288,6 +300,7 @@ export default {
this
.
msg
.
eDate
=
this
.
productionDate
[
1
];
this
.
msg
.
eDate
=
this
.
productionDate
[
1
];
},
},
getPageList
:
function
()
{
getPageList
:
function
()
{
console
.
log
(
this
.
msg
.
BName
)
this
.
loading
=
true
this
.
loading
=
true
if
(
this
.
msg
.
OrderId
===
''
)
{
if
(
this
.
msg
.
OrderId
===
''
)
{
this
.
msg
.
OrderId
=
0
this
.
msg
.
OrderId
=
0
...
@@ -298,7 +311,7 @@ export default {
...
@@ -298,7 +311,7 @@ export default {
this
.
total
=
res
.
data
.
data
.
count
;
this
.
total
=
res
.
data
.
data
.
count
;
this
.
dataList
=
res
.
data
.
data
.
pageData
this
.
dataList
=
res
.
data
.
data
.
pageData
}
}
if
(
this
.
msg
.
OrderId
===
0
)
{
if
(
this
.
msg
.
OrderId
===
0
)
{
this
.
msg
.
OrderId
=
''
this
.
msg
.
OrderId
=
''
}
}
...
@@ -311,7 +324,7 @@ export default {
...
@@ -311,7 +324,7 @@ export default {
});
});
},
},
goUrlT
:
function
(
path
,
obj
,
title
){
goUrlT
:
function
(
path
,
obj
,
title
){
this
.
$router
.
push
({
name
:
path
,
query
:{
"id"
:
obj
,
blank
:
'y'
,
tab
:
title
}})
this
.
$router
.
push
({
name
:
path
,
query
:{
"id"
:
obj
,
blank
:
'y'
,
tab
:
title
}})
},
},
goUrlO
:
function
(
OrderId
)
{
goUrlO
:
function
(
OrderId
)
{
this
.
$router
.
push
({
name
:
'enrollTotal'
,
query
:
{
id
:
OrderId
,
blank
:
'y'
,
tab
:
'报名统计'
}
});
this
.
$router
.
push
({
name
:
'enrollTotal'
,
query
:
{
id
:
OrderId
,
blank
:
'y'
,
tab
:
'报名统计'
}
});
...
@@ -324,9 +337,19 @@ export default {
...
@@ -324,9 +337,19 @@ export default {
this
.
msg
.
pageIndex
=
1
;
this
.
msg
.
pageIndex
=
1
;
this
.
currentPage
=
1
;
this
.
currentPage
=
1
;
},
},
getBranchList
(){
this
.
RB_Group_Id
=
this
.
getLocalStorage
().
RB_Group_id
;
this
.
apipost
(
'admin_get_BranchGetList'
,
{
RB_Group_Id
:
this
.
RB_Group_Id
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
companyList
=
res
.
data
.
data
;
}
},
null
)
}
},
},
mounted
()
{
mounted
()
{
this
.
getPageList
();
this
.
getPageList
();
this
.
getBranchList
();
}
}
};
};
</
script
>
</
script
>
src/components/Hotel/ChangeHotel.vue
View file @
17da0c45
<
template
>
<
template
>
<div>
<div>
<div
style=
"width: 100%; overflow-x: auto;padding-bottom: 10px; "
class=
"ownScrollbarStyle"
>
<div
style=
"width: 100%; overflow-x: auto;padding-bottom: 10px; "
class=
"ownScrollbarStyle"
>
<table
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
class=
"changeHotelDetailsTalbe"
>
<table
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
class=
"changeHotelDetailsTalbe"
v-loading=
"Loading"
>
<tr>
<tr>
<th
colspan=
"14"
>
酒店信息
</th>
<th
colspan=
"14"
>
酒店信息
</th>
</tr>
</tr>
...
@@ -102,6 +102,7 @@
...
@@ -102,6 +102,7 @@
TCNUM
:
''
,
TCNUM
:
''
,
TCIDs
:
""
,
TCIDs
:
""
,
isShowBtn
:
0
,
isShowBtn
:
0
,
Loading
:
false
,
}
}
},
},
methods
:
{
methods
:
{
...
@@ -136,10 +137,12 @@
...
@@ -136,10 +137,12 @@
})
})
},
},
getList
()
{
getList
()
{
this
.
Loading
=
true
;
this
.
apipost
(
'dmcstatistics_get_GetHotelStaticsDetail'
,
{
this
.
apipost
(
'dmcstatistics_get_GetHotelStaticsDetail'
,
{
TCIDs
:
this
.
TCIDs
,
TCIDs
:
this
.
TCIDs
,
NewCombinationNum
:
this
.
TCNUM
NewCombinationNum
:
this
.
TCNUM
},
res
=>
{
},
res
=>
{
this
.
Loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
DataList
=
res
.
data
.
data
.
HotelOrderListReport
;
this
.
DataList
=
res
.
data
.
data
.
HotelOrderListReport
;
}
else
{
}
else
{
...
@@ -172,6 +175,7 @@
...
@@ -172,6 +175,7 @@
this
.
getList
();
this
.
getList
();
},
},
}
}
</
script
>
</
script
>
<
style
>
<
style
>
...
@@ -209,4 +213,4 @@
...
@@ -209,4 +213,4 @@
text-align
:
center
;
text-align
:
center
;
}
}
</
style
>
</
style
>
\ No newline at end of file
src/components/Hotel/roomQuery.vue
View file @
17da0c45
...
@@ -92,6 +92,22 @@
...
@@ -92,6 +92,22 @@
<el-option
v-for=
"item in HotelList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
></el-option>
<el-option
v-for=
"item in HotelList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
></el-option>
</el-select>
</el-select>
</span>
</span>
</li>
<li
style=
"display:none;"
>
<span>
<em>
酒店状态
</em>
<el-select
v-model=
"msg.HotelStatus"
:placeholder=
"$t('pub.pleaseSel')"
filterable
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'-1'
></el-option>
<el-option
label=
"全部OK"
:value=
'100'
></el-option>
<el-option
label=
"暂定一晚"
:value=
'1'
></el-option>
<el-option
label=
"暂定二晚"
:value=
'2'
></el-option>
<el-option
label=
"暂定三晚"
:value=
'3'
></el-option>
<el-option
label=
"暂定四晚"
:value=
'4'
></el-option>
<el-option
label=
"暂定五晚"
:value=
'5'
></el-option>
<el-option
label=
"暂定六晚"
:value=
'6'
></el-option>
<el-option
label=
"暂定七晚以上"
:value=
'7'
></el-option>
</el-select>
</span>
</li>
</li>
<li>
<li>
<input
type=
"button"
class=
"normalBtn"
value=
"查询"
@
click=
"getList();resetPageIndex()"
/>
<input
type=
"button"
class=
"normalBtn"
value=
"查询"
@
click=
"getList();resetPageIndex()"
/>
...
@@ -149,8 +165,12 @@
...
@@ -149,8 +165,12 @@
<p
class=
"pDateStyle"
>
{{
childItem
.
CheckInDateStr
}}
</p>
<p
class=
"pDateStyle"
>
{{
childItem
.
CheckInDateStr
}}
</p>
<p
@
click=
"goUrlR('HotelManagement',childItem.HotelId,'酒店管理')"
<p
@
click=
"goUrlR('HotelManagement',childItem.HotelId,'酒店管理')"
class=
"pDateStyle phoverStype ownScrollbarStyle"
style=
"height: 50px!important; overflow:auto;"
>
class=
"pDateStyle phoverStype ownScrollbarStyle"
style=
"height: 50px!important; overflow:auto;"
>
{{
childItem
.
NewHotelName
}}
<span
{{
childItem
.
NewHotelName
}}
class=
"colorE95252"
>
(
{{
childItem
.
HotelOrderState
==
1
?
"OK"
:
"暂定"
}}
)
</span>
<span
class=
"colorE95252"
>
<template
v-if=
"childItem.OPState==1"
>
[OP选房-OK]
</
template
>
<
template
v-else
>
{{
childItem
.
DMCState
==
1
?
"[地接-OK]"
:(
childItem
.
DMCState
==
0
?
"[未操作]"
:
"[暂定]"
)
}}
</
template
>
</span>
</p>
</p>
</div>
</div>
</div>
</div>
...
@@ -191,7 +211,8 @@
...
@@ -191,7 +211,8 @@
CreateBy
:
0
,
CreateBy
:
0
,
TCNUM
:
''
,
TCNUM
:
''
,
PriceStatus
:
0
,
PriceStatus
:
0
,
CombinationNum
:
''
CombinationNum
:
''
,
HotelStatus
:
-
1
,
},
},
//分公司类表
//分公司类表
companyList
:
[],
companyList
:
[],
...
...
src/components/Hotel/roomReservationsDetails.vue
View file @
17da0c45
...
@@ -305,6 +305,9 @@
...
@@ -305,6 +305,9 @@
subItem
.
HotelId
=
0
;
subItem
.
HotelId
=
0
;
subItem
.
HotelName
=
""
;
subItem
.
HotelName
=
""
;
subItem
.
OrderID
=
0
;
subItem
.
OrderID
=
0
;
subItem
.
OrderDetailsList
.
forEach
(
childItem
=>
{
childItem
.
OrderDetailsId
=
0
;
});
item
.
HotelOrderList
.
push
(
subItem
);
item
.
HotelOrderList
.
push
(
subItem
);
},
},
//删除酒店
//删除酒店
...
@@ -492,7 +495,7 @@
...
@@ -492,7 +495,7 @@
})
})
});
});
})
})
this
.
loading
=
true
this
.
loading
=
true
;
this
.
apipost
(
'dmcstatistics_get_SetHotelOrder'
,
this
.
list
,
res
=>
{
this
.
apipost
(
'dmcstatistics_get_SetHotelOrder'
,
this
.
list
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
getList
();
this
.
getList
();
...
...
src/components/TravelManager/TravelList/RegistrationStatistics.vue
View file @
17da0c45
...
@@ -149,7 +149,7 @@
...
@@ -149,7 +149,7 @@
</span>
</span>
</li>
</li>
<li>
<li>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"getList()"
/>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"
resetPageIndex(),
getList()"
/>
<button
class=
"hollowFixedBtn"
@
click=
"DownLoadFile()"
>
{{
$t
(
'adm.adm_download'
)
}}
</button>
<button
class=
"hollowFixedBtn"
@
click=
"DownLoadFile()"
>
{{
$t
(
'adm.adm_download'
)
}}
</button>
</li>
</li>
</ul>
</ul>
...
@@ -202,6 +202,17 @@
...
@@ -202,6 +202,17 @@
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
<div
class=
"noDataNotice"
v-if=
"DataList.length
<1
"
><i
class=
"iconfont icon-kong"
></i>
<p>
没有找到你需要的数据
</p></div>
<div
v-if=
"DataList.length>0"
>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
'queryMsg.pageSize'
:total=
'total'
>
</el-pagination>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -232,7 +243,9 @@
...
@@ -232,7 +243,9 @@
QEndDate
:
""
QEndDate
:
""
},
},
//数据列表
//数据列表
DataList
:
[]
DataList
:
[],
currentPage
:
0
,
total
:
0
,
};
};
},
},
methods
:
{
methods
:
{
...
@@ -285,8 +298,8 @@
...
@@ -285,8 +298,8 @@
res
=>
{
res
=>
{
this
.
queryCommonData
.
loading
=
false
;
this
.
queryCommonData
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
DataList
=
res
.
data
.
data
;
this
.
total
=
res
.
data
.
data
.
count
this
.
DataList
=
res
.
data
.
data
.
pageData
;
this
.
DataList
.
forEach
(
item
=>
{
this
.
DataList
.
forEach
(
item
=>
{
switch
(
item
.
StartCityName
)
{
switch
(
item
.
StartCityName
)
{
case
'成都'
:
case
'成都'
:
...
@@ -374,6 +387,14 @@
...
@@ -374,6 +387,14 @@
d
=
new
Date
(
ds
[
0
],
ds
[
1
]
-
1
+
m
,
_d
>
max
?
max
:
_d
);
d
=
new
Date
(
ds
[
0
],
ds
[
1
]
-
1
+
m
,
_d
>
max
?
max
:
_d
);
return
d
.
toLocaleDateString
().
match
(
/
\d
+/g
).
join
(
'-'
)
return
d
.
toLocaleDateString
().
match
(
/
\d
+/g
).
join
(
'-'
)
},
},
handleCurrentChange
:
function
(
val
)
{
//翻页
this
.
queryMsg
.
pageIndex
=
val
;
this
.
getList
();
},
resetPageIndex
:
function
(){
// 重置页码
this
.
queryMsg
.
pageIndex
=
1
;
this
.
currentPage
=
1
;
},
},
},
mounted
()
{
mounted
()
{
let
myDate
=
new
Date
();
let
myDate
=
new
Date
();
...
...
src/components/TravelManager/TravelList/RegistrationStatistics_Sale.vue
View file @
17da0c45
...
@@ -81,7 +81,7 @@
...
@@ -81,7 +81,7 @@
</span>
</span>
</li>
</li>
<li>
<li>
<input
type=
"button"
class=
"hollowFixedBtn"
value=
"查询"
@
click=
"getList()"
/>
<input
type=
"button"
class=
"hollowFixedBtn"
value=
"查询"
@
click=
"
resetPageIndex(),
getList()"
/>
<button
class=
"hollowFixedBtn"
@
click=
"DownLoadFile()"
>
下载
</button>
<button
class=
"hollowFixedBtn"
@
click=
"DownLoadFile()"
>
下载
</button>
</li>
</li>
</ul>
</ul>
...
@@ -126,6 +126,18 @@
...
@@ -126,6 +126,18 @@
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
<div
class=
"noDataNotice"
v-if=
"DataList.length
<1
"
><i
class=
"iconfont icon-kong"
></i>
<p>
没有找到你需要的数据
</p></div>
<div
v-if=
"DataList.length>0"
>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
'queryMsg.pageSize'
:total=
'total'
>
</el-pagination>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -156,7 +168,9 @@
...
@@ -156,7 +168,9 @@
QEndDate
:
""
QEndDate
:
""
},
},
//数据列表
//数据列表
DataList
:
[]
DataList
:
[],
currentPage
:
0
,
total
:
0
,
};
};
},
},
methods
:
{
methods
:
{
...
@@ -209,7 +223,8 @@
...
@@ -209,7 +223,8 @@
res
=>
{
res
=>
{
this
.
queryCommonData
.
loading
=
false
;
this
.
queryCommonData
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
DataList
=
res
.
data
.
data
;
this
.
total
=
res
.
data
.
data
.
count
this
.
DataList
=
res
.
data
.
data
.
pageData
;
this
.
DataList
.
forEach
(
item
=>
{
this
.
DataList
.
forEach
(
item
=>
{
switch
(
item
.
StartCityName
)
{
switch
(
item
.
StartCityName
)
{
case
'成都'
:
case
'成都'
:
...
@@ -289,6 +304,14 @@
...
@@ -289,6 +304,14 @@
}
}
});
});
},
},
handleCurrentChange
:
function
(
val
)
{
//翻页
this
.
queryMsg
.
pageIndex
=
val
;
this
.
getList
();
},
resetPageIndex
:
function
(){
// 重置页码
this
.
queryMsg
.
pageIndex
=
1
;
this
.
currentPage
=
1
;
},
},
},
mounted
()
{
mounted
()
{
this
.
getCompanyList
();
this
.
getCompanyList
();
...
...
src/components/busManagement/BusInfo.vue
View file @
17da0c45
...
@@ -129,6 +129,17 @@
...
@@ -129,6 +129,17 @@
background
:
#EAEAEA
!important
;
background
:
#EAEAEA
!important
;
text-align
:
center
;
text-align
:
center
;
}
}
.disClick
{
background-color
:
#d1d1d1
;
color
:
#fff
;
border
:
1px
solid
#d1d1d1
;
}
.disClick
:hover
{
background-color
:
#d1d1d1
!important
;
cursor
:
default
!important
;
box-shadow
:
none
!important
;
}
</
style
>
</
style
>
<
template
>
<
template
>
...
@@ -209,7 +220,7 @@
...
@@ -209,7 +220,7 @@
@click="UseTypeClick(childItem.Id,scope.$index,subIndex);getBusPrice(scope.row)">
{{
childItem
.
Name
}}
</span>
@click="UseTypeClick(childItem.Id,scope.$index,subIndex);getBusPrice(scope.row)">
{{
childItem
.
Name
}}
</span>
</span>
</span>
<span
style=
"width:30px;display:inline-block;"
>
<span
style=
"width:30px;display:inline-block;"
>
<a
v-if=
"subIndex>0"
@
click=
"DeleteSubItem(scope.row,subIndex)"
<a
v-if=
"subIndex>0"
@
click=
"DeleteSubItem(scope.row,subIndex)
,getBusPrice(scope.row)
"
style=
"color:blue;cursor:pointer"
>
删除
</a>
style=
"color:blue;cursor:pointer"
>
删除
</a>
</span>
</span>
<span
style=
"display:inline-block;width:30px;margin-left:5px;"
>
<span
style=
"display:inline-block;width:30px;margin-left:5px;"
>
...
@@ -339,8 +350,8 @@
...
@@ -339,8 +350,8 @@
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<div
class=
"upBtnList"
>
<div
class=
"upBtnList"
>
<input
type=
"button"
class=
"normalBtn"
@
click=
"SaveList(0)"
:disabled=
"disButton"
value=
"保存草稿"
/>
<input
type=
"button"
class=
"normalBtn"
:class=
"{'disClick':!isSubmit}"
@
click=
"SaveList(0)"
:disabled=
"disButton"
value=
"保存草稿"
/>
<input
type=
"button"
class=
"normalBtn"
@
click=
"SaveList(1)"
:disabled=
"disButton"
value=
"保存"
/>
<input
type=
"button"
class=
"normalBtn"
:class=
"{'disClick':!isSubmit}"
@
click=
"SaveList(1)"
:disabled=
"disButton"
value=
"保存"
/>
</div>
</div>
</el-form>
</el-form>
</div>
</div>
...
@@ -488,7 +499,8 @@
...
@@ -488,7 +499,8 @@
totalFlySeat
:
''
,
totalFlySeat
:
''
,
LeaderName
:
''
,
LeaderName
:
''
,
GuideName
:
''
,
GuideName
:
''
,
loading
:
false
loading
:
false
,
isSubmit
:
true
,
};
};
},
},
methods
:
{
methods
:
{
...
@@ -497,7 +509,8 @@
...
@@ -497,7 +509,8 @@
let
tempCostFee
=
0
;
let
tempCostFee
=
0
;
var
tempHighSpeedFee
=
0
;
var
tempHighSpeedFee
=
0
;
if
(
obj
.
BusType
)
{
if
(
obj
.
BusType
)
{
obj
.
PayType
=
1
;
obj
.
PayType
=
2
;
obj
.
HighSpeedPayType
=
1
;
let
busTypeObj
=
this
.
BusTypeList
.
find
(
item
=>
item
.
Id
===
obj
.
BusType
);
let
busTypeObj
=
this
.
BusTypeList
.
find
(
item
=>
item
.
Id
===
obj
.
BusType
);
if
(
busTypeObj
)
{
if
(
busTypeObj
)
{
obj
.
DetailList
.
forEach
(
subItem
=>
{
obj
.
DetailList
.
forEach
(
subItem
=>
{
...
@@ -515,7 +528,7 @@
...
@@ -515,7 +528,7 @@
}
}
});
});
obj
.
HighSpeedPrice
=
tempHighSpeedFee
;
obj
.
HighSpeedPrice
=
tempHighSpeedFee
;
obj
.
CostPrice
=
tempCostFee
+
tempHighSpeedFee
;
obj
.
CostPrice
=
tempCostFee
;
}
}
}
else
{
}
else
{
obj
.
PayType
=
null
;
obj
.
PayType
=
null
;
...
@@ -590,15 +603,19 @@
...
@@ -590,15 +603,19 @@
item
.
OrderState
=
type
item
.
OrderState
=
type
})
})
this
.
PostData
.
PlanList
=
this
.
PlanTableData
;
this
.
PostData
.
PlanList
=
this
.
PlanTableData
;
this
.
apipost
(
'bus_get_SetPlan'
,
this
.
PostData
,
res
=>
{
if
(
this
.
isSubmit
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
isSubmit
=
false
;
this
.
Success
(
"保存成功!"
);
this
.
apipost
(
'bus_get_SetPlan'
,
this
.
PostData
,
res
=>
{
this
.
MsgBus
.
$emit
(
'msg'
);
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
createTableData
();
this
.
Success
(
"保存成功!"
);
}
else
{
this
.
MsgBus
.
$emit
(
'msg'
);
this
.
Error
(
res
.
data
.
message
);
this
.
createTableData
();
}
}
else
{
},
err
=>
{})
this
.
Error
(
res
.
data
.
message
);
}
this
.
isSubmit
=
true
;
},
err
=>
{})
}
},
},
//用车类型点击事件
//用车类型点击事件
UseTypeClick
(
value
,
index
,
subIndex
)
{
UseTypeClick
(
value
,
index
,
subIndex
)
{
...
@@ -699,6 +716,9 @@
...
@@ -699,6 +716,9 @@
newPlanData
.
BusType
=
oldPlanData
.
BusType
;
newPlanData
.
BusType
=
oldPlanData
.
BusType
;
newPlanData
.
PayType
=
oldPlanData
.
PayType
;
newPlanData
.
PayType
=
oldPlanData
.
PayType
;
newPlanData
.
BookGroup
=
oldPlanData
.
BookGroup
;
newPlanData
.
BookGroup
=
oldPlanData
.
BookGroup
;
newPlanData
.
HighSpeedPrice
=
oldPlanData
.
HighSpeedPrice
;
newPlanData
.
HighSpeedPayType
=
oldPlanData
.
HighSpeedPayType
;
newPlanData
.
CostPrice
=
oldPlanData
.
CostPrice
;
}
}
},
},
mounted
()
{
mounted
()
{
...
...
src/components/busManagement/busHandBook.vue
View file @
17da0c45
...
@@ -25,11 +25,6 @@
...
@@ -25,11 +25,6 @@
padding-left
:
20px
;
padding-left
:
20px
;
}
}
.comTextdisClick
{
background-color
:
#d1d1d1
;
color
:
#fff
;
border
:
1px
solid
#d1d1d1
;
}
.addHandBook
{
.addHandBook
{
margin-right
:
5px
;
margin-right
:
5px
;
color
:
seagreen
;
color
:
seagreen
;
...
@@ -39,6 +34,17 @@
...
@@ -39,6 +34,17 @@
.addHandBookDIS
{
.addHandBookDIS
{
visibility
:
visible
!important
;
visibility
:
visible
!important
;
}
}
.disClick
{
background-color
:
#d1d1d1
;
color
:
#fff
;
border
:
1px
solid
#d1d1d1
;
}
.disClick
:hover
{
background-color
:
#d1d1d1
!important
;
cursor
:
default
!important
;
box-shadow
:
none
!important
;
}
</
style
>
</
style
>
<
template
>
<
template
>
<div>
<div>
...
@@ -122,8 +128,8 @@
...
@@ -122,8 +128,8 @@
<tfoot>
<tfoot>
<tr>
<tr>
<td
colspan=
"6"
>
<td
colspan=
"6"
>
<input
type=
"button"
class=
"normalBtn"
:class=
"
{'
comText
disClick':isSave}" @click="SaveData()" value="保存" />
<input
type=
"button"
class=
"normalBtn"
:class=
"
{'disClick':isSave}" @click="SaveData()" value="保存" />
<input
type=
"button"
class=
"normalBtn"
:class=
"
{'
comText
disClick':isSave}" @click="DownLoadFile()"
<input
type=
"button"
class=
"normalBtn"
:class=
"
{'disClick':isSave}" @click="DownLoadFile()"
value="下载" />
value="下载" />
</td>
</td>
</tr>
</tr>
...
...
src/components/newTravelmanager/TravelGroupControl/TravelPrice.vue
View file @
17da0c45
...
@@ -444,7 +444,7 @@
...
@@ -444,7 +444,7 @@
:false-label=
"UnCheckedVaule"
>
订团
:false-label=
"UnCheckedVaule"
>
订团
</el-checkbox>
</el-checkbox>
<el-checkbox
v-model=
"priceData.IsLessPrice"
:true-label=
"CheckedVaule"
<el-checkbox
v-model=
"priceData.IsLessPrice"
:true-label=
"CheckedVaule"
:false-label=
"UnChecked
Vaul
e"
>
可少价
:false-label=
"UnChecked
LessPric
e"
>
可少价
</el-checkbox>
</el-checkbox>
<input
type=
"button"
class=
"normalBtn"
value=
"酒店使用情况"
@
click=
"outerVisible=true"
<input
type=
"button"
class=
"normalBtn"
value=
"酒店使用情况"
@
click=
"outerVisible=true"
v-if=
"PostConfig.LineId==14 && priceData.PriceHotelList&&priceData.PriceHotelList.length>0"
/>
v-if=
"PostConfig.LineId==14 && priceData.PriceHotelList&&priceData.PriceHotelList.length>0"
/>
...
@@ -917,6 +917,7 @@
...
@@ -917,6 +917,7 @@
uploadList
:
[],
uploadList
:
[],
CheckedVaule
:
1
,
//选中值
CheckedVaule
:
1
,
//选中值
UnCheckedVaule
:
2
,
//没选中
UnCheckedVaule
:
2
,
//没选中
UnCheckedLessPrice
:
0
,
//不少价
isSaved
:
true
,
isSaved
:
true
,
btnText
:
'保存'
,
btnText
:
'保存'
,
//日期数组
//日期数组
...
@@ -1098,7 +1099,7 @@
...
@@ -1098,7 +1099,7 @@
//是否订团,0-不订,1需要订
//是否订团,0-不订,1需要订
IsBookTeam
:
0
,
IsBookTeam
:
0
,
//少价,0-不少价,1少价
//少价,0-不少价,1少价
IsLessPrice
:
0
,
IsLessPrice
:
1
,
//是否重新生成行程数据
//是否重新生成行程数据
IsNew
:
false
,
IsNew
:
false
,
//选中的酒店数组
//选中的酒店数组
...
...
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