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
1efcd34c
Commit
1efcd34c
authored
Mar 20, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
航班酒店修改
parent
fe9c720c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
9 deletions
+23
-9
TravelManager2.vue
...ts/newTravelmanager/TravelGroupControl/TravelManager2.vue
+1
-0
TravelPrice.vue
...nents/newTravelmanager/TravelGroupControl/TravelPrice.vue
+22
-9
No files found.
src/components/newTravelmanager/TravelGroupControl/TravelManager2.vue
View file @
1efcd34c
...
@@ -589,6 +589,7 @@
...
@@ -589,6 +589,7 @@
res
=>
{
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
var
tempData
=
res
.
data
.
data
;
var
tempData
=
res
.
data
.
data
;
console
.
log
(
"tempData"
,
tempData
);
if
(
tempData
.
Feature
!=
null
)
{
if
(
tempData
.
Feature
!=
null
)
{
this
.
FeatureData
.
ID
=
tempData
.
Feature
.
ID
;
this
.
FeatureData
.
ID
=
tempData
.
Feature
.
ID
;
this
.
FeatureData
.
ConfigId
=
tempData
.
Feature
.
ConfigId
;
this
.
FeatureData
.
ConfigId
=
tempData
.
Feature
.
ConfigId
;
...
...
src/components/newTravelmanager/TravelGroupControl/TravelPrice.vue
View file @
1efcd34c
...
@@ -398,10 +398,9 @@
...
@@ -398,10 +398,9 @@
<div
class=
"TP_noneed"
>
<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>
<el-checkbox
v-model=
"priceData.IsBookTeam"
style=
"display:none"
:true-label=
"CheckedVaule"
<el-checkbox
v-model=
"priceData.IsBookTeam"
:true-label=
"CheckedVaule"
:false-label=
"UnCheckedVaule"
style=
"display:none;"
>
订团
:false-label=
"UnCheckedVaule"
>
订团
</el-checkbox>
</el-checkbox>
<input
type=
"button"
class=
"normalBtn"
style=
"display:none;"
value=
"酒店使用情况
"
@
click=
"outerVisible=true"
/>
<input
type=
"button"
class=
"normalBtn"
value=
"酒店使用情况"
style=
"display:none;
"
@
click=
"outerVisible=true"
/>
</div>
</div>
<el-form-item
prop=
"B2BMemberPrice"
>
<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')"
>
...
@@ -714,17 +713,20 @@
...
@@ -714,17 +713,20 @@
:AirTicketId=
"priceData.AirTicketId"
:DeleteAirticketIds=
"priceData.DeleteAirticketIds"
:selectFilghtList=
"selectFilghtList"
></TravelPriceFlightList>
:AirTicketId=
"priceData.AirTicketId"
:DeleteAirticketIds=
"priceData.DeleteAirticketIds"
:selectFilghtList=
"selectFilghtList"
></TravelPriceFlightList>
</div>
</div>
<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'
>
<table
class=
"TphotelTable"
border=
"0"
cellspacing=
'1'
v-if=
"returnPriceList.length>0"
>
<
!-- <tr v-if="returnPrice
List" v-for="item in returnPriceList[0].PriceHotelList">
<
tr
v-if=
"returnPriceList[0].PriceHotel
List"
v-for=
"item in returnPriceList[0].PriceHotelList"
>
<td
style=
"background-color:#E6E6E6;color:#333;"
width=
"120"
>
{{item.UseDay}}
</td>
<td
style=
"background-color:#E6E6E6;color:#333;"
width=
"120"
>
{{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>
{{index+1}}.{{subItem.HotelName}} 【<span style="color:#E95252;">库存:{{subItem.RemainingInventory}}</span>】 <el-checkbox></el-checkbox>
{{index+1}}.{{subItem.HotelName}}
【
<span
style=
"color:#E95252;"
>
库存:{{subItem.RemainingInventory}}
</span>
】
{{item.CheckList[index].CheckStatus}}
<el-checkbox
:checked=
"item.CheckList[index].CheckStatus===true"
@
change=
"changeHotelStatus(item,index,item.CheckList[index].CheckStatus)"
></el-checkbox>
</div>
</div>
</div>
</div>
</td>
</td>
</tr>
-->
</tr>
</table>
</table>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<button
class=
"normalBtn"
type=
"primary"
>
{{$t('pub.saveBtn')}}
</button>
<button
class=
"normalBtn"
type=
"primary"
>
{{$t('pub.saveBtn')}}
</button>
...
@@ -1022,7 +1024,7 @@
...
@@ -1022,7 +1024,7 @@
QFlightDateStart
:
this
.
QFlightDateStart
,
QFlightDateStart
:
this
.
QFlightDateStart
,
QFlightDateEnd
:
this
.
QFlightDateEnd
,
QFlightDateEnd
:
this
.
QFlightDateEnd
,
CreateBy
:
createBy
,
CreateBy
:
createBy
,
AirTicketId
:
this
.
priceData
.
AirTicketId
AirTicketId
:
this
.
priceData
.
AirTicketId
};
};
let
that
=
this
;
let
that
=
this
;
...
@@ -1339,6 +1341,16 @@
...
@@ -1339,6 +1341,16 @@
this
.
Info
(
"可销售机票数量不能超过本团机位数!"
)
this
.
Info
(
"可销售机票数量不能超过本团机位数!"
)
item
.
CanSellTicketNum
=
0
;
item
.
CanSellTicketNum
=
0
;
}
}
},
//每一天只能选择一个酒店
changeHotelStatus
(
item
,
index
,
flag
)
{
if
(
item
.
CheckList
!=
null
&&
item
.
CheckList
.
length
>
0
)
{
item
.
CheckList
.
forEach
(
subItem
=>
{
subItem
.
CheckStatus
=
false
;
});
item
.
CheckList
[
index
].
CheckStatus
=
!
flag
;
}
console
.
log
(
"CheckList"
,
item
.
CheckList
);
}
}
},
},
mounted
()
{
mounted
()
{
...
@@ -1404,4 +1416,5 @@
...
@@ -1404,4 +1416,5 @@
TravelPriceFlightList
:
TravelPriceFlightList
TravelPriceFlightList
:
TravelPriceFlightList
}
}
};
};
</
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