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
30e913f7
Commit
30e913f7
authored
Jul 16, 2025
by
吴春
Browse files
Options
Browse Files
Download
Plain Diff
解决冲突
parents
62fedaa4
ed623665
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
421 additions
and
360 deletions
+421
-360
addPassenger.vue
src/components/SalesModule/addPassenger.vue
+228
-235
passengerSaleList.vue
src/components/SalesModule/passengerSaleList.vue
+62
-52
TicketManager.vue
src/components/Ticketing/TicketManager.vue
+92
-46
TravelticketManager.vue
src/components/TravelManager/Ticket/TravelticketManager.vue
+1
-1
TravelControlList.vue
...components/TravelManager/TravelList/TravelControlList.vue
+18
-11
TravelControlListSale.vue
...onents/TravelManager/TravelList/TravelControlListSale.vue
+20
-15
No files found.
src/components/SalesModule/addPassenger.vue
View file @
30e913f7
This diff is collapsed.
Click to expand it.
src/components/SalesModule/passengerSaleList.vue
View file @
30e913f7
This diff is collapsed.
Click to expand it.
src/components/Ticketing/TicketManager.vue
View file @
30e913f7
...
...
@@ -1532,23 +1532,22 @@
<span
class=
"iconfont icon-img_yizi"
></span>
</li>
<li>
<p
class=
"_num3"
>
{{
item
.
TicketNum
==
null
?
'0'
:
item
.
TicketNum
}}
<template
v-if=
"item.ChangeNum!=0"
>
<el-popover
placement=
"top-start"
title=
"变更记录"
width=
"250"
trigger=
"hover"
>
<table>
<template
v-for=
"(cItem,cIndex) in item.ChangeList"
>
<tr
:key=
"`c_`+cIndex"
>
<td>
{{
cItem
.
TCNUM
}}
(
{{
cItem
.
RelationTCID
}}
)
{{
cItem
.
ChangeValue
>
0
?
'新增'
:
'减少'
}}
<font
style=
"color:blue;"
>
{{
cItem
.
ChangeValue
}}
</font>
人;
</td>
</tr>
</
template
>
</table>
<font
style=
"color:blue"
slot=
"reference"
>
{{item.ChangeNum>0?'+':''}}{{item.ChangeNum}}
</font>
</el-popover>
</template>
<p
class=
"_num3"
>
<el-popover
placement=
"top-start"
title=
"变更记录"
width=
"250"
trigger=
"hover"
>
<table>
<template
v-for=
"(cItem,cIndex) in item.ChangeList"
>
<tr
:key=
"`c_`+cIndex"
>
<td>
{{
cItem
.
TCNUM
}}
(
{{
cItem
.
RelationTCID
}}
)
{{
cItem
.
ChangeValue
>
0
?
'新增'
:
'减少'
}}
<font
style=
"color:blue;"
>
{{
cItem
.
ChangeValue
}}
</font>
人;
</td>
</tr>
</
template
>
</table>
<font
style=
"color:blue"
slot=
"reference"
>
{{item.TicketNum==null?'0':item.TicketNum+item.ChangeNum}}
</font>
</el-popover>
</p>
<p
class=
"_wz"
>
{{$t('Airticket.Air_reservation')}}
</p>
</li>
...
...
@@ -2091,21 +2090,21 @@
:disabled=
"addMsg.TCIDList&&addMsg.TCIDList.length>0"
>
<
template
v-if=
"addMsg.TCIDList&&addMsg.TCIDList.length>0"
>
<el-button
slot=
"append"
>
<el-popover
width=
"4
5
0"
>
<el-popover
width=
"4
6
0"
>
<table
width=
"100%"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tbody>
<template
v-for=
"(rootItem,rootIndex) in addMsg.ChangeList"
>
<tr
:key=
"rootIndex"
>
<tr
:key=
"rootIndex"
style=
"padding-top:5px;"
>
<td>
团号:
<el-select
v-model=
"rootItem.RelationTCID"
filterable
class=
"w180"
>
<el-option
v-for=
"(subItem,subIndex) in
addMsg.
PriceList"
<el-select
v-model=
"rootItem.RelationTCID"
filterable
class=
"w180"
:suffix-icon=
"''"
>
<el-option
v-for=
"(subItem,subIndex) in
choose
PriceList"
:key=
"subItem.TCID+`_`+subIndex"
:value=
"subItem.TCID"
:label=
"subItem.TCNUM+`(`+subItem.TCID+`)`"
></el-option>
</el-select>
</td>
<td>
人数:
变更
人数:
<el-input
v-model=
"rootItem.ChangeValue"
class=
"w80"
@
keyup
.
native=
"checkInteger(rootItem,'ChangeValue',true)"
>
</el-input>
...
...
@@ -2122,12 +2121,18 @@
</tbody>
<tfoot>
<tr>
<td
colspan=
"3"
style=
"text-align:center;
margin
-top:10px;"
>
<td
colspan=
"3"
style=
"text-align:center;
padding
-top:10px;"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"点击添加"
placement=
"top-start"
>
<i
class=
"el-icon-plus"
style=
"cursor:pointer;"
@
click=
"addChangeTicketNum()"
></i>
<i
class=
"el-icon-plus"
style=
"cursor:pointer;font-size:18px;"
@
click=
"addChangeTicketNum()"
></i>
</el-tooltip>
</td>
</tr>
<tr>
<td
colspan=
"3"
style=
"text-align:left;color:red;"
>
请填写团队变更人数,不是本团机位数,比如:新增机位填2,减少机位填-2.
</td>
</tr>
</tfoot>
</table>
<p
slot=
"reference"
class=
"_wz _yiyong"
>
机位变更
</p>
...
...
@@ -2985,7 +2990,6 @@
TCIDList
:
[],
//已绑定的团期(TCID)
PriceList
:
[],
//已绑团期列表{TCID,TCNUM等}
ChangeList
:
[],
//变更列表
},
//去程
addGoFlight
:
{
...
...
@@ -3057,9 +3061,7 @@
addShow
:
false
,
command
:
false
,
sanmai
:
false
,
uploadDoc
:
true
,
//散卖obj
sales
:
{
AirTicketId
:
0
,
...
...
@@ -3179,6 +3181,7 @@
},
userInfo
:
{},
//当前登录用户
BranchList
:
[],
//出团公司
choosePriceList
:
[],
};
},
methods
:
{
...
...
@@ -3190,31 +3193,35 @@
AirticketId
:
0
,
ChangType
:
1
,
ChangeValue
:
0
,
RelationTCID
:
0
,
RelationTCID
:
""
,
}
this
.
addMsg
.
ChangeList
.
push
(
tempObj
);
}
},
//删除绑定数据
deleteChangeTicketNum
(
rootItem
,
index
)
{
if
(
rootItem
.
ChangeId
>
0
)
{
var
dMsg
=
{
AirticketId
:
rootItem
.
AirticketId
,
ChangeId
:
rootItem
.
ChangeId
,
};
this
.
apipost
(
"AirTicket_post_DeleteAirticketChange"
,
dMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
);
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{}
);
}
this
.
addMsg
.
ChangeList
.
splice
(
index
,
1
);
var
that
=
this
;
that
.
Confirm
(
"是要要删除?"
,
function
()
{
if
(
rootItem
.
ChangeId
>
0
)
{
var
dMsg
=
{
AirticketId
:
rootItem
.
AirticketId
,
ChangeId
:
rootItem
.
ChangeId
,
};
that
.
apipost
(
"AirTicket_post_DeleteAirticketChange"
,
dMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
Success
(
res
.
data
.
message
);
that
.
getList
();
}
else
{
that
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{}
);
}
that
.
addMsg
.
ChangeList
.
splice
(
index
,
1
);
});
},
//生成虚拟团
createTravel
(
item
)
{
...
...
@@ -4078,6 +4085,7 @@
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
addMsg
=
res
.
data
.
data
;
this
.
getPriceList
(
this
.
addMsg
)
if
(
this
.
addMsg
.
OpenPlatform
!=
null
)
{
if
(
this
.
addMsg
.
OpenPlatform
!=
""
)
{
this
.
OpenPlatformStrings
=
this
.
addMsg
.
OpenPlatform
.
split
(
...
...
@@ -4550,6 +4558,44 @@
}
);
},
//获取团期列表
getPriceList
(
item
)
{
this
.
choosePriceList
=
[];
var
qMsg
=
{
pageIndex
:
1
,
pageSize
:
1000
,
LineId
:
0
,
StartGroupDate
:
""
,
EndGroupDate
:
""
,
TeamType
:
0
,
QTeamType
:
"0,1,4,5"
}
if
(
item
)
{
if
(
item
.
LineId
)
{
qMsg
.
LineId
=
item
.
LineId
;
}
if
(
item
.
PriceList
&&
item
.
PriceList
.
length
>
0
)
{
qMsg
.
StartGroupDate
=
item
.
PriceList
[
0
].
QStartDate
;
qMsg
.
EndGroupDate
=
item
.
PriceList
[
0
].
QStartDate
;
}
}
if
(
qMsg
.
StartGroupDate
!=
''
&&
qMsg
.
EndGroupDate
!=
''
)
{
this
.
apipost
(
"travel_get_GetTravelPrciePageList_V2"
,
qMsg
,
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
var
tempArray
=
res
.
data
.
data
.
pageData
;
if
(
tempArray
&&
tempArray
.
length
>
0
)
{
tempArray
.
forEach
(
tItem
=>
{
var
pObj
=
{
TCID
:
tItem
.
TCID
,
TCNUM
:
tItem
.
TCNUM
,
}
this
.
choosePriceList
.
push
(
pObj
);
})
}
}
});
}
}
},
mounted
()
{
this
.
userInfo
=
this
.
getLocalStorage
();
...
...
src/components/TravelManager/Ticket/TravelticketManager.vue
View file @
30e913f7
...
...
@@ -782,7 +782,7 @@
<span
class=
"iconfont icon-img_yizi"
></span>
</li>
<li>
<p
class=
"_num1"
>
{{
item
.
TicketNum
==
null
?
'0'
:
item
.
Ticket
Num
}}
</p>
<p
class=
"_num1"
>
{{
item
.
TicketNum
+
item
.
Change
Num
}}
</p>
<p
class=
"_wz"
>
{{
$t
(
'Airticket.Air_reservation'
)
}}
</p>
</li>
<li>
...
...
src/components/TravelManager/TravelList/TravelControlList.vue
View file @
30e913f7
...
...
@@ -1173,12 +1173,12 @@
<div
class=
"TC_SeatList"
v-if=
"item.BindNum > 0"
style=
"color: red"
>
{{ $t("Operation.Op_bindNum") }}: {{ item.BindNum }}
</div>
<el-popover
placement=
"top-start"
title=
"变更记录"
width=
"260"
trigger=
"hover"
>
<el-popover
placement=
"top-start"
title=
"变更记录"
width=
"260"
trigger=
"hover"
v-if=
"item.NoBindNum > 0"
>
<table>
<
template
v-for=
"(subItem,subIndex) in item.TicketList"
>
<template
v-for=
"(changeItem,changeIndex) in subItem.SubList"
>
<template
v-if=
"changeItem.ChangeModel&&changeItem.ChangeModel.ChangeValue!=0"
>
<tr>
<tr
:key=
"`d_`+index+`s_`+subIndex+`t_`+changeIndex"
>
<td>
{{
changeItem
.
TCNUM
}}
(
{{
changeItem
.
TCID
}}
)
{{
changeItem
.
ChangeModel
.
ChangeValue
>
0
?
'+'
:
''
}}
...
...
@@ -1189,8 +1189,7 @@
</template>
</template>
</table>
<div
class=
"TC_SeatList"
v-if=
"item.NoBindNum > 0"
style=
"color: blue;font-weight:bold;cursor:pointer;"
slot=
"reference"
>
<div
class=
"TC_SeatList"
style=
"color: blue;font-weight:bold;cursor:pointer;"
slot=
"reference"
>
尚未绑定: {{ item.NoBindNum }}
</div>
</el-popover>
...
...
@@ -1722,14 +1721,22 @@
<
template
v-else-if=
"subItem.TravelTicketType==3"
>
<font
style=
"color:red;"
>
{{
$t
(
'objFill.v101.lspiao'
)
}}
</font>
</
template
>
总机位:
<font
style=
"font-weight:bold;"
>
{{subItem.TicketNum}}
</font>
<
template
v-if=
"subItem.ChangeNum!=0"
>
<font
style=
"font-weight:bold;"
>
{{
subItem
.
ChangeNum
>
0
?
'+'
:
''
}}{{
subItem
.
ChangeNum
}}
=
{{
item
.
TicketNum
}}
</font>
</
template
>
<font>
总机位:
<font
style=
"font-weight:bold;"
>
{{item.TicketNum}}
</font>
<
template
v-if=
"subItem.ChangeNum!=0"
>
<font
style=
"font-weight:bold;"
>
=[
{{
subItem
.
TicketNum
}}{{
subItem
.
ChangeNum
>
0
?
'+'
:
''
}}{{
subItem
.
ChangeNum
}}
]
</font>
</
template
>
</font>
;
<
template
v-for=
"thirdItem in subItem.SubList"
>
{{
thirdItem
.
TCNUM
}}
(
{{
thirdItem
.
TCID
}}
) 绑定:
<font
style=
"font-weight:bold;color:blue;"
>
{{
thirdItem
.
BindNum
}}
</font>
,
<
template
v-for=
"(thirdItem,thirdIndex) in subItem.SubList"
>
<font
style=
"color:blue;cursor:pointer;"
@
click=
"gotoTCList(thirdItem)"
>
【
{{
thirdItem
.
TCNUM
}}
(
{{
thirdItem
.
TCID
}}
) 绑定:
<font
style=
"font-weight:bold;"
>
{{
thirdItem
.
BindNum
}}
】
</font>
</font>
<template
v-if=
"thirdIndex!=subItem.SubList.Length-1"
>
,
</
template
>
</template>
{{subItem.TicketOpRemark}}
【{{subItem.TicketCreateByName}}】
...
...
src/components/TravelManager/TravelList/TravelControlListSale.vue
View file @
30e913f7
...
...
@@ -776,17 +776,15 @@
<div
class=
"TC_SeatList"
>
{{$t('Airticket.Air_firstClass')}}:{{item.FSeat}}
</div>
<div
class=
"TC_SeatList"
>
{{$t('Airticket.Air_businessClass')}}:{{item.CSeat}}
</div>
<div
class=
"TC_SeatList"
>
{{$t('Airticket.Air_EconomyClass')}}:{{item.YSeat}}
</div>
<div
class=
"TC_SeatList"
v-if=
"item.BindNum>0"
style=
"color:red;"
>
{{$t('Operation.Op_bindNum')}}:
{{item.BindNum}}
</div>
<el-popover
placement=
"top-start"
title=
"变更记录"
width=
"260"
trigger=
"hover"
>
<el-popover
placement=
"top-start"
title=
"变更记录"
width=
"260"
trigger=
"hover"
v-if=
"item.NoBindNum > 0"
>
<table>
<
template
v-for=
"(subItem,subIndex) in item.TicketList"
>
<template
v-for=
"(changeItem,changeIndex) in subItem.SubList"
>
<template
v-if=
"changeItem.ChangeModel&&changeItem.ChangeModel.ChangeValue!=0"
>
<tr>
<tr
:key=
"`d_`+index+`s_`+subIndex+`t_`+changeIndex"
>
<td>
{{
changeItem
.
TCNUM
}}
(
{{
changeItem
.
TCID
}}
)
{{
changeItem
.
ChangeModel
.
ChangeValue
>
0
?
'+'
:
'
-
'
}}
{{
changeItem
.
ChangeModel
.
ChangeValue
>
0
?
'+'
:
''
}}
{{
changeItem
.
ChangeModel
.
ChangeValue
}}
人
</td>
</tr>
...
...
@@ -794,8 +792,7 @@
</template>
</template>
</table>
<div
class=
"TC_SeatList"
v-if=
"item.NoBindNum > 0"
style=
"color: blue;font-weight:bold;cursor:pointer;"
slot=
"reference"
>
<div
class=
"TC_SeatList"
style=
"color: blue;font-weight:bold;cursor:pointer;"
slot=
"reference"
>
尚未绑定: {{ item.NoBindNum }}
</div>
</el-popover>
...
...
@@ -844,7 +841,7 @@
<tr>
<td>
{{
changeItem
.
TCNUM
}}
(
{{
changeItem
.
TCID
}}
)
{{
changeItem
.
ChangeModel
.
ChangeValue
>
0
?
'+'
:
'
-
'
}}
{{
changeItem
.
ChangeModel
.
ChangeValue
>
0
?
'+'
:
''
}}
{{
changeItem
.
ChangeModel
.
ChangeValue
}}
人
</td>
</tr>
...
...
@@ -1225,14 +1222,22 @@
<
template
v-else-if=
"subItem.TravelTicketType==3"
>
<font
style=
"color:red;"
>
{{
$t
(
'objFill.v101.lspiao'
)
}}
</font>
</
template
>
总机位:
<font
style=
"font-weight:bold;"
>
{{subItem.TicketNum}}
</font>
<
template
v-if=
"subItem.ChangeNum!=0"
>
<font
style=
"font-weight:bold;"
>
{{
subItem
.
ChangeNum
>
0
?
'+'
:
'-'
}}{{
subItem
.
ChangeNum
}}
=
{{
item
.
TicketNum
}}
</font>
</
template
>
<font>
总机位:
<font
style=
"font-weight:bold;"
>
{{item.TicketNum}}
</font>
<
template
v-if=
"subItem.ChangeNum!=0"
>
<font
style=
"font-weight:bold;"
>
=[
{{
subItem
.
TicketNum
}}{{
subItem
.
ChangeNum
>
0
?
'+'
:
''
}}{{
subItem
.
ChangeNum
}}
]
</font>
</
template
>
</font>
;
<
template
v-for=
"thirdItem in subItem.SubList"
>
{{
thirdItem
.
TCNUM
}}
(
{{
thirdItem
.
TCID
}}
) 绑定:
<font
style=
"font-weight:bold;color:blue;"
>
{{
thirdItem
.
BindNum
}}
</font>
,
<
template
v-for=
"(thirdItem,thirdIndex) in subItem.SubList"
>
<font
style=
"color:blue;cursor:pointer;"
@
click=
"gotoTCList(thirdItem)"
>
【
{{
thirdItem
.
TCNUM
}}
(
{{
thirdItem
.
TCID
}}
) 绑定:
<font
style=
"font-weight:bold;"
>
{{
thirdItem
.
BindNum
}}
】
</font>
</font>
<template
v-if=
"thirdIndex!=subItem.SubList.Length-1"
>
,
</
template
>
</template>
{{subItem.TicketOpRemark}}
【{{subItem.TicketCreateByName}}】
...
...
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