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
6b355857
Commit
6b355857
authored
Oct 29, 2024
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
开票维护提醒
parent
182dc9cb
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
169 additions
and
0 deletions
+169
-0
fill.js
src/assets/common/lang/EN/fill.js
+2
-0
fill.js
src/assets/common/lang/zhCN/fill.js
+2
-0
fill.js
src/assets/common/lang/zhTW/fill.js
+2
-0
AirTicketMessage.vue
src/components/administrative/model/AirTicketMessage.vue
+78
-0
index.vue
src/components/index.vue
+85
-0
No files found.
src/assets/common/lang/EN/fill.js
View file @
6b355857
...
...
@@ -2607,6 +2607,8 @@ export const obj = {
qiyeyunpan
:
'Enterprise Cloud Disk '
,
jipiaowbck
:
'Tickets Unbound to view '
,
weisqjtts
:
'Unpaid group payment/Unpaid group Reminder '
,
kaipiaotips
:
'Invoice fee reminder'
,
weikaipiaoList
:
'Unmaintained invoicing fees'
,
dindangjck
:
'Order change price view '
,
tianjbjmb
:
'Add/edit template '
,
zaixianxc
:
'Online Travel '
,
...
...
src/assets/common/lang/zhCN/fill.js
View file @
6b355857
...
...
@@ -2608,6 +2608,8 @@ export const obj = {
qiyeyunpan
:
'企业云盘'
,
jipiaowbck
:
'机票未绑团查看'
,
weisqjtts
:
'未收齐团款/未结团提醒'
,
kaipiaotips
:
'开票费用提醒'
,
weikaipiaoList
:
'未维护开票费用'
,
dindangjck
:
'订单改价查看'
,
tianjbjmb
:
'添加/编辑模板'
,
zaixianxc
:
'在线行程'
,
...
...
src/assets/common/lang/zhTW/fill.js
View file @
6b355857
...
...
@@ -2608,6 +2608,8 @@ export const obj = {
qiyeyunpan
:
'企業雲盤'
,
jipiaowbck
:
'機票未綁團查看'
,
weisqjtts
:
'未收齊團款/未結團提醒'
,
kaipiaotips
:
'開票費用提醒'
,
weikaipiaoList
:
'未維護開票費用'
,
dindangjck
:
'訂單改價查看'
,
tianjbjmb
:
'添加/編輯模板'
,
zaixianxc
:
'在線行程'
,
...
...
src/components/administrative/model/AirTicketMessage.vue
0 → 100644
View file @
6b355857
<
template
>
<el-dialog
custom-class=
'PingFangSC'
:title=
"$t('objFill.v101.header.kaipiaotips')"
:visible
.
sync=
"AirTicketVisible"
center
:before-close=
"closeChangeMachie"
width=
"1100px"
>
<div
v-if=
"AirTicketListObj && AirTicketListObj.Data&&AirTicketListObj.Data.length>0"
style=
"margin-top: 10px;"
>
<p
style=
"font-size: 18px;font-weight: bold;background: #d1d1d1;padding: 5px 10px;display:flex;"
>
<span
style=
"width: 70%; display: block;"
>
{{
$t
(
'objFill.v101.header.weikaipiaoList'
)
}}
</span>
<span
style=
"color:red;font-size:12px;display:block;text-align:right;text-decoration: underline;margin-top:5px; cursor: pointer;
transition: background-color 0.3s; "
@
click=
"goTicketManager()"
>
快去处理吧,未处理条数:
{{
AirTicketListObj
.
count
}}
</span>
</p>
<el-table
:data=
"AirTicketListObj.Data"
tooltip-effect=
"dark"
style=
"width: 100%"
>
<el-table-column
label=
"编号"
width=
"100"
>
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
ID
}}
</
template
>
</el-table-column>
<el-table-column
label=
"团期"
>
<
template
slot-scope=
"scope"
>
<div
class=
"TCID_cont PingFangSC"
>
<span
v-show=
"scope.row.PriceList==null ||scope.row.PriceList.length==0"
>
{{
$t
(
'pub.noMsg'
)
}}
</span>
<p
class=
"Ticket_TCID"
v-for=
"(subItem,subIndex) in scope.row.PriceList"
:key=
"subIndex"
>
(
{{
subItem
.
TCID
}}
)
{{
subItem
.
TCNUM
}}
【
{{
subItem
.
OutBranchName
}}
】
</p>
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"航班"
width=
""
>
<
template
slot-scope=
"scope"
>
<div
class=
"FlightDivDetailsTM"
>
<div
class=
"_flightList"
v-for=
"(subItem,subIndex) in scope.row.flightList"
:key=
"subIndex"
>
<span
class=
"FlightNumber"
>
{{
subItem
.
Flight_number
}}
</span>
<span>
{{
subItem
.
FlightDate
}}
{{
subItem
.
Departure_time
}}
</span>
<span>
(
{{
subItem
.
DIATA
}}
)
{{
subItem
.
DepartureName
}}
</span>
<span
v-if=
"subItem.StopoverName"
>
-
</span>
<span
v-if=
"subItem.StopoverName"
>
(
{{
subItem
.
StopoverIATA
}}
)
{{
subItem
.
StopoverName
}}
</span>
<span
v-if=
"subItem.ArrivalCityName"
>
-
</span>
<span
v-if=
"subItem.ArrivalCityName"
>
(
{{
subItem
.
AIATA
}}
)
{{
subItem
.
ArrivalCityName
}}
</span>
</div>
</div>
</
template
>
</el-table-column>
<!-- <el-table-column prop="EnterName" width="100" :label="$t('visaT.sale')"></el-table-column> -->
<el-table-column
prop=
"TicketNum"
width=
"110"
:label=
"$t('Airticket.Air_reservation')"
></el-table-column>
<el-table-column
prop=
"UnionCount"
width=
"80"
label=
"联运"
></el-table-column>
<el-table-column
prop=
"OrderTotalNum"
width=
"80"
:label=
"$t('leader.leader_registraNum')"
></el-table-column>
</el-table>
</div>
</el-dialog>
</template>
<
script
>
export
default
{
props
:[
"AirTicketListObj"
],
data
()
{
return
{
AirTicketVisible
:
true
}
},
watch
:
{
},
methods
:
{
closeChangeMachie
(
done
)
{
console
.
log
(
"我进来了"
);
this
.
$emit
(
'AirTicketVisible'
)
},
//跳转机票列表
goTicketManager
()
{
this
.
$router
.
push
({
path
:
"/TicketManager"
,
query
:
{
blank
:
'y'
}
});
},
}
}
</
script
>
src/components/index.vue
View file @
6b355857
...
...
@@ -1250,6 +1250,9 @@
<ChangeThePriceMessage
v-if=
"ChangeThePriceVisible||ExamineThePriceVisible"
:type=
"1"
:msg=
"ExamineThePriceMsg"
:ChangeThePriceObj=
"ChangeThePriceObj"
@
ChangeThePriceVisible=
"ChangeThePriceVisible=false,ExamineThePriceVisible=false"
></ChangeThePriceMessage>
<!-- 机票未维护人数提示 -->
<AirTicketMessage
v-if=
"AirTicketVisible"
:AirTicketListObj=
"AirTicketList"
@
AirTicketVisible=
"AirTicketVisible=false"
>
</AirTicketMessage>
<!-- ppt 模版新增编辑窗口 -->
<!-- <pptIframe v-show="dialogPptistVisible" :Url="TemplateUrl" @close="closeIframe()"></pptIframe> -->
</div>
...
...
@@ -1276,6 +1279,7 @@
import
Voting
from
"../components/administrative/model/Voting"
;
import
unbundlingMessage
from
"../components/administrative/model/unbundlingMessage"
;
import
unTravelMessage
from
"../components/administrative/model/unTravelMessage"
;
import
AirTicketMessage
from
"../components/administrative/model/AirTicketMessage"
;
import
ChangeThePriceMessage
from
"../components/administrative/model/ChangeThePriceMessage"
;
import
pptIframe
from
'./commonPage/pptIframe/index'
;
...
...
@@ -1293,6 +1297,7 @@
ChangeThePriceMessage
,
pptIframe
,
unTravelMessage
,
AirTicketMessage
,
},
data
()
{
return
{
...
...
@@ -1321,6 +1326,12 @@
ExamineThePriceData
:
[],
ChangeThePriceData
:
[],
},
AirTicketList
:{
count
:
0
,
Data
:[],
},
//票务管理未维护开票信息 2024-10-28 add by:W
AirTicketVisible
:
false
,
//弹窗 2024-10-28 add by:W
UnboundDate
:
{},
UnTravelDate
:
null
,
unbundlingVisible
:
false
,
//未绑团提醒
...
...
@@ -1947,6 +1958,15 @@
}
}
}
//获取票务管理未维护开票信息提醒的数据
if
((
!
localStorage
.
getItem
(
"AirTicketDataTime"
)
||
(
localStorage
.
getItem
(
"AirTicketDataTime"
)
!=
this
.
getBeforeDate
(
0
,
new
Date
().
Format
(
"yyyy-MM-dd"
)))
))
{
this
.
GetAirTicketList
()
}
// 获取改价及审核提醒 每月1到10号提示
let
DateTime
=
new
Date
();
let
Year
=
DateTime
.
getFullYear
()
...
...
@@ -2136,6 +2156,71 @@
}
);
},
// 获取票务管理未维护开票信息提醒的数据
GetAirTicketList
(
type
)
{
this
.
userId
=
this
.
userInfo
.
EmployeeId
;
if
(
this
.
userInfo
.
RB_Department_Id
==
359
||
this
.
userInfo
.
RB_Department_Id
==
361
){
let
today
=
new
Date
();
// 获取上个月的第一天
let
firstDayOfLastMonth
=
new
Date
(
today
.
getFullYear
(),
today
.
getMonth
(),
1
);
let
Year
=
firstDayOfLastMonth
.
getFullYear
()
let
Month
=
firstDayOfLastMonth
.
getMonth
()
let
Months
=
Month
>
9
?
Month
:
'0'
+
Month
let
day
=
firstDayOfLastMonth
.
getDate
()
let
days
=
day
>
9
?
day
:
'0'
+
day
let
DepartSTime
=
Year
+
'-'
+
Months
+
'-'
+
days
// 获取上个月的最后一天
let
lastDayOfLastMonth
=
new
Date
(
today
.
getFullYear
(),
today
.
getMonth
()
+
1
,
0
);
let
eYear
=
lastDayOfLastMonth
.
getFullYear
()
let
eMonth
=
lastDayOfLastMonth
.
getMonth
()
let
eMonths
=
eMonth
>
9
?
eMonth
:
'0'
+
eMonth
let
eday
=
lastDayOfLastMonth
.
getDate
()
let
edays
=
eday
>
9
?
eday
:
'0'
+
eday
let
DepartETime
=
eYear
+
'-'
+
eMonths
+
'-'
+
edays
let
msg
=
{
pageIndex
:
1
,
pagesize
:
6
,
AirLineID
:
0
,
DepositType
:
0
,
OpenPlatform
:
0
,
QFlightDateStart
:
DepartSTime
,
QFlightDateEnd
:
DepartETime
,
CreateBy
:
this
.
userId
,
FlyState
:
1
,
LineId
:
0
,
ID
:
0
,
TicketType
:
0
,
IsLimit
:
1
,
Departure_city
:
0
,
SellType
:
-
1
,
IsSelectInvoicing
:
1
,
IsNoTCID
:
0
,
TravelTicketType
:
0
,
BId
:
-
1
,
}
this
.
AirTicketList
.
count
=
0
;
this
.
AirTicketList
.
Data
=
[];
this
.
apipost
(
"AirTicket_get_GetNewPageList"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
data
&&
res
.
data
.
data
.
count
>
0
&&
res
.
data
.
data
.
pageData
.
length
>
0
)
{
if
(
!
this
.
AirTicketList
.
count
)
this
.
AirTicketList
.
count
=
res
.
data
.
data
.
count
localStorage
.
setItem
(
"AirTicketDataTime"
,
this
.
getBeforeDate
(
0
,
new
Date
().
Format
(
"yyyy-MM-dd"
)));
this
.
AirTicketList
.
Data
=
res
.
data
.
data
.
pageData
this
.
AirTicketVisible
=
true
}
else
{
this
.
AirTicketVisible
=
false
localStorage
.
removeItem
(
"AirTicketDataTime"
);
}
}
}
);
}
},
// 获取未绑定团的数据
GetTravelAirNotBind
()
{
this
.
UnboundDate
=
{}
...
...
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