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
804dcd76
Commit
804dcd76
authored
Jul 28, 2025
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
be2f5a0b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
208 additions
and
3 deletions
+208
-3
groupTourOrder.vue
src/components/SalesModule/groupTourOrder.vue
+61
-1
groupTourOrderByTuan.vue
src/components/SalesModule/groupTourOrderByTuan.vue
+55
-2
RegistrationList.vue
src/components/TravelManager/TravelList/RegistrationList.vue
+48
-0
order-form2.vue
src/components/orderCommon/order-form2.vue
+44
-0
No files found.
src/components/SalesModule/groupTourOrder.vue
View file @
804dcd76
...
...
@@ -1249,6 +1249,20 @@
</el-popover>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('salesModule.GoFlight')"
prop=
"PlatformOrder"
>
<el-select
v-model=
"AirTicketIdList"
multiple
clearable
collapse-tags
placeholder=
"请选择"
>
<el-option
v-for=
"item in PriceFight"
:key=
"item.AirLineTicketId"
:label=
"item.FlightStr"
:value=
"item.AirLineTicketId"
>
<!-- <span style="float: left">{{ item.AirLineTicketId }}</span> -->
<!-- <span style="float: right; color: #8492a6; font-size: 13px">{{ item.FlightStr }}</span> -->
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
...
...
@@ -2767,6 +2781,8 @@
IsChargeLossOrders
:
0
,
Unit_PriceList
:
[],
//成交单价下拉数据
LessMoney
:
0
,
AirTicketIdList
:[],
PriceFight
:[],
addMsg
:
{
GroupTypeNeedHouse
:
"0"
,
OrderForm
:
1
,
...
...
@@ -2815,6 +2831,7 @@
AirticketNum
:
"0"
,
ScenicRefundArr
:
[],
ScenicList
:
[],
//2025-07-14 add bY:W
AirTicketIds
:
""
,
GoCityTime
:
""
,
BackCityTime
:
""
,
CommissionSharePeople
:
"-1"
,
...
...
@@ -3824,6 +3841,27 @@
(
err
)
=>
{}
);
},
getPriceBindflight
(
TCID
)
{
this
.
PriceFight
=
[];
this
.
apipost
(
"AirTicket_get_GetSellPriceBindPriceService"
,
{
TCID
,
},
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
PriceFight
=
res
.
data
.
data
;
if
(
this
.
addMsg
.
AirTicketIds
.
length
>
0
){
this
.
AirTicketIdList
=
this
.
addMsg
.
AirTicketIds
.
split
(
','
).
map
(
Number
);
// ["1", "2", "3"]
}
else
{
if
(
Array
.
isArray
(
this
.
PriceFight
)
&&
this
.
PriceFight
.
length
>
0
){
this
.
AirTicketIdList
.
push
(
this
.
PriceFight
[
0
].
AirLineTicketId
);
}
}
}
}
);
},
platformOrderMethods
()
{
if
(
this
.
addMsg
.
PlatformOrder
==
""
)
{
this
.
addMsg
.
MinOrderPrice
=
0
;
...
...
@@ -3931,6 +3969,18 @@
this
.
addMsg
.
OneSex
=
x
.
OneSex
;
this
.
addMsg
.
PlatformAccount
=
""
;
this
.
getScenicRefund
(
obj
.
tcid
);
this
.
getPriceBindflight
(
obj
.
tcid
);
if
(
this
.
addMsg
.
AirTicketIds
.
length
>
0
){
console
.
log
(
"this.addMsg.AirTicketIds.split(',')"
,
this
.
addMsg
.
AirTicketIds
.
split
(
','
));
this
.
AirTicketIdList
=
this
.
addMsg
.
AirTicketIds
.
split
(
','
).
map
(
Number
);
// ["1", "2", "3"]
console
.
log
(
"this.AirTicketIdList"
,
this
.
AirTicketIdList
);
}
else
{
if
(
Array
.
isArray
(
this
.
PriceFight
)
&&
this
.
PriceFight
.
length
>
0
){
this
.
AirTicketIdList
.
push
(
this
.
PriceFight
[
0
].
AirLineTicketId
);
}
}
this
.
getPriceBindflight
(
obj
.
tcid
);
this
.
getPlatformAccount
(
obj
.
platformAccountTypeId
,
obj
.
platformAccount
...
...
@@ -4074,8 +4124,12 @@
this
.
addObj
=
res
.
data
.
data
.
modelPrice
;
let
x
=
res
.
data
.
data
.
model
;
this
.
addMsg
=
x
;
this
.
addMsg
.
ScenicRefundArr
=
res
.
data
.
data
.
ScenicRefundArr
;
this
.
getScenicRefund
(
obj
.
tcid
);
this
.
getPriceBindflight
(
obj
.
tcid
);
this
.
SetOutCityId
=
res
.
data
.
data
.
SetOutCityId
;
this
.
reOutCityId
=
res
.
data
.
data
.
SetBackCityId
;
this
.
addMsg
.
CustomerType
=
x
.
CustomerType
.
toString
();
...
...
@@ -4663,7 +4717,10 @@
this
.
SOMsg
.
ApplyReason
=
""
;
},
clearMsg
()
{
this
.
addMsg
.
OrderId
=
"0"
;
this
.
PriceFight
=
[];
this
.
AirTicketIdList
=
[];
this
.
addMsg
.
AirTicketIds
=
""
;
this
.
addMsg
.
OrderId
=
"0"
;
this
.
addMsg
.
TCID
=
"0"
;
this
.
addMsg
.
IsIntermodal
=
"2"
;
this
.
addMsg
.
IsReturnIntermodal
=
"2"
;
...
...
@@ -4800,6 +4857,9 @@
this
.
addMsg
.
IsBirdDiscount
=
this
.
addObj
.
IsBirdDiscount
;
this
.
addMsg
.
IsDealDiscount
=
1
;
this
.
addMsg
.
ScenicRefundArr
=
[];
if
(
this
.
AirTicketIdList
!=
null
&&
this
.
AirTicketIdList
.
length
>
0
){
this
.
addMsg
.
AirTicketIds
=
this
.
AirTicketIdList
.
map
(
String
).
join
(
','
);
}
this
.
apipost
(
"sellorder_post_SetOrderInfo_02"
,
this
.
addMsg
,
...
...
src/components/SalesModule/groupTourOrderByTuan.vue
View file @
804dcd76
...
...
@@ -1544,6 +1544,18 @@
</div>
</div>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('salesModule.GoFlight')"
prop=
"PlatformOrder"
>
<el-select
v-model=
"AirTicketIdList"
multiple
clearable
collapse-tags
placeholder=
"请选择"
>
<el-option
v-for=
"item in PriceFight"
:key=
"item.AirLineTicketId"
:label=
"item.FlightStr"
:value=
"item.AirLineTicketId"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4"
>
...
...
@@ -3443,9 +3455,12 @@
IsChargeLossOrders
:
0
,
Unit_PriceList
:
[],
//成交单价下拉数据
LessMoney
:
0
,
AirTicketIdList
:[],
PriceFight
:[],
addMsg
:
{
GroupTypeNeedHouse
:
"0"
,
OrderForm
:
""
,
AirTicketIds
:
""
,
OrderId
:
"0"
,
TCID
:
"0"
,
CustomerType
:
""
,
...
...
@@ -4465,8 +4480,6 @@
x
.
Number
=
0
;
}
})
console
.
log
(
"addMsg.ScenicList"
,
this
.
addMsg
.
ScenicList
);
this
.
getTotalPrice
();
this
.
getTicheng
();
},
...
...
@@ -4507,6 +4520,26 @@
},
(
err
)
=>
{}
);
},
getPriceBindflight
(
TCID
)
{
this
.
PriceFight
=
[];
this
.
apipost
(
"AirTicket_get_GetSellPriceBindPriceService"
,
{
TCID
,
},
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
PriceFight
=
res
.
data
.
data
;
if
(
this
.
addMsg
.
AirTicketIds
.
length
>
0
){
this
.
AirTicketIdList
=
this
.
addMsg
.
AirTicketIds
.
split
(
','
).
map
(
Number
);
// ["1", "2", "3"]
}
else
{
if
(
Array
.
isArray
(
this
.
PriceFight
)
&&
this
.
PriceFight
.
length
>
0
){
this
.
AirTicketIdList
.
push
(
this
.
PriceFight
[
0
].
AirLineTicketId
);
}
}
}
}
);
},
getScenicRefund_Old
(
TCID
,
OrderId
)
{
this
.
OrderId
=
OrderId
;
...
...
@@ -4670,6 +4703,15 @@
obj
.
platformAccountTypeId
,
obj
.
platformAccount
);
this
.
getPriceBindflight
(
obj
.
tcid
);
if
(
this
.
addMsg
.
AirTicketIds
.
length
>
0
){
this
.
AirTicketIdList
=
this
.
addMsg
.
AirTicketIds
.
split
(
','
).
map
(
Number
);
// ["1", "2", "3"]
console
.
log
(
"this.AirTicketIdList"
,
this
.
AirTicketIdList
);
}
else
{
if
(
Array
.
isArray
(
this
.
PriceFight
)
&&
this
.
PriceFight
.
length
>
0
){
this
.
AirTicketIdList
.
push
(
this
.
PriceFight
[
0
].
AirLineTicketId
);
}
}
this
.
SetOutCityId
=
res
.
data
.
data
.
SetOutCityId
;
this
.
reOutCityId
=
res
.
data
.
data
.
SetBackCityId
;
this
.
addMsg
.
CustomerType
=
x
.
CustomerType
.
toString
();
...
...
@@ -4831,6 +4873,8 @@
this
.
addMsg
=
x
;
this
.
addMsg
.
ScenicRefundArr
=
res
.
data
.
data
.
ScenicRefundArr
;
this
.
getScenicRefund
(
obj
.
tcid
,
obj
.
orderId
);
this
.
getPriceBindflight
(
obj
.
tcid
);
this
.
SetOutCityId
=
res
.
data
.
data
.
SetOutCityId
;
this
.
reOutCityId
=
res
.
data
.
data
.
SetBackCityId
;
this
.
addMsg
.
CustomerType
=
x
.
CustomerType
.
toString
();
...
...
@@ -5454,6 +5498,9 @@
clearMsg
()
{
this
.
addMsg
.
OrderId
=
"0"
;
this
.
addMsg
.
TCID
=
"0"
;
this
.
addMsg
.
AirTicketIds
=
""
;
this
.
PriceFight
=
[];
this
.
AirTicketIdList
=
[];
this
.
addMsg
.
IsIntermodal
=
"2"
;
this
.
addMsg
.
IsReturnIntermodal
=
"2"
;
this
.
addMsg
.
Unit_Price
=
"0"
;
...
...
@@ -5578,6 +5625,9 @@
this
.
addMsg
.
IsBirdDiscount
=
this
.
addObj
.
IsBirdDiscount
;
this
.
addMsg
.
IsDealDiscount
=
1
;
this
.
addMsg
.
ScenicRefundArr
=
[];
if
(
this
.
AirTicketIdList
!=
null
&&
this
.
AirTicketIdList
.
length
>
0
){
this
.
addMsg
.
AirTicketIds
=
this
.
AirTicketIdList
.
map
(
String
).
join
(
','
);
}
this
.
apipost
(
"sellorder_post_SetOrderInfo_02"
,
this
.
addMsg
,
...
...
@@ -5655,6 +5705,9 @@
Number
(
this
.
addMsg
.
AirticketNum
);
this
.
addMsg
.
IsChildrenTour
=
this
.
IsChildrenTour
;
this
.
addMsg
.
IsBirdDiscount
=
this
.
addObj
.
IsBirdDiscount
;
if
(
this
.
AirTicketIdList
!=
null
&&
this
.
AirTicketIdList
.
length
>
0
){
this
.
addMsg
.
AirTicketIds
=
this
.
AirTicketIdList
.
map
(
String
).
join
(
','
);
}
this
.
apipost
(
"sellorder_post_SetOrderInfoForAirTicket"
,
this
.
addMsg
,
...
...
src/components/TravelManager/TravelList/RegistrationList.vue
View file @
804dcd76
...
...
@@ -1754,6 +1754,18 @@
</el-popover>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('salesModule.GoFlight')"
prop=
"PlatformOrder"
>
<el-select
v-model=
"AirTicketIdList"
multiple
clearable
collapse-tags
placeholder=
"请选择"
>
<el-option
v-for=
"item in PriceFight"
:key=
"item.AirLineTicketId"
:label=
"item.FlightStr"
:value=
"item.AirLineTicketId"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4"
>
...
...
@@ -4205,9 +4217,12 @@
OpSetLossMoney
:
0
,
Unit_PriceList
:
[],
//成交单价下拉数据
LessMoney
:
0
,
AirTicketIdList
:[],
PriceFight
:[],
addMsg
:
{
IsOPUpdate
:
1
,
//2019-09-23 Add by:W
GroupTypeNeedHouse
:
"0"
,
AirTicketIds
:
""
,
OrderId
:
"0"
,
TCID
:
"0"
,
CustomerType
:
""
,
...
...
@@ -4252,6 +4267,7 @@
AirticketNum
:
"0"
,
ScenicRefundArr
:
[],
ScenicList
:
[],
//2025-07-14 add bY:W
GoCityTime
:
""
,
BackCityTime
:
""
,
CommissionSharePeople
:
"-1"
,
...
...
@@ -4937,6 +4953,9 @@
obj
.
PlatformAccountTypeId
,
obj
.
PlatformAccount
);
this
.
getPriceBindflight
(
obj
.
TCID
);
this
.
SetOutCityId
=
res
.
data
.
data
.
SetOutCityId
;
this
.
reOutCityId
=
res
.
data
.
data
.
SetBackCityId
;
this
.
addMsg
.
CustomerType
=
x
.
CustomerType
.
toString
();
...
...
@@ -5489,6 +5508,28 @@
(
err
)
=>
{}
);
},
getPriceBindflight
(
TCID
)
{
this
.
PriceFight
=
[];
this
.
AirTicketIdList
=
[];
this
.
apipost
(
"AirTicket_get_GetSellPriceBindPriceService"
,
{
TCID
,
},
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
PriceFight
=
res
.
data
.
data
;
if
(
this
.
addMsg
.
AirTicketIds
.
length
>
0
){
this
.
AirTicketIdList
=
this
.
addMsg
.
AirTicketIds
.
split
(
','
).
map
(
Number
);
}
else
{
if
(
Array
.
isArray
(
this
.
PriceFight
)
&&
this
.
PriceFight
.
length
>
0
){
this
.
AirTicketIdList
.
push
(
this
.
PriceFight
[
0
].
AirLineTicketId
);
}
}
}
}
);
},
getScenicRefund_V1
(
TCID
,
OrderId
)
{
this
.
OrderId
=
OrderId
;
let
msg
=
{
...
...
@@ -6071,6 +6112,9 @@
this
.
SOMsg
.
ApplyReason
=
""
;
},
clearMsg
()
{
this
.
PriceFight
=
[];
this
.
AirTicketIdList
=
[];
this
.
addMsg
.
AirTicketIds
=
""
;
this
.
addMsg
.
OrderId
=
"0"
;
this
.
addMsg
.
TCID
=
"0"
;
this
.
addMsg
.
IsIntermodal
=
"2"
;
...
...
@@ -6105,6 +6149,7 @@
this
.
addMsg
.
PlatformOrder
=
""
;
this
.
ddlyList
=
[];
this
.
addMsg
.
ScenicList
=
[];
this
.
addMsg
.
AirTicketIds
=
""
;
this
.
addMsg
.
Remarks
=
""
;
this
.
addMsg
.
MinOrderPrice
=
""
;
this
.
addMsg
.
LuggageNum
=
""
;
...
...
@@ -6211,6 +6256,9 @@
this
.
addMsg
.
IsBirdDiscount
=
this
.
addObj
.
IsBirdDiscount
;
this
.
addMsg
.
IsDealDiscount
=
1
;
this
.
addMsg
.
ScenicRefundArr
=
[];
if
(
this
.
AirTicketIdList
!=
null
&&
this
.
AirTicketIdList
.
length
>
0
){
this
.
addMsg
.
AirTicketIds
=
this
.
AirTicketIdList
.
map
(
String
).
join
(
','
);
}
this
.
apipost
(
"sellorder_post_SetOrderInfo_02"
,
this
.
addMsg
,
...
...
src/components/orderCommon/order-form2.vue
View file @
804dcd76
...
...
@@ -720,6 +720,21 @@
</el-popover>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('salesModule.GoFlight')"
prop=
"PlatformOrder"
>
<el-select
v-model=
"AirTicketIdList"
multiple
clearable
collapse-tags
placeholder=
"请选择"
>
<el-option
v-for=
"item in PriceFight"
:key=
"item.AirLineTicketId"
:label=
"item.FlightStr"
:value=
"item.AirLineTicketId"
>
<!-- <span style="float: left">{{ item.AirLineTicketId }}</span> -->
<!-- <span style="float: right; color: #8492a6; font-size: 13px">{{ item.FlightStr }}</span> -->
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<
template
v-if=
"pagesTitle == '当地游产品'"
>
...
...
@@ -934,6 +949,7 @@
AirticketNum
:
"0"
,
ScenicRefundArr
:
[],
ScenicList
:
[],
//可退景点人数
AirTicketIds
:
""
,
GoCityTime
:
""
,
BackCityTime
:
""
,
CommissionSharePeople
:
"0"
,
...
...
@@ -1101,6 +1117,8 @@
joinTypeList
:
[],
//参团类型列表
tradeWayList
:
[],
//交易方式列表
ScenicRefundList
:
[],
//可退景点列表
PriceFight
:[],
//团绑定的航班信息
AirTicketIdList
:[],
//选中的航班信息
employeeList
:
[],
//员工列表
PlatformAccountList
:
[],
//平台账户绑定列表
PlatformAccountList1
:
[],
//所有平台账户列表
...
...
@@ -2136,6 +2154,8 @@
},
//清空表单信息
clearMsg
()
{
this
.
AirTicketIdList
=
[];
this
.
PriceFight
=
[];
this
.
DiscountAmountId
=
null
;
this
.
DiscountAmountObj
=
{};
this
.
ScenicRefundList
=
[];
...
...
@@ -2151,6 +2171,7 @@
IndustryCategory
:
""
,
ContactName
:
""
,
ContactMobile
:
""
,
AirTicketIds
:
""
,
CustomerId
:
""
,
CustomerChildrenId
:
""
,
DepartureCityId
:
"0"
,
...
...
@@ -2337,6 +2358,10 @@
this
.
addMsg
.
IsChildrenTour
=
this
.
priceObj
.
IsSupportChildren
;
this
.
addMsg
.
IsBirdDiscount
=
this
.
priceObj
.
IsBirdDiscount
;
if
(
this
.
AirTicketIdList
!=
null
&&
this
.
AirTicketIdList
.
length
>
0
){
this
.
addMsg
.
AirTicketIds
=
this
.
AirTicketIdList
.
map
(
String
).
join
(
','
);
}
let
url
;
if
(
this
.
PProductType
==
1
)
{
...
...
@@ -2473,6 +2498,24 @@
}
);
},
getPriceBindflight
(
TCID
)
{
this
.
PriceFight
=
[];
this
.
apipost
(
"AirTicket_get_GetSellPriceBindPriceService"
,
{
TCID
,
},
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
PriceFight
=
res
.
data
.
data
;
this
.
addMsg
.
AirTicketIds
=
''
;
// 设置默认值
if
(
Array
.
isArray
(
this
.
PriceFight
)
&&
this
.
PriceFight
.
length
>
0
){
this
.
AirTicketIdList
.
push
(
this
.
PriceFight
[
0
].
AirLineTicketId
);
}
}
}
);
},
//获取交易方式
getTradeWay
()
{
this
.
apipost
(
"sellorder_get_GetSellTradeWayEnumList"
,
{},
(
res
)
=>
{
...
...
@@ -2794,6 +2837,7 @@
//监听TCID变化
PTCID
:
function
(
oldValue
,
newVal
)
{
this
.
getScenicRefund
(
this
.
PTCID
);
// 可退景点
this
.
getPriceBindflight
(
this
.
PTCID
);
// 团绑定的航班信息
},
'addMsg.CustomerId'
:
{
handler
(
oldValue
,
newVal
)
{
...
...
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