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
a4852636
Commit
a4852636
authored
Mar 22, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
团期酒店修改
parent
67f31978
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
190 additions
and
89 deletions
+190
-89
TravelManager2.vue
...ts/newTravelmanager/TravelGroupControl/TravelManager2.vue
+3
-1
TravelPrice.vue
...nents/newTravelmanager/TravelGroupControl/TravelPrice.vue
+187
-88
No files found.
src/components/newTravelmanager/TravelGroupControl/TravelManager2.vue
View file @
a4852636
...
...
@@ -39,7 +39,7 @@
:isNewConfig=
"isNewConfig"
@
unlockFormCommit=
"unlockFormCommit"
></TravelFeature>
<TravelNotice
ref=
"TravelNotice"
id=
"fourAnchor"
@
headCallBack=
"getNotice"
:subArray=
"NoticeParameters"
:NoticeData=
"NoticeData"
v-bind:PostConfig=
"PostConfig"
v-bind:AllCityList=
"AllCityList"
v-bind:CountryID=
"PostConfig.CountryID"
></TravelNotice>
<TravelPrice
ref=
"TravelPrice"
id=
"fiveAnchor"
@
headCallBack=
"getPrice"
:priceList=
"PriceList"
v-if=
"!flagWangYue"
<TravelPrice
@
saveMsg=
"SaveData(1)"
ref=
"TravelPrice"
id=
"fiveAnchor"
@
headCallBack=
"getPrice"
:priceList=
"PriceList"
v-if=
"!flagWangYue"
:PostConfig=
"PostConfig"
:modifyTcid=
"modifyTcid"
></TravelPrice>
<TravelPrice2
ref=
"TravelPrice"
id=
"fiveAnchor"
@
headCallBack=
"getPrice"
:PostDaysTrip=
"PostDaysTrip"
:priceList=
"PriceList"
v-else
:PostConfig=
"PostConfig"
:modifyTcid=
"modifyTcid"
></TravelPrice2>
...
...
@@ -380,6 +380,8 @@
//配置编号
TripFeature
.
ConfigId
=
res
.
data
.
data
;
this
.
$refs
.
TravelFeature
.
getHtml
(
TripFeature
,
SaveType
);
this
.
$refs
.
TravelPrice
.
closeHotelDialog
();
this
.
$refs
.
TravelPrice
.
initStatus
();
}
else
if
(
res
.
data
.
resultCode
==
10009
)
{
this
.
FeatureData
.
IsSave
=
false
;
//表单重复提交
...
...
src/components/newTravelmanager/TravelGroupControl/TravelPrice.vue
View file @
a4852636
...
...
@@ -218,7 +218,7 @@
.SD_flight
{
display
:
inline-block
;
height
:
24px
;
margin
:
0
3px
3px
0
;
margin
:
0
3px
3px
0
;
padding
:
0
8px
;
line-height
:
22px
;
background-color
:
#f0f2f5
;
...
...
@@ -259,33 +259,38 @@
top
:
10px
;
margin
:
20px
0
30px
11px
;
}
.Tp_hotelDialog
{
width
:
900px
;
.Tp_hotelDialog
{
width
:
900px
;
}
.TphotelTable
{
width
:
100%
;
margin
:
auto
;
text-align
:
center
;
font-size
:
12px
;
color
:
#333
;
border-collapse
:
collapse
;
background-color
:
#fff
;
border
:
1px
solid
#d1d1d1
;
.TphotelTable
{
width
:
100%
;
margin
:
auto
;
text-align
:
center
;
font-size
:
12px
;
color
:
#333
;
border-collapse
:
collapse
;
background-color
:
#fff
;
border
:
1px
solid
#d1d1d1
;
}
.TphotelTable
th
{
background
:
#E6E6E6
;
padding
:
8px
0
;
color
:
#333
;
border
:
1px
solid
#d1d1d1
;
font-weight
:
bold
;
.TphotelTable
th
{
background
:
#E6E6E6
;
padding
:
8px
0
;
color
:
#333
;
border
:
1px
solid
#d1d1d1
;
font-weight
:
bold
;
}
.TphotelTable
tr
td
{
background-color
:
#fff
;
/* padding:8px 0; */
border
:
1px
solid
#d1d1d1
;
.TphotelTable
tr
td
{
background-color
:
#fff
;
/* padding:8px 0; */
border
:
1px
solid
#d1d1d1
;
}
.Tp_btn
{
.Tp_btn
{
color
:
#fff
;
height
:
25px
;
background
:
#E95252
;
...
...
@@ -294,19 +299,36 @@
border-radius
:
15px
;
margin-left
:
10px
;
}
.tp_divList
{
width
:
100%
;
min-height
:
30px
;
.tp_divList
{
width
:
100%
;
min-height
:
30px
;
border-bottom
:
1px
dashed
#ccc
;
}
.tp_divList
div
{
.tp_divList
div
{
text-align
:
left
;
padding
:
0
20px
;
margin-top
:
5px
;
padding
:
0
20px
;
margin-top
:
5px
;
}
.tp_divList
:last-child
{
border
:
0
;
.tp_divList
:last-child
{
border
:
0
;
}
.disClick
{
background-color
:
#d1d1d1
;
color
:
#fff
;
border
:
1px
solid
#d1d1d1
;
cursor
:
default
;
}
.disClick
:hover
{
background-color
:
#d1d1d1
!important
;
cursor
:
default
!important
;
box-shadow
:
none
!important
;
}
</
style
>
<
template
>
...
...
@@ -328,12 +350,14 @@
<ul>
<li>
<i
class=
"arrow monthminus"
@
click=
"currentYear-=1,getDateString(),initCalendar(dateString)"
>
<
</i>
<input
type=
"text"
v-model=
"currentYear"
disabled
class=
"currentInput"
@
input=
"getDateString(),initCalendar(dateString)"
>
年
<input
type=
"text"
v-model=
"currentYear"
disabled
class=
"currentInput"
@
input=
"getDateString(),initCalendar(dateString)"
>
年
<i
class=
"arrow monthadd"
@
click=
"currentYear+=1,getDateString(),initCalendar(dateString)"
>
>
</i>
</li>
<li>
<i
class=
"arrow monthminus"
@
click=
"pickPre(currentYear,currentMonth)"
>
<
</i>
<input
type=
"text"
v-model=
"currentMonth"
disabled
class=
"currentInput"
@
input=
"getDateString(),initCalendar(dateString)"
>
月
<input
type=
"text"
v-model=
"currentMonth"
disabled
class=
"currentInput"
@
input=
"getDateString(),initCalendar(dateString)"
>
月
<i
class=
"arrow monthadd"
@
click=
"pickNext(currentYear,currentMonth)"
>
>
</i>
</li>
</ul>
...
...
@@ -351,9 +375,12 @@
<!-- 日期 -->
<ul
class=
"days"
>
<li
class=
"liList"
v-for=
"(dayobject,index) in days"
:key=
"dayobject.subCode"
>
<span
v-if=
"dayobject.checkState==$calendarUtils.checkState.noChecked"
class=
"other-month"
>
{{
dayobject
.
day
.
getDate
()
}}
</span>
<span
v-if=
"dayobject.checkState==$calendarUtils.checkState.checked"
class=
"checked1"
@
click=
"clickedDay(dayobject)"
>
{{
dayobject
.
day
.
getDate
()
}}
</span>
<span
v-else-if=
"dayobject.checkState==$calendarUtils.checkState.hasValue"
@
click=
"clickedDay(dayobject)"
>
{{
dayobject
.
day
.
getDate
()
}}
</span>
<span
v-if=
"dayobject.checkState==$calendarUtils.checkState.noChecked"
class=
"other-month"
>
{{
dayobject
.
day
.
getDate
()
}}
</span>
<span
v-if=
"dayobject.checkState==$calendarUtils.checkState.checked"
class=
"checked1"
@
click=
"clickedDay(dayobject)"
>
{{
dayobject
.
day
.
getDate
()
}}
</span>
<span
v-else-if=
"dayobject.checkState==$calendarUtils.checkState.hasValue"
@
click=
"clickedDay(dayobject)"
>
{{
dayobject
.
day
.
getDate
()
}}
</span>
</li>
</ul>
</div>
...
...
@@ -372,8 +399,8 @@
<i
class=
"iconfont icon-previewleft"
></i>
</span>
<div
class=
"TP_childContent"
>
<span
class=
"TP_tips"
:class=
"
{'ckedSpan':item.Checked}" @click="getDateInfo(item)"
v-for="(item,index) in showPriceList"
:key="index">
<span
class=
"TP_tips"
:class=
"
{'ckedSpan':item.Checked}" @click="getDateInfo(item)"
v-for="(item,index) in showPriceList"
:key="index">
{{
item
.
StartDate
}}
<span
class=
"TP_cancel"
@
click
.
stop=
"delDateList(item)"
>
<i
class=
"iconfont icon-quxiao"
></i>
...
...
@@ -396,39 +423,47 @@
</div>
<div
class=
"TPright"
>
<div
class=
"TP_noneed"
>
<el-checkbox
v-model=
"priceData.IsSupportChildren"
:true-label=
"CheckedVaule"
:false-label=
"UnCheckedVaule"
>
支持儿童出游
<el-checkbox
v-model=
"priceData.IsSupportChildren"
:true-label=
"CheckedVaule"
:false-label=
"UnCheckedVaule"
>
支持儿童出游
</el-checkbox>
<el-checkbox
v-model=
"priceData.IsBookTeam"
:true-label=
"CheckedVaule"
:false-label=
"UnCheckedVaule"
style=
"display:none;"
>
订团
<el-checkbox
v-model=
"priceData.IsBookTeam"
:true-label=
"CheckedVaule"
v-if=
"PostConfig.LineId==14"
:false-label=
"UnCheckedVaule"
>
订团
</el-checkbox>
<input
type=
"button"
class=
"normalBtn"
value=
"酒店使用情况"
@
click=
"outerVisible=true"
style=
"display:none;
"
/>
<input
type=
"button"
class=
"normalBtn"
value=
"酒店使用情况"
@
click=
"outerVisible=true"
v-if=
"PostConfig.LineId==14 && priceData.PriceHotelList&&priceData.PriceHotelList.length>0
"
/>
</div>
<el-form-item
prop=
"B2BMemberPrice"
>
<el-input
placeholder=
"请输入"
class=
"w190 ComSeat"
v-model=
"priceData.B2BMemberPrice"
@
keyup
.
native=
"checkPrice(priceData,'B2BMemberPrice')"
>
<el-input
placeholder=
"请输入"
class=
"w190 ComSeat"
v-model=
"priceData.B2BMemberPrice"
@
keyup
.
native=
"checkPrice(priceData,'B2BMemberPrice')"
>
<template
slot=
"prepend"
>
同行会员
</
template
>
</el-input>
</el-form-item>
<el-form-item
prop=
"B2BPrice"
>
<el-input
placeholder=
"请输入"
class=
"w190 ComSeat"
v-model=
"priceData.B2BPrice"
@
keyup
.
native=
"checkPrice(priceData,'B2BPrice')"
>
<el-input
placeholder=
"请输入"
class=
"w190 ComSeat"
v-model=
"priceData.B2BPrice"
@
keyup
.
native=
"checkPrice(priceData,'B2BPrice')"
>
<
template
slot=
"prepend"
>
同行
</
template
>
</el-input>
</el-form-item>
<el-form-item
prop=
"B2CMemberPrice"
>
<el-input
placeholder=
"请输入"
class=
"w190 ComSeat"
v-model=
"priceData.B2CMemberPrice"
@
keyup
.
native=
"checkPrice(priceData,'B2CMemberPrice')"
>
<el-input
placeholder=
"请输入"
class=
"w190 ComSeat"
v-model=
"priceData.B2CMemberPrice"
@
keyup
.
native=
"checkPrice(priceData,'B2CMemberPrice')"
>
<
template
slot=
"prepend"
>
直客会员
</
template
>
</el-input>
</el-form-item>
<el-form-item
prop=
"B2CPrice"
>
<el-input
placeholder=
"请输入"
class=
"w190 ComSeat"
v-model=
"priceData.B2CPrice"
@
keyup
.
native=
"checkPrice(priceData,'B2CPrice')"
>
<el-input
placeholder=
"请输入"
class=
"w190 ComSeat"
v-model=
"priceData.B2CPrice"
@
keyup
.
native=
"checkPrice(priceData,'B2CPrice')"
>
<
template
slot=
"prepend"
>
直客
</
template
>
</el-input>
</el-form-item>
<el-form-item
prop=
"BabyPrice"
>
<el-input
placeholder=
"请输入"
class=
"w190 ComSeat"
v-model=
"priceData.BabyPrice"
@
keyup
.
native=
"checkInteger(priceData,'BabyPrice')"
>
<el-input
placeholder=
"请输入"
class=
"w190 ComSeat"
v-model=
"priceData.BabyPrice"
@
keyup
.
native=
"checkInteger(priceData,'BabyPrice')"
>
<
template
slot=
"prepend"
>
婴儿
</
template
>
</el-input>
</el-form-item>
<el-form-item>
<el-input
placeholder=
"请输入"
class=
"w190 ComSeat"
v-model=
"priceData.SingleDMCPrice"
@
keyup
.
native=
"checkPrice(priceData,'SingleDMCPrice')"
>
<el-input
placeholder=
"请输入"
class=
"w190 ComSeat"
v-model=
"priceData.SingleDMCPrice"
@
keyup
.
native=
"checkPrice(priceData,'SingleDMCPrice')"
>
<
template
slot=
"prepend"
>
单地接
</
template
>
</el-input>
</el-form-item>
...
...
@@ -441,12 +476,14 @@
</div>
<div
class=
"TPright"
>
<el-form-item
prop=
"ChildNeedPrice"
>
<el-input
placeholder=
"请输入"
class=
"w190 ComSeat"
v-model=
"priceData.ChildNeedPrice"
@
keyup
.
native=
"checkInteger(priceData,'ChildNeedPrice')"
>
<el-input
placeholder=
"请输入"
class=
"w190 ComSeat"
v-model=
"priceData.ChildNeedPrice"
@
keyup
.
native=
"checkInteger(priceData,'ChildNeedPrice')"
>
<
template
slot=
"prepend"
>
儿童占床
</
template
>
</el-input>
</el-form-item>
<el-form-item
prop=
"BabyChargePrice"
>
<el-input
placeholder=
"请输入"
class=
"w190 ComSeat"
v-model=
"priceData.BabyChargePrice"
@
keyup
.
native=
"checkPrice(priceData,'BabyChargePrice')"
>
<el-input
placeholder=
"请输入"
class=
"w190 ComSeat"
v-model=
"priceData.BabyChargePrice"
@
keyup
.
native=
"checkPrice(priceData,'BabyChargePrice')"
>
<
template
slot=
"prepend"
>
儿童附加费
</
template
>
</el-input>
</el-form-item>
...
...
@@ -457,22 +494,26 @@
</el-input>
</el-form-item>
<el-form-item
prop=
"VisaPrice"
>
<el-input
placeholder=
"请输入"
class=
"w190 ComSeat"
v-model=
"priceData.VisaPrice"
@
keyup
.
native=
"checkPrice(priceData,'VisaPrice')"
>
<el-input
placeholder=
"请输入"
class=
"w190 ComSeat"
v-model=
"priceData.VisaPrice"
@
keyup
.
native=
"checkPrice(priceData,'VisaPrice')"
>
<
template
slot=
"prepend"
>
签证费
</
template
>
</el-input>
</el-form-item>
<el-form-item
prop=
"SingleRoomPrice"
>
<el-input
placeholder=
"请输入"
class=
"w190 ComSeat"
v-model=
"priceData.SingleRoomPrice"
@
keyup
.
native=
"checkPrice(priceData,'SingleRoomPrice')"
>
<el-input
placeholder=
"请输入"
class=
"w190 ComSeat"
v-model=
"priceData.SingleRoomPrice"
@
keyup
.
native=
"checkPrice(priceData,'SingleRoomPrice')"
>
<
template
slot=
"prepend"
>
单房差
</
template
>
</el-input>
</el-form-item>
<el-form-item
prop=
"SafeMoney"
>
<el-input
placeholder=
"请输入"
class=
"w190 ComSeat"
v-model=
"priceData.SafeMoney"
@
keyup
.
native=
"checkInteger(priceData,'SafeMoney')"
>
<el-input
placeholder=
"请输入"
class=
"w190 ComSeat"
v-model=
"priceData.SafeMoney"
@
keyup
.
native=
"checkInteger(priceData,'SafeMoney')"
>
<
template
slot=
"prepend"
>
保险
</
template
>
</el-input>
</el-form-item>
<el-form-item
prop=
"OtherPrice"
>
<el-input
placeholder=
"请输入"
class=
"w190 ComSeat"
v-model=
"priceData.OtherPrice"
@
keyup
.
native=
"checkPrice(priceData,'OtherPrice')"
>
<el-input
placeholder=
"请输入"
class=
"w190 ComSeat"
v-model=
"priceData.OtherPrice"
@
keyup
.
native=
"checkPrice(priceData,'OtherPrice')"
>
<
template
slot=
"prepend"
>
杂费
</
template
>
</el-input>
</el-form-item>
...
...
@@ -485,23 +526,27 @@
</div>
<div
class=
"TPright"
>
<el-form-item
prop=
"ChildNoNeedPrice"
>
<el-input
placeholder=
"请输入"
class=
"w190 ComSeat"
v-model=
"priceData.ChildNoNeedPrice"
@
keyup
.
native=
"checkInteger(priceData,'ChildNoNeedPrice')"
>
<el-input
placeholder=
"请输入"
class=
"w190 ComSeat"
v-model=
"priceData.ChildNoNeedPrice"
@
keyup
.
native=
"checkInteger(priceData,'ChildNoNeedPrice')"
>
<
template
slot=
"prepend"
>
儿童不占床
</
template
>
</el-input>
</el-form-item>
<el-form-item
prop=
"BackVisaPrice"
>
<el-input
placeholder=
"请输入"
class=
"w190 ComSeat"
v-model=
"priceData.BackVisaPrice"
@
keyup
.
native=
"checkInteger(priceData,'BackVisaPrice')"
>
<el-input
placeholder=
"请输入"
class=
"w190 ComSeat"
v-model=
"priceData.BackVisaPrice"
@
keyup
.
native=
"checkInteger(priceData,'BackVisaPrice')"
>
<
template
slot=
"prepend"
>
退签证费
</
template
>
</el-input>
</el-form-item>
<el-form-item
style=
"display:none;"
>
<el-input
placeholder=
"请输入"
class=
"w190 ComSeat"
v-model=
"priceData.RebatePrice"
@
keyup
.
native=
"checkPrice(priceData,'RebatePrice')"
>
<el-input
placeholder=
"请输入"
class=
"w190 ComSeat"
v-model=
"priceData.RebatePrice"
@
keyup
.
native=
"checkPrice(priceData,'RebatePrice')"
>
<
template
slot=
"prepend"
>
同行返佣
</
template
>
</el-input>
</el-form-item>
<el-form-item
style=
"display:none;"
>
<el-input
placeholder=
"请输入"
class=
"w190 ComSeat"
v-model=
"priceData.DiscountPrice"
@
keyup
.
native=
"checkPrice(priceData,'DiscountPrice')"
>
<el-input
placeholder=
"请输入"
class=
"w190 ComSeat"
v-model=
"priceData.DiscountPrice"
@
keyup
.
native=
"checkPrice(priceData,'DiscountPrice')"
>
<
template
slot=
"prepend"
>
早鸟优惠
</
template
>
</el-input>
</el-form-item>
...
...
@@ -514,37 +559,42 @@
</div>
<div
class=
"TPright clearfix"
>
<el-form-item
prop=
"ClearOrderHour"
>
<el-input
placeholder=
"请输入"
class=
"w190 ComSeat"
v-model=
"priceData.ClearOrderHour"
@
keyup
.
native=
"checkInteger(priceData,'ClearOrderHour')"
<el-input
placeholder=
"请输入"
class=
"w190 ComSeat"
v-model=
"priceData.ClearOrderHour"
@
keyup
.
native=
"checkInteger(priceData,'ClearOrderHour')"
@
blur=
"checkInteger(priceData,'ClearOrderHour')"
>
<
template
slot=
"prepend"
>
自动清位
</
template
>
</el-input>
</el-form-item>
<span
class=
"TP_Sendprepend"
>
送签时间
</span>
<el-form-item
prop=
"SendVisaTime"
style=
"margin-top:1px;"
>
<el-date-picker
clearable
class=
"w150"
v-model=
"priceData.SendVisaTime"
type=
"date"
value-format=
"yyyy-MM-dd"
:placeholder=
"$t('admin.admin_choDate')"
></el-date-picker>
<el-date-picker
clearable
class=
"w150"
v-model=
"priceData.SendVisaTime"
type=
"date"
value-format=
"yyyy-MM-dd"
:placeholder=
"$t('admin.admin_choDate')"
></el-date-picker>
</el-form-item>
<el-form-item
prop=
"OutBranchId"
style=
"margin-top:1px;"
>
<span
class=
"TP_Sendprepend"
style=
"margin:3px -1px 0 0"
>
出团公司
</span>
<el-select
class=
"w180"
v-model=
"priceData.OutBranchId"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"SelectOtherDefault"
></el-option>
<el-option
v-for=
"item in companyList"
:key=
"item.id"
:label=
"item.bName"
:value=
"item.id"
></el-option>
<el-option
v-for=
"item in companyList"
:key=
"item.id"
:label=
"item.bName"
:value=
"item.id"
>
</el-option>
</el-select>
</el-form-item>
</div>
<div
class=
"TPright clearfix"
>
<el-form-item
prop=
"YSeat"
>
<el-input
placeholder=
"人数"
class=
"w190"
v-model=
"priceData.YSeat"
@
keyup
.
native=
"checkInteger(priceData,'YSeat')"
>
<el-input
placeholder=
"人数"
class=
"w190"
v-model=
"priceData.YSeat"
@
keyup
.
native=
"checkInteger(priceData,'YSeat')"
>
<
template
slot=
"prepend"
>
经济舱/上铺
</
template
>
</el-input>
</el-form-item>
<el-form-item
prop=
"CSeat"
>
<el-input
placeholder=
"人数"
class=
"w260"
v-model=
"priceData.CSeat"
@
keyup
.
native=
"checkInteger(priceData,'CSeat')"
>
<el-input
placeholder=
"人数"
class=
"w260"
v-model=
"priceData.CSeat"
@
keyup
.
native=
"checkInteger(priceData,'CSeat')"
>
<
template
slot=
"prepend"
>
商务舱/中铺
</
template
>
</el-input>
</el-form-item>
<el-form-item
prop=
"FSeat"
>
<el-input
placeholder=
"人数"
class=
"w290"
v-model=
"priceData.FSeat"
@
keyup
.
native=
"checkInteger(priceData,'FSeat')"
>
<el-input
placeholder=
"人数"
class=
"w290"
v-model=
"priceData.FSeat"
@
keyup
.
native=
"checkInteger(priceData,'FSeat')"
>
<
template
slot=
"prepend"
>
头等舱/下铺
</
template
>
</el-input>
</el-form-item>
...
...
@@ -560,7 +610,8 @@
</el-form-item>
<el-form-item>
<el-input
placeholder=
"可销售机票数量"
class=
"w290"
v-model=
"priceData.CanSellTicketNum"
maxlength=
"2"
@
keyup
.
native=
"checkInteger(priceData,'CanSellTicketNum')"
@
change=
"CheckSellTicketNum(priceData)"
>
@
keyup
.
native=
"checkInteger(priceData,'CanSellTicketNum')"
@
change=
"CheckSellTicketNum(priceData)"
>
<
template
slot=
"prepend"
>
可销售机票数量
</
template
>
</el-input>
</el-form-item>
...
...
@@ -579,7 +630,8 @@
<el-form-item>
<span
class=
"TP_Sendprepend"
style=
"margin-left:0;width:120px;"
>
销售状态
</span>
<el-select
class=
"w180"
v-model=
"priceData.TCSaleState"
>
<el-option
v-for=
"item in TeamList"
:key=
"item.Id"
:label=
"item.name"
:value=
"item.Id"
></el-option>
<el-option
v-for=
"item in TeamList"
:key=
"item.Id"
:label=
"item.name"
:value=
"item.Id"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item>
...
...
@@ -603,11 +655,13 @@
<div>
<div
style=
"margin-bottom:20px;"
>
开始日期
<el-date-picker
class=
"w150"
type=
"date"
v-model=
"QFlightDateStart"
:picker-options=
"pickerBeginDateBefore"
value-format=
"yyyy-MM-dd"
placeholder
></el-date-picker>
<el-date-picker
class=
"w150"
type=
"date"
v-model=
"QFlightDateStart"
:picker-options=
"pickerBeginDateBefore"
value-format=
"yyyy-MM-dd"
placeholder
>
</el-date-picker>
结束日期
<el-date-picker
class=
"w150"
type=
"date"
v-model=
"QFlightDateEnd"
:picker-options=
"pickerBeginDateAfter"
value-format=
"yyyy-MM-dd"
placeholder
></el-date-picker>
<el-date-picker
class=
"w150"
type=
"date"
v-model=
"QFlightDateEnd"
:picker-options=
"pickerBeginDateAfter"
value-format=
"yyyy-MM-dd"
placeholder
>
</el-date-picker>
<button
class=
"normalBtn"
@
click
.
stop=
"getSelectFilght()"
>
查询
</button>
</div>
...
...
@@ -626,7 +680,8 @@
<td>
<el-checkbox
v-model=
"fitem.IsSelected===true"
@
change=
"getSelect(fitem)"
></el-checkbox>
</td>
<td><span
class=
"TP_Airticktid"
@
click=
"goUrl('TicketManager',fitem.AirticketId)"
>
{{fitem.FlightNumber}}
</span>
<td><span
class=
"TP_Airticktid"
@
click=
"goUrl('TicketManager',fitem.AirticketId)"
>
{{fitem.FlightNumber}}
</span>
</td>
<td>
{{fitem.AlName}}
</td>
<td>
{{fitem.DepartureName}}-{{fitem.ArrivalCityName}}
</td>
...
...
@@ -634,7 +689,8 @@
<td>
{{fitem.PNR}}
</td>
<td>
{{fitem.UseAmount}} / {{fitem.RemainNum}}
</td>
<td>
<el-input
class=
"w80"
placeholder=
"机位数"
@
keyup
.
native=
"getFlightBindNum(fitem)"
v-model=
"fitem.BindNum"
></el-input>
<el-input
class=
"w80"
placeholder=
"机位数"
@
keyup
.
native=
"getFlightBindNum(fitem)"
v-model=
"fitem.BindNum"
></el-input>
</td>
</tr>
</table>
...
...
@@ -648,7 +704,8 @@
<span
class=
"TP_Sendprepend"
style=
"margin:3px -1px 0 0"
>
销售公司
</span>
<el-select
class=
"w350 multiple_input"
:class=
"{'SaleBranchList':priceData.SaleBranchIdArray==''}"
v-model=
"priceData.SaleBranchIdArray"
multiple
>
<el-option
v-for=
"item in companyList"
:key=
"item.id"
:label=
"item.bName"
:value=
"item.id"
></el-option>
<el-option
v-for=
"item in companyList"
:key=
"item.id"
:label=
"item.bName"
:value=
"item.id"
>
</el-option>
</el-select>
</el-form-item>
</div>
...
...
@@ -667,7 +724,8 @@
<div>
<span
class=
"TCSwitchtitle"
>
订单操作
</span>
<span
class=
"TCswitch"
>
<el-switch
v-model=
"priceData.IsOrder"
:active-value=
"inActive"
:inactive-value=
"notInActive"
></el-switch>
<el-switch
v-model=
"priceData.IsOrder"
:active-value=
"inActive"
:inactive-value=
"notInActive"
>
</el-switch>
<div
class=
"TC-config"
>
关闭后,业务人员将不能操作订单
</div>
</span>
</div>
...
...
@@ -676,7 +734,8 @@
<div>
<span
class=
"TCSwitchtitle"
>
同行在线预订
</span>
<span
class=
"TCswitch"
>
<el-switch
v-model=
"priceData.IsB2B"
:active-value=
"inActive"
:inactive-value=
"notInActive"
></el-switch>
<el-switch
v-model=
"priceData.IsB2B"
:active-value=
"inActive"
:inactive-value=
"notInActive"
>
</el-switch>
<div
class=
"TC-config"
>
产品将会直接推送到B2B站点
</div>
</span>
</div>
...
...
@@ -687,7 +746,8 @@
<div>
<span
class=
"TCSwitchtitle"
>
报名候补
</span>
<span
class=
"TCswitch"
>
<el-switch
v-model=
"priceData.IsSubstitution"
:active-value=
"inActive"
:inactive-value=
"notInActive"
></el-switch>
<el-switch
v-model=
"priceData.IsSubstitution"
:active-value=
"inActive"
:inactive-value=
"notInActive"
></el-switch>
<div
class=
"TC-config"
>
关闭后不可超收人数
</div>
</span>
</div>
...
...
@@ -696,7 +756,8 @@
<div>
<span
class=
"TCSwitchtitle"
>
直客在线预订
</span>
<span
class=
"TCswitch"
>
<el-switch
v-model=
"priceData.IsB2C"
:active-value=
"inActive"
:inactive-value=
"notInActive"
></el-switch>
<el-switch
v-model=
"priceData.IsB2C"
:active-value=
"inActive"
:inactive-value=
"notInActive"
>
</el-switch>
<div
class=
"TC-config"
>
产品将会直接推送到B2C站点
</div>
</span>
</div>
...
...
@@ -710,22 +771,26 @@
</div>
</div>
<TravelPriceFlightList
@
headCallBack=
"setDisDirectFlight"
ref=
"TravelFlightList"
:priceData=
"priceData"
:AirTicketId=
"priceData.AirTicketId"
:DeleteAirticketIds=
"priceData.DeleteAirticketIds"
:selectFilghtList=
"selectFilghtList"
></TravelPriceFlightList>
:AirTicketId=
"priceData.AirTicketId"
:DeleteAirticketIds=
"priceData.DeleteAirticketIds"
:selectFilghtList=
"selectFilghtList"
></TravelPriceFlightList>
</div>
<el-dialog
custom-class=
'Tp_hotelDialog'
title=
"酒店使用情况"
:visible
.
sync=
"outerVisible"
center
>
<
!-- <
table class="TphotelTable" border="0" cellspacing='1' v-if="priceData.TCID>0">
<table
class=
"TphotelTable"
border=
"0"
cellspacing=
'1'
v-if=
"priceData.TCID>0"
>
<tr
v-if=
"priceData.PriceHotelList"
v-for=
"item in priceData.PriceHotelList"
>
<td
style=
"background-color:#E6E6E6;color:#333;"
width=
"120"
>
{{item.UseDay}}
</td>
<td>
<div
class=
"tp_divList"
v-for=
"(subItem,index) in item.SubList"
>
<div>
{{index+1}}.{{subItem.HotelName}} 【<span style="color:#E95252;">库存:{{subItem.RemainingInventory}}</span>】
<el-checkbox v-model="item.CheckList[index].CheckStatus" @change="changeHotelStatus(item,index),changeHotelList()"></el-checkbox>
{{index+1}}.{{subItem.HotelName}}
【
<span
style=
"color:#E95252;"
>
库存:{{subItem.RemainingInventory}}
</span>
】
<el-checkbox
v-model=
"item.CheckList[index].CheckStatus"
@
change=
"changeHotelStatus(item,index),changeHotelList()"
></el-checkbox>
</div>
</div>
</td>
<td>
<el-select class="w180" v-model="item.NewHotelId" @visible-change="getHotelList(item,$event)" @change="changeHotelList()" filterable>
<el-select
class=
"w180"
v-model=
"item.NewHotelId"
@
visible-change=
"getHotelList(item,$event)"
@
change=
"changeHotelList()"
filterable
>
<el-option
:key=
"0"
label=
"请选择"
:value=
"0"
></el-option>
<el-option
v-for=
"subItem in item.HotelList"
:key=
"subItem.ID"
:label=
"subItem.Name"
:value=
"subItem.ID"
>
<span
style=
"float: left"
>
{{subItem.Name}}
</span>
...
...
@@ -736,9 +801,10 @@
</tr>
</table>
<div
slot=
"footer"
class=
"dialog-footer"
>
<button class="normalBtn" type="primary">{{$t('pub.saveBtn')}}</button>
<button class="hollowFixedBtn" @click="outerVisible = false">{{$t('pub.cancelBtn')}}</button>
</div> -->
<button
class=
"normalBtn"
type=
"primary"
@
click=
"saveHoteluseDetail()"
:class=
"{'disClick':!isSaved}"
>
{{btnText}}
</button>
<button
class=
"hollowFixedBtn"
:class=
"{'disClick':!isSaved}"
@
click=
"cancelHotelUseDetail()"
>
{{$t('pub.cancelBtn')}}
</button>
</div>
</el-dialog>
</div>
</template>
...
...
@@ -755,6 +821,8 @@
uploadList
:
[],
CheckedVaule
:
1
,
//选中值
UnCheckedVaule
:
2
,
//没选中
isSaved
:
true
,
btnText
:
'保存'
,
//日期数组
days
:
[],
dateString
:
"2016-01-02"
,
...
...
@@ -1013,7 +1081,8 @@
this
.
FinfoList
=
[];
if
(
this
.
priceData
.
AirticketBindList
.
length
>
0
)
{
this
.
QFlightDateStart
=
this
.
priceData
.
AirticketBindList
[
0
].
FlightDate
;
this
.
QFlightDateEnd
=
this
.
priceData
.
AirticketBindList
[
this
.
priceData
.
AirticketBindList
.
length
-
1
].
FlightDate
;
this
.
QFlightDateEnd
=
this
.
priceData
.
AirticketBindList
[
this
.
priceData
.
AirticketBindList
.
length
-
1
]
.
FlightDate
;
this
.
getSelectFilght
();
}
else
{
this
.
QFlightDateStart
=
this
.
daysCalculate
(
this
.
priceData
.
StartDate
,
-
1
);
...
...
@@ -1391,13 +1460,43 @@
}
}
},
//保存酒店使用情况
saveHoteluseDetail
()
{
var
that
=
this
;
this
.
Confirm
(
"是否确定提交选中的酒店?"
,
function
(){
if
(
that
.
isSaved
)
{
that
.
isSaved
=
false
;
that
.
$emit
(
"saveMsg"
);
}
that
.
btnText
=
'保存中...'
});
},
//取消
cancelHotelUseDetail
()
{
this
.
priceData
.
IsNew
=
false
;
if
(
this
.
priceData
.
PriceHotelList
!=
null
&&
this
.
priceData
.
PriceHotelList
.
length
>
0
)
{
this
.
priceData
.
PriceHotelList
.
forEach
(
x
=>
{
x
.
NewHotelId
=
0
;
});
}
this
.
outerVisible
=
false
;
},
//关闭弹窗方法
closeHotelDialog
()
{
this
.
outerVisible
=
false
;
},
//保存完成初始化
initStatus
()
{
this
.
isSaved
=
true
;
this
.
btnText
=
'保存'
},
//获取酒店信息
getHotelList
(
item
,
event
)
{
if
(
event
)
{
var
msg
=
{
Country
:
651
,
sDate
:
item
.
UseDay
,
IsMoreThanZero
:
1
IsMoreThanZero
:
1
};
this
.
apipost
(
"hotel_post_GetHasStockHotelList"
,
msg
,
...
...
@@ -1475,4 +1574,4 @@
}
};
</
script
>
\ No newline at end of file
</
script
>
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