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
cc8f9fc2
Commit
cc8f9fc2
authored
Jan 30, 2023
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
37efdea3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
143 additions
and
110 deletions
+143
-110
TravelPrice3.vue
...ents/newTravelmanager/TravelGroupControl/TravelPrice3.vue
+143
-110
No files found.
src/components/newTravelmanager/TravelGroupControl/TravelPrice3.vue
View file @
cc8f9fc2
<
style
>
<
style
>
@import
"../../../assets/css/newTravelManager.css"
;
@import
"../../../assets/css/newTravelManager.css"
;
.choosed
span
{
.choosed
span
{
background-color
:
#1bc594
!important
;
background-color
:
#1bc594
!important
;
}
}
...
@@ -22,12 +23,7 @@
...
@@ -22,12 +23,7 @@
.TPDateContent
.currentInput
{
.TPDateContent
.currentInput
{
background-color
:
transparent
;
background-color
:
transparent
;
}
}
/* .TPDateContent .month ul li {
font-size: 12px;
position: relative;
float: left;
letter-spacing: 3px;
} */
.TP_tips
{
.TP_tips
{
display
:
inline-block
;
display
:
inline-block
;
padding
:
5px
;
padding
:
5px
;
...
@@ -292,7 +288,6 @@
...
@@ -292,7 +288,6 @@
.TphotelTable
tr
td
{
.TphotelTable
tr
td
{
background-color
:
#fff
;
background-color
:
#fff
;
/* padding:8px 0; */
border
:
1px
solid
#d1d1d1
;
border
:
1px
solid
#d1d1d1
;
}
}
...
@@ -334,6 +329,7 @@
...
@@ -334,6 +329,7 @@
cursor
:
default
!important
;
cursor
:
default
!important
;
box-shadow
:
none
!important
;
box-shadow
:
none
!important
;
}
}
</
style
>
</
style
>
<
template
>
<
template
>
...
@@ -367,7 +363,8 @@
...
@@ -367,7 +363,8 @@
</li>
</li>
<li
style=
"margin:25px 0 0 0;"
>
<li
style=
"margin:25px 0 0 0;"
>
<div
class=
"ckAll"
>
<div
class=
"ckAll"
>
<el-checkbox
class=
"checkBox"
v-model=
'isCheckAll'
@
change=
"checkAll"
>
{{
$t
(
'system.table_chekAll'
)
}}
</el-checkbox>
<el-checkbox
class=
"checkBox"
v-model=
'isCheckAll'
@
change=
"checkAll"
>
{{
$t
(
'system.table_chekAll'
)
}}
</el-checkbox>
</div>
</div>
</li>
</li>
</ul>
</ul>
...
@@ -436,14 +433,16 @@
...
@@ -436,14 +433,16 @@
<el-checkbox
v-model=
"priceData.IsSupportChildren"
:true-label=
"CheckedVaule"
<el-checkbox
v-model=
"priceData.IsSupportChildren"
:true-label=
"CheckedVaule"
:false-label=
"UnCheckedVaule"
>
{{
$t
(
'op.SupportChild'
)
}}
:false-label=
"UnCheckedVaule"
>
{{
$t
(
'op.SupportChild'
)
}}
</el-checkbox>
</el-checkbox>
<el-checkbox
v-model=
"priceData.IsBookTeam"
:true-label=
"CheckedVaule"
v-if=
"PostConfig.LineId==14"
style=
"display:none;"
<el-checkbox
v-model=
"priceData.IsBookTeam"
:true-label=
"CheckedVaule"
v-if=
"PostConfig.LineId==14"
:false-label=
"UnCheckedVaule"
>
{{
$t
(
'op.OrderTeam'
)
}}
style=
"display:none;"
:false-label=
"UnCheckedVaule"
>
{{
$t
(
'op.OrderTeam'
)
}}
</el-checkbox>
</el-checkbox>
<input
type=
"button"
style=
"display:none;"
class=
"normalBtn"
:value=
"$t('op.HotelUse')"
@
click=
"outerVisible=true"
v-if=
"PostConfig.LineId==14 && priceData.PriceHotelList&&priceData.PriceHotelList.length>0"
/>
<input
type=
"button"
style=
"display:none;"
class=
"normalBtn"
:value=
"$t('op.HotelUse')"
@
click=
"outerVisible=true"
v-if=
"PostConfig.LineId==14 && priceData.PriceHotelList&&priceData.PriceHotelList.length>0"
/>
</div>
</div>
<el-form-item
prop=
"B2BMemberPrice"
>
<el-form-item
prop=
"B2BMemberPrice"
>
<el-input
:placeholder=
"$t('pub.pleaseImport')"
class=
"w190 ComSeat"
v-model=
"priceData.B2BMemberPrice"
<el-input
:placeholder=
"$t('pub.pleaseImport')"
class=
"w190 ComSeat"
@
keyup
.
native=
"checkPrice(priceData,'B2BMemberPrice')"
>
v-model=
"priceData.B2BMemberPrice"
@
keyup
.
native=
"checkPrice(priceData,'B2BMemberPrice')"
>
<template
slot=
"prepend"
>
{{
$t
(
'Operation.Op_fellowMember'
)
}}
</
template
>
<template
slot=
"prepend"
>
{{
$t
(
'Operation.Op_fellowMember'
)
}}
</
template
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
...
@@ -454,8 +453,8 @@
...
@@ -454,8 +453,8 @@
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
prop=
"B2CMemberPrice"
>
<el-form-item
prop=
"B2CMemberPrice"
>
<el-input
:placeholder=
"$t('pub.pleaseImport')"
class=
"w190 ComSeat"
v-model=
"priceData.B2CMemberPrice"
<el-input
:placeholder=
"$t('pub.pleaseImport')"
class=
"w190 ComSeat"
@
keyup
.
native=
"checkPrice(priceData,'B2CMemberPrice')"
>
v-model=
"priceData.B2CMemberPrice"
@
keyup
.
native=
"checkPrice(priceData,'B2CMemberPrice')"
>
<
template
slot=
"prepend"
>
{{
$t
(
'Operation.Op_directMember'
)
}}
</
template
>
<
template
slot=
"prepend"
>
{{
$t
(
'Operation.Op_directMember'
)
}}
</
template
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
...
@@ -472,34 +471,34 @@
...
@@ -472,34 +471,34 @@
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
style=
"display:none;"
>
<el-form-item
style=
"display:none;"
>
<el-input
:placeholder=
"$t('pub.pleaseImport')"
class=
"w190 ComSeat"
v-model=
"priceData.SingleDMCPrice"
<el-input
:placeholder=
"$t('pub.pleaseImport')"
class=
"w190 ComSeat"
@
keyup
.
native=
"checkPrice(priceData,'SingleDMCPrice')"
>
v-model=
"priceData.SingleDMCPrice"
@
keyup
.
native=
"checkPrice(priceData,'SingleDMCPrice')"
>
<
template
slot=
"prepend"
>
{{
$t
(
'salesModule.SingleJ'
)
}}
</
template
>
<
template
slot=
"prepend"
>
{{
$t
(
'salesModule.SingleJ'
)
}}
</
template
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</div>
</div>
</div>
</div>
<div
class=
"clearfix"
>
<div
class=
"clearfix"
>
<div
class=
"leftSetInfo"
>
<div
class=
"leftSetInfo"
>
<span
class=
"TPbaseSet"
>
{{$t('sm.otherbaojia')}}
</span>
<span
class=
"TPbaseSet"
>
{{$t('sm.otherbaojia')}}
</span>
<span
class=
"TPsecondTitle"
>
{{$t('Operation.Op_Income')}}
</span>
<span
class=
"TPsecondTitle"
>
{{$t('Operation.Op_Income')}}
</span>
</div>
</div>
<div
class=
"TPright"
>
<div
class=
"TPright"
>
<el-form-item
prop=
"ChildNeedPrice"
>
<el-form-item
prop=
"ChildNeedPrice"
>
<el-input
:placeholder=
"$t('pub.pleaseImport')"
class=
"w190 ComSeat"
v-model=
"priceData.ChildNeedPrice"
<el-input
:placeholder=
"$t('pub.pleaseImport')"
class=
"w190 ComSeat"
@
keyup
.
native=
"checkInteger(priceData,'ChildNeedPrice')"
>
v-model=
"priceData.ChildNeedPrice"
@
keyup
.
native=
"checkInteger(priceData,'ChildNeedPrice')"
>
<
template
slot=
"prepend"
>
{{
$t
(
'Operation.Op_childBed'
)
}}
</
template
>
<
template
slot=
"prepend"
>
{{
$t
(
'Operation.Op_childBed'
)
}}
</
template
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
prop=
"BabyChargePrice"
>
<el-form-item
prop=
"BabyChargePrice"
>
<el-input
:placeholder=
"$t('pub.pleaseImport')"
class=
"w190 ComSeat"
v-model=
"priceData.BabyChargePrice"
<el-input
:placeholder=
"$t('pub.pleaseImport')"
class=
"w190 ComSeat"
@
keyup
.
native=
"checkPrice(priceData,'BabyChargePrice')"
>
v-model=
"priceData.BabyChargePrice"
@
keyup
.
native=
"checkPrice(priceData,'BabyChargePrice')"
>
<
template
slot=
"prepend"
>
{{
$t
(
'Operation.Op_childSurcharge'
)
}}
</
template
>
<
template
slot=
"prepend"
>
{{
$t
(
'Operation.Op_childSurcharge'
)
}}
</
template
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
prop=
"OldManChargePrice"
>
<el-form-item
prop=
"OldManChargePrice"
>
<el-input
:placeholder=
"$t('pub.pleaseImport')"
class=
"w190 ComSeat"
v-model=
"priceData.OldManChargePrice"
<el-input
:placeholder=
"$t('pub.pleaseImport')"
class=
"w190 ComSeat"
@
keyup
.
native=
"checkPrice(priceData,'OldManChargePrice')"
>
v-model=
"priceData.OldManChargePrice"
@
keyup
.
native=
"checkPrice(priceData,'OldManChargePrice')"
>
<
template
slot=
"prepend"
>
{{
$t
(
'Operation.Op_oldmanSurcharge'
)
}}
</
template
>
<
template
slot=
"prepend"
>
{{
$t
(
'Operation.Op_oldmanSurcharge'
)
}}
</
template
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
...
@@ -510,8 +509,8 @@
...
@@ -510,8 +509,8 @@
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
prop=
"SingleRoomPrice"
>
<el-form-item
prop=
"SingleRoomPrice"
>
<el-input
:placeholder=
"$t('pub.pleaseImport')"
class=
"w190 ComSeat"
v-model=
"priceData.SingleRoomPrice"
<el-input
:placeholder=
"$t('pub.pleaseImport')"
class=
"w190 ComSeat"
@
keyup
.
native=
"checkPrice(priceData,'SingleRoomPrice')"
>
v-model=
"priceData.SingleRoomPrice"
@
keyup
.
native=
"checkPrice(priceData,'SingleRoomPrice')"
>
<
template
slot=
"prepend"
>
{{
$t
(
'Operation.Op_singleRoomcha'
)
}}
</
template
>
<
template
slot=
"prepend"
>
{{
$t
(
'Operation.Op_singleRoomcha'
)
}}
</
template
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
...
@@ -536,7 +535,8 @@
...
@@ -536,7 +535,8 @@
</div>
</div>
<div
class=
"TPright"
>
<div
class=
"TPright"
>
<el-form-item
prop=
"ForeignPassportPrice"
>
<el-form-item
prop=
"ForeignPassportPrice"
>
<el-input
:placeholder=
"$t('pub.pleaseImport')"
class=
"w300 ComSeat"
v-model=
"priceData.ForeignPassportPrice"
<el-input
:placeholder=
"$t('pub.pleaseImport')"
class=
"w300 ComSeat"
v-model=
"priceData.ForeignPassportPrice"
@
keyup
.
native=
"checkPrice(priceData,'ForeignPassportPrice')"
>
@
keyup
.
native=
"checkPrice(priceData,'ForeignPassportPrice')"
>
<
template
slot=
"prepend"
>
非中国大陆护照报价
</
template
>
<
template
slot=
"prepend"
>
非中国大陆护照报价
</
template
>
</el-input>
</el-input>
...
@@ -550,14 +550,14 @@
...
@@ -550,14 +550,14 @@
</div>
</div>
<div
class=
"TPright"
>
<div
class=
"TPright"
>
<el-form-item
prop=
"ChildNoNeedPrice"
>
<el-form-item
prop=
"ChildNoNeedPrice"
>
<el-input
:placeholder=
"$t('pub.pleaseImport')"
class=
"w190 ComSeat"
v-model=
"priceData.ChildNoNeedPrice"
<el-input
:placeholder=
"$t('pub.pleaseImport')"
class=
"w190 ComSeat"
@
keyup
.
native=
"checkInteger(priceData,'ChildNoNeedPrice')"
>
v-model=
"priceData.ChildNoNeedPrice"
@
keyup
.
native=
"checkInteger(priceData,'ChildNoNeedPrice')"
>
<
template
slot=
"prepend"
>
{{
$t
(
'Operation.Op_childNobed'
)
}}
</
template
>
<
template
slot=
"prepend"
>
{{
$t
(
'Operation.Op_childNobed'
)
}}
</
template
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
prop=
"BackVisaPrice"
>
<el-form-item
prop=
"BackVisaPrice"
>
<el-input
:placeholder=
"$t('pub.pleaseImport')"
class=
"w190 ComSeat"
v-model=
"priceData.BackVisaPrice"
<el-input
:placeholder=
"$t('pub.pleaseImport')"
class=
"w190 ComSeat"
@
keyup
.
native=
"checkInteger(priceData,'BackVisaPrice')"
>
v-model=
"priceData.BackVisaPrice"
@
keyup
.
native=
"checkInteger(priceData,'BackVisaPrice')"
>
<
template
slot=
"prepend"
>
{{
$t
(
'Operation.Op_visafeeBack'
)
}}
</
template
>
<
template
slot=
"prepend"
>
{{
$t
(
'Operation.Op_visafeeBack'
)
}}
</
template
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
...
@@ -569,8 +569,8 @@
...
@@ -569,8 +569,8 @@
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
style=
"display:none;"
>
<el-form-item
style=
"display:none;"
>
<el-input
:placeholder=
"$t('pub.pleaseImport')"
class=
"w190 ComSeat"
v-model=
"priceData.DiscountPrice"
<el-input
:placeholder=
"$t('pub.pleaseImport')"
class=
"w190 ComSeat"
@
keyup
.
native=
"checkPrice(priceData,'DiscountPrice')"
>
v-model=
"priceData.DiscountPrice"
@
keyup
.
native=
"checkPrice(priceData,'DiscountPrice')"
>
<
template
slot=
"prepend"
>
{{
$t
(
'sm.zaoniaoyouhui'
)
}}
</
template
>
<
template
slot=
"prepend"
>
{{
$t
(
'sm.zaoniaoyouhui'
)
}}
</
template
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
...
@@ -583,8 +583,8 @@
...
@@ -583,8 +583,8 @@
</div>
</div>
<div
class=
"TPright clearfix"
>
<div
class=
"TPright clearfix"
>
<el-form-item
prop=
"ClearOrderHour"
>
<el-form-item
prop=
"ClearOrderHour"
>
<el-input
:placeholder=
"$t('pub.pleaseImport')"
class=
"w190 ComSeat"
v-model=
"priceData.ClearOrderHour"
<el-input
:placeholder=
"$t('pub.pleaseImport')"
class=
"w190 ComSeat"
@
keyup
.
native=
"checkInteger(priceData,'ClearOrderHour')"
v-model=
"priceData.ClearOrderHour"
@
keyup
.
native=
"checkInteger(priceData,'ClearOrderHour')"
@
blur=
"checkInteger(priceData,'ClearOrderHour')"
>
@
blur=
"checkInteger(priceData,'ClearOrderHour')"
>
<
template
slot=
"prepend"
>
{{
$t
(
'sm.zidongqingwei'
)
}}
</
template
>
<
template
slot=
"prepend"
>
{{
$t
(
'sm.zidongqingwei'
)
}}
</
template
>
</el-input>
</el-input>
...
@@ -601,8 +601,8 @@
...
@@ -601,8 +601,8 @@
<el-option
v-for=
"item in companyList"
:key=
"item.id"
:label=
"item.bName"
:value=
"item.id"
>
<el-option
v-for=
"item in companyList"
:key=
"item.id"
:label=
"item.bName"
:value=
"item.id"
>
</el-option>
</el-option>
</el-select>
</el-select>
<span
class=
"TC_neibu"
style=
"float: inherit;margin-left: 5px;margin-right: 5px;"
v-if=
"standardCurrencyName"
<span
class=
"TC_neibu"
style=
"float: inherit;margin-left: 5px;margin-right: 5px;"
:class=
"{'TCneibu':standardCurrencyName=='人民币','TCb2b':standardCurrencyName=='日元',
v-if=
"standardCurrencyName"
:class=
"{'TCneibu':standardCurrencyName=='人民币','TCb2b':standardCurrencyName=='日元',
'TCb2c':standardCurrencyName=='新台币','AppPlat':standardCurrencyName=='',
'TCb2c':standardCurrencyName=='新台币','AppPlat':standardCurrencyName=='',
'otherPlat':standardCurrencyName=='',}"
>
{{standardCurrencyName}}结算
</span>
'otherPlat':standardCurrencyName=='',}"
>
{{standardCurrencyName}}结算
</span>
</el-form-item>
</el-form-item>
...
@@ -645,8 +645,8 @@
...
@@ -645,8 +645,8 @@
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
style=
"display:none;"
>
<el-form-item
style=
"display:none;"
>
<el-input
:placeholder=
"$t('op.CanSallTicketNum')"
class=
"w290"
v-model=
"priceData.CanSellTicketNum"
maxlength=
"2"
<el-input
:placeholder=
"$t('op.CanSallTicketNum')"
class=
"w290"
v-model=
"priceData.CanSellTicketNum"
@
keyup
.
native=
"checkInteger(priceData,'CanSellTicketNum')"
maxlength=
"2"
@
keyup
.
native=
"checkInteger(priceData,'CanSellTicketNum')"
@
change=
"CheckSellTicketNum(priceData)"
>
@
change=
"CheckSellTicketNum(priceData)"
>
<
template
slot=
"prepend"
>
{{
$t
(
'op.CanSallTicketNum'
)
}}
</
template
>
<
template
slot=
"prepend"
>
{{
$t
(
'op.CanSallTicketNum'
)
}}
</
template
>
</el-input>
</el-input>
...
@@ -659,7 +659,8 @@
...
@@ -659,7 +659,8 @@
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
prop=
"GatherAddress"
>
<el-form-item
prop=
"GatherAddress"
>
<el-input
:placeholder=
"$t('pub.pleaseImport')"
class=
"w460 ComSeat"
v-model=
"priceData.GatherAddress"
>
<el-input
:placeholder=
"$t('pub.pleaseImport')"
class=
"w460 ComSeat"
v-model=
"priceData.GatherAddress"
>
<
template
slot=
"prepend"
>
{{
$t
(
'sm.jihedidian'
)
}}
</
template
>
<
template
slot=
"prepend"
>
{{
$t
(
'sm.jihedidian'
)
}}
</
template
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
...
@@ -676,7 +677,8 @@
...
@@ -676,7 +677,8 @@
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
style=
"display:none;"
>
<el-form-item
style=
"display:none;"
>
<el-input
:placeholder=
"$t('pub.pleaseImport')"
class=
"w460 ComSeat"
v-model=
"priceData.AirportService"
>
<el-input
:placeholder=
"$t('pub.pleaseImport')"
class=
"w460 ComSeat"
v-model=
"priceData.AirportService"
>
<
template
slot=
"prepend"
>
{{
$t
(
'op.AirSupplier'
)
}}
</
template
>
<
template
slot=
"prepend"
>
{{
$t
(
'op.AirSupplier'
)
}}
</
template
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
...
@@ -727,7 +729,8 @@
...
@@ -727,7 +729,8 @@
<td>
{{fitem.TicketNum}}
</td>
<td>
{{fitem.TicketNum}}
</td>
<td>
{{fitem.UseAmount}}
</td>
<td>
{{fitem.UseAmount}}
</td>
<td>
<td>
<el-input
class=
"w80"
:placeholder=
"$t('salesModule.AirNum')"
@
keyup
.
native=
"getFlightBindNum(fitem)"
v-model=
"fitem.BindNum"
></el-input>
<el-input
class=
"w80"
:placeholder=
"$t('salesModule.AirNum')"
@
keyup
.
native=
"getFlightBindNum(fitem)"
v-model=
"fitem.BindNum"
></el-input>
</td>
</td>
</tr>
</tr>
</table>
</table>
...
@@ -814,7 +817,8 @@
...
@@ -814,7 +817,8 @@
<el-dialog
custom-class=
'Tp_hotelDialog'
title=
"酒店使用情况"
:visible
.
sync=
"outerVisible"
center
>
<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"
>
<tr
v-if=
"priceData.PriceHotelList"
v-for=
"item in priceData.PriceHotelList"
>
<td
style=
"background-color:#E6E6E6;color:#333;"
width=
"120"
>
{{item.UseDay}}
({{getDayByDate(item.UseDay)}})
</td>
<td
style=
"background-color:#E6E6E6;color:#333;"
width=
"120"
>
{{item.UseDay}}
({{getDayByDate(item.UseDay)}})
</td>
<td>
<td>
<div
class=
"tp_divList"
v-for=
"(subItem,index) in item.SubList"
>
<div
class=
"tp_divList"
v-for=
"(subItem,index) in item.SubList"
>
<div>
<div>
...
@@ -840,7 +844,8 @@
...
@@ -840,7 +844,8 @@
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<button
class=
"normalBtn"
type=
"primary"
@
click=
"saveHoteluseDetail()"
<button
class=
"normalBtn"
type=
"primary"
@
click=
"saveHoteluseDetail()"
:class=
"{'disClick':!isSaved}"
>
{{btnText}}
</button>
:class=
"{'disClick':!isSaved}"
>
{{btnText}}
</button>
<button
class=
"hollowFixedBtn"
:class=
"{'disClick':!isSaved}"
@
click=
"cancelHotelUseDetail()"
>
{{$t('pub.cancelBtn')}}
</button>
<button
class=
"hollowFixedBtn"
:class=
"{'disClick':!isSaved}"
@
click=
"cancelHotelUseDetail()"
>
{{$t('pub.cancelBtn')}}
</button>
</div>
</div>
</el-dialog>
</el-dialog>
</div>
</div>
...
@@ -877,9 +882,14 @@
...
@@ -877,9 +882,14 @@
SaleBranchIdArray
:
[],
SaleBranchIdArray
:
[],
OutGroupType
:
0
OutGroupType
:
0
},
},
OutGroupTypeList
:
[
OutGroupTypeList
:
[{
{
Name
:
'常规'
,
Id
:
0
},
Name
:
'常规'
,
{
Name
:
'落地团'
,
Id
:
1
},
Id
:
0
},
{
Name
:
'落地团'
,
Id
:
1
},
],
],
returnPriceList
:
this
.
priceList
,
returnPriceList
:
this
.
priceList
,
//酒店列表
//酒店列表
...
@@ -1047,7 +1057,7 @@
...
@@ -1047,7 +1057,7 @@
//选中的酒店数组
//选中的酒店数组
ChooseHotelArray
:
[],
ChooseHotelArray
:
[],
//非中国大陆护照报价
//非中国大陆护照报价
ForeignPassportPrice
:
0
ForeignPassportPrice
:
0
};
};
}
}
this
.
returnPriceList
.
push
(
objItem
);
this
.
returnPriceList
.
push
(
objItem
);
...
@@ -1059,47 +1069,46 @@
...
@@ -1059,47 +1069,46 @@
break
;
break
;
}
}
},
},
//日历全选
//日历全选
checkAll
()
{
checkAll
()
{
this
.
returnPriceList
=
[];
this
.
returnPriceList
=
[];
if
(
this
.
isCheckAll
)
{
if
(
this
.
isCheckAll
)
{
this
.
days
.
forEach
(
x
=>
{
this
.
days
.
forEach
(
x
=>
{
x
.
checkState
=
'1'
;
x
.
checkState
=
'1'
;
let
obj
=
{
let
obj
=
{
AdImage
:
''
,
AdImage
:
''
,
AirTicketId
:
0
,
AirTicketId
:
0
,
AirportService
:
''
,
AirportService
:
''
,
AirticketBindList
:[],
AirticketBindList
:
[],
AirticketMoney
:
0
,
AirticketMoney
:
0
,
B2BMemberPrice
:
0
,
B2BMemberPrice
:
0
,
B2BPrice
:
0
,
B2BPrice
:
0
,
B2CMemberPrice
:
0
,
B2CMemberPrice
:
0
,
B2CPrice
:
0
,
B2CPrice
:
0
,
BabyChargePrice
:
0
,
BabyChargePrice
:
0
,
BabyPrice
:
0
,
BabyPrice
:
0
,
BackSafeMoney
:
0
,
BackSafeMoney
:
0
,
BackVisaPrice
:
0
,
BackVisaPrice
:
0
,
CSeat
:
0
,
CSeat
:
0
,
CanSellTicketNum
:
0
,
CanSellTicketNum
:
0
,
Checked
:
false
,
Checked
:
false
,
ChildNeedPrice
:
0
,
ChildNeedPrice
:
0
,
ChildNoNeedPrice
:
0
,
ChildNoNeedPrice
:
0
,
ChooseHotelArray
:[],
ChooseHotelArray
:
[],
ClearOrderHour
:
''
,
ClearOrderHour
:
''
,
ContractArray
:[],
ContractArray
:
[],
ContractUrl
:
''
,
ContractUrl
:
''
,
DeleteAirticketIds
:
''
,
DeleteAirticketIds
:
''
,
DiscountPrice
:
0
,
DiscountPrice
:
0
,
FSeat
:
0
,
FSeat
:
0
,
GatherAddress
:
''
,
GatherAddress
:
''
,
GatherTag
:
''
,
GatherTag
:
''
,
GatherTime
:
''
,
GatherTime
:
''
,
Inventory
:
0
,
Inventory
:
0
,
IsB2B
:
0
,
IsB2B
:
0
,
IsB2C
:
0
,
IsB2C
:
0
,
IsBookTeam
:
0
,
IsBookTeam
:
0
,
IsNew
:
false
,
IsNew
:
false
,
IsOrder
:
0
,
IsOrder
:
0
,
IsSubstitution
:
1
,
IsSubstitution
:
1
,
IsSupportChildren
:
1
,
IsSupportChildren
:
1
,
...
@@ -1126,9 +1135,34 @@
...
@@ -1126,9 +1135,34 @@
}
}
this
.
returnPriceList
.
push
(
obj
);
this
.
returnPriceList
.
push
(
obj
);
})
})
}
else
{
// console.log("取消选中");
// var that = this;
// if (this.returnPriceList && this.returnPriceList.length > 0) {
// this.returnPriceList.forEach(item => {
// console.log("item", item)
// if (item.TCID > 0) {
// that.apipost(
// "travel_post_RemoveTravelPrice", {
// TCID: item.TCID
// },
// res => {
// if (res.data.resultCode == 1) {
// } else {
// that.Info(res.data.message);
// }
// },
// null
// );
// }
// })
// }
//取消选中
this
.
days
.
forEach
(
x
=>
{
x
.
checkState
=
'2'
;
});
}
}
},
},
//单团期修改重置日历选中
//单团期修改重置日历选中
initDatePickerCheched
()
{
initDatePickerCheched
()
{
...
@@ -1198,7 +1232,7 @@
...
@@ -1198,7 +1232,7 @@
if
(
this
.
priceData
.
AirticketBindList
.
length
>
0
)
{
if
(
this
.
priceData
.
AirticketBindList
.
length
>
0
)
{
this
.
QFlightDateStart
=
this
.
priceData
.
AirticketBindList
[
0
].
FlightDate
;
this
.
QFlightDateStart
=
this
.
priceData
.
AirticketBindList
[
0
].
FlightDate
;
this
.
QFlightDateEnd
=
this
.
priceData
.
AirticketBindList
[
this
.
priceData
.
AirticketBindList
.
length
-
1
]
this
.
QFlightDateEnd
=
this
.
priceData
.
AirticketBindList
[
this
.
priceData
.
AirticketBindList
.
length
-
1
]
.
FlightDate
;
.
FlightDate
;
this
.
getSelectFilght
();
this
.
getSelectFilght
();
}
else
{
}
else
{
this
.
QFlightDateStart
=
this
.
daysCalculate
(
this
.
priceData
.
StartDate
,
-
1
);
this
.
QFlightDateStart
=
this
.
daysCalculate
(
this
.
priceData
.
StartDate
,
-
1
);
...
@@ -1223,7 +1257,7 @@
...
@@ -1223,7 +1257,7 @@
QFlightDateEnd
:
this
.
QFlightDateEnd
,
QFlightDateEnd
:
this
.
QFlightDateEnd
,
CreateBy
:
createBy
,
CreateBy
:
createBy
,
AirTicketId
:
this
.
priceData
.
AirTicketId
,
AirTicketId
:
this
.
priceData
.
AirTicketId
,
TCID
:
this
.
priceData
.
TCID
TCID
:
this
.
priceData
.
TCID
};
};
let
that
=
this
;
let
that
=
this
;
...
@@ -1307,7 +1341,7 @@
...
@@ -1307,7 +1341,7 @@
this
.
isNullOrEmpty
(
quotationPrice
.
ChildNoNeedPrice
)
||
this
.
isNullOrEmpty
(
quotationPrice
.
ChildNoNeedPrice
)
||
this
.
isNullOrEmpty
(
quotationPrice
.
OldManChargePrice
)
||
this
.
isNullOrEmpty
(
quotationPrice
.
OldManChargePrice
)
||
this
.
isNullOrEmpty
(
quotationPrice
.
OtherPrice
)
||
this
.
isNullOrEmpty
(
quotationPrice
.
OtherPrice
)
||
this
.
isNullOrEmpty
(
quotationPrice
.
ForeignPassportPrice
)
||
this
.
isNullOrEmpty
(
quotationPrice
.
ForeignPassportPrice
)
||
this
.
isNullOrEmpty
(
quotationPrice
.
SingleRoomPrice
)
||
this
.
isNullOrEmpty
(
quotationPrice
.
SingleRoomPrice
)
||
this
.
isNullOrEmpty
(
quotationPrice
.
VisaPrice
)
||
this
.
isNullOrEmpty
(
quotationPrice
.
VisaPrice
)
||
this
.
isNullOrEmpty
(
quotationPrice
.
SingleDMCPrice
)
||
this
.
isNullOrEmpty
(
quotationPrice
.
SingleDMCPrice
)
||
...
@@ -1440,15 +1474,15 @@
...
@@ -1440,15 +1474,15 @@
});
});
return
isExit
;
return
isExit
;
},
},
getstandardCurrencyName
(){
getstandardCurrencyName
()
{
let
isShow
=
true
let
isShow
=
true
this
.
companyList
.
forEach
(
x
=>
{
this
.
companyList
.
forEach
(
x
=>
{
if
(
x
.
id
==
this
.
priceData
.
OutBranchId
&&
x
.
standardCurrencyId
>
0
)
{
if
(
x
.
id
==
this
.
priceData
.
OutBranchId
&&
x
.
standardCurrencyId
>
0
)
{
this
.
standardCurrencyName
=
x
.
standardCurrencyName
this
.
standardCurrencyName
=
x
.
standardCurrencyName
isShow
=
false
isShow
=
false
}
}
})
})
if
(
isShow
)
{
if
(
isShow
)
{
this
.
standardCurrencyName
=
''
this
.
standardCurrencyName
=
''
}
}
},
},
...
@@ -1514,11 +1548,10 @@
...
@@ -1514,11 +1548,10 @@
parseInt
(
this
.
priceData
.
YSeat
)
+
parseInt
(
this
.
priceData
.
YSeat
)
+
parseInt
(
this
.
priceData
.
CSeat
)
+
parseInt
(
this
.
priceData
.
CSeat
)
+
parseInt
(
this
.
priceData
.
FSeat
);
parseInt
(
this
.
priceData
.
FSeat
);
if
(
Number
(
fitem
.
TicketNum
)
-
Number
(
fitem
.
OtherTeamUseNum
)
<
Number
(
fitem
.
BindNum
))
if
(
Number
(
fitem
.
TicketNum
)
-
Number
(
fitem
.
OtherTeamUseNum
)
<
Number
(
fitem
.
BindNum
))
{
{
fitem
.
BindNum
=
0
;
fitem
.
BindNum
=
0
;
this
.
Error
(
"最多只能绑定"
+
(
Number
(
fitem
.
TicketNum
)
-
Number
(
fitem
.
OtherTeamUseNum
))
+
"个机位"
);
this
.
Error
(
"最多只能绑定"
+
(
Number
(
fitem
.
TicketNum
)
-
Number
(
fitem
.
OtherTeamUseNum
))
+
"个机位"
);
}
}
this
.
selectFilghtList
.
forEach
((
x
,
index
)
=>
{
this
.
selectFilghtList
.
forEach
((
x
,
index
)
=>
{
if
(
x
.
IsSelected
)
{
if
(
x
.
IsSelected
)
{
this
.
priceData
.
AirticketBindList
.
forEach
(
y
=>
{
this
.
priceData
.
AirticketBindList
.
forEach
(
y
=>
{
...
@@ -1598,13 +1631,13 @@
...
@@ -1598,13 +1631,13 @@
},
},
//保存酒店使用情况
//保存酒店使用情况
saveHoteluseDetail
()
{
saveHoteluseDetail
()
{
var
that
=
this
;
var
that
=
this
;
this
.
Confirm
(
"是否确定提交选中的酒店?"
,
function
()
{
this
.
Confirm
(
"是否确定提交选中的酒店?"
,
function
()
{
if
(
that
.
isSaved
)
{
if
(
that
.
isSaved
)
{
that
.
isSaved
=
false
;
that
.
isSaved
=
false
;
that
.
$emit
(
"saveMsg"
);
that
.
$emit
(
"saveMsg"
);
}
}
that
.
btnText
=
'保存中...'
that
.
btnText
=
'保存中...'
});
});
},
},
//取消
//取消
...
@@ -1646,11 +1679,11 @@
...
@@ -1646,11 +1679,11 @@
}
}
},
},
//根据日期返回星期几
//根据日期返回星期几
getDayByDate
(
dateString
){
getDayByDate
(
dateString
)
{
if
(
dateString
)
{
if
(
dateString
)
{
var
date
;
var
date
;
var
dateArray
=
dateString
.
split
(
"-"
);
var
dateArray
=
dateString
.
split
(
"-"
);
date
=
new
Date
(
dateArray
[
0
],
parseInt
(
dateArray
[
1
]
-
1
),
dateArray
[
2
]);
date
=
new
Date
(
dateArray
[
0
],
parseInt
(
dateArray
[
1
]
-
1
),
dateArray
[
2
]);
return
"日一二三四五六"
.
charAt
(
date
.
getDay
());
return
"日一二三四五六"
.
charAt
(
date
.
getDay
());
}
}
}
}
...
@@ -1701,7 +1734,7 @@
...
@@ -1701,7 +1734,7 @@
//深度监听,可监听到对象、数组的变化
//深度监听,可监听到对象、数组的变化
handler
:
function
(
val
,
oldVal
)
{
handler
:
function
(
val
,
oldVal
)
{
this
.
initShowPriceList
();
this
.
initShowPriceList
();
this
.
$emit
(
"headCallBack"
,
this
.
returnPriceList
,
this
.
priceData
.
OutGroupType
);
this
.
$emit
(
"headCallBack"
,
this
.
returnPriceList
,
this
.
priceData
.
OutGroupType
);
},
},
deep
:
true
deep
:
true
},
},
...
@@ -1709,7 +1742,7 @@
...
@@ -1709,7 +1742,7 @@
//深度监听,可监听到对象的变化
//深度监听,可监听到对象的变化
handler
:
function
(
val
,
oldVal
)
{
handler
:
function
(
val
,
oldVal
)
{
this
.
initShowPriceList
();
this
.
initShowPriceList
();
this
.
$emit
(
"headCallBack"
,
this
.
returnPriceList
,
this
.
priceData
.
OutGroupType
);
this
.
$emit
(
"headCallBack"
,
this
.
returnPriceList
,
this
.
priceData
.
OutGroupType
);
},
},
deep
:
true
deep
:
true
},
},
...
...
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