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
b7ae817a
Commit
b7ae817a
authored
Dec 18, 2023
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1销售未完款提醒
parent
236ac5c3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
95 additions
and
2 deletions
+95
-2
unTravelMessage.vue
src/components/administrative/model/unTravelMessage.vue
+69
-0
index.vue
src/components/index.vue
+26
-2
No files found.
src/components/administrative/model/unTravelMessage.vue
0 → 100644
View file @
b7ae817a
<
template
>
<el-dialog
custom-class=
'PingFangSC'
title=
"未收齐团款/未结团提醒"
:visible
.
sync=
"outerVisibleNot"
center
:before-close=
"closeChangeMachie"
width=
"1100px"
>
<div
v-if=
"UnTravelDate && UnTravelDate.rlist&&UnTravelDate.rlist.length>0"
style=
"margin-top: 20px;"
>
<p
style=
"font-size: 18px;font-weight: bold;background: #d1d1d1;padding: 5px 10px;"
>
未完款订单列表
</p>
<el-table
:data=
"UnTravelDate.rlist"
tooltip-effect=
"dark"
style=
"width: 100%"
>
<!--
<el-table-column
label=
"机票编码"
width=
""
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
ID
}}
</
template
>
</el-table-column>
-->
<el-table-column
prop=
"OrderId"
label=
"订单号"
></el-table-column>
<el-table-column
label=
"团号"
width=
""
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
TCID
}}
<p>
{{
scope
.
row
.
TCNUM
}}
</p>
</
template
>
</el-table-column>
<el-table-column
prop=
"StartDate"
label=
"出团日期"
></el-table-column>
<el-table-column
prop=
"PreferPrice"
label=
"应收"
></el-table-column>
<el-table-column
prop=
"DueinMoney"
label=
"待收"
></el-table-column>
<el-table-column
prop=
"CreateDate"
label=
"创建日期"
></el-table-column>
</el-table>
</div>
<div
v-if=
"UnTravelDate && UnTravelDate.olist&&UnTravelDate.olist.length>0"
>
<p
style=
"font-size: 18px;font-weight: bold;background: #d1d1d1;padding: 5px 10px;"
>
未结团列表
</p>
<el-table
:data=
"UnTravelDate.olist"
tooltip-effect=
"dark"
style=
"width: 100%"
>
<!-- <el-table-column label="团ID/团号" width="">
<template slot-scope="scope">
{{scope.row.TCID}}
<p>{{scope.row.TCNUM}}</p>
</template>
</el-table-column> -->
<!-- <el-table-column prop="StartDate" label="出团日期">
<template slot-scope="scope">
{{getBeforeDate(0, new Date(scope.row.StartDate).Format("yyyy-MM-dd"))}}
</template>
</el-table-column> -->
<el-table-column
prop=
"QStartDate"
label=
"月份"
></el-table-column>
<el-table-column
prop=
"TeamTypeName"
label=
"团队类型"
></el-table-column>
<el-table-column
prop=
"OPName"
label=
"操作OP"
></el-table-column>
<el-table-column
prop=
"TCIDStr"
label=
"团队信息"
></el-table-column>
</el-table>
</div>
<div
v-if=
"UnTravelDate && UnTravelDate.olist&&UnTravelDate.olist.length==0
&&UnTravelDate.rlist&&UnTravelDate.rlist.length==0"
style=
"padding: 40px 0;text-align: center;"
>
暂无数据
</div>
</el-dialog>
</template>
<
script
>
export
default
{
props
:[
"UnTravelDate"
],
data
()
{
return
{
outerVisibleNot
:
true
}
},
watch
:
{
},
methods
:
{
closeChangeMachie
(
done
)
{
this
.
$emit
(
'unTravelVisible'
)
},
}
}
</
script
>
src/components/index.vue
View file @
b7ae817a
...
...
@@ -1211,7 +1211,9 @@
<!-- 机票未绑团提示 -->
<unbundlingMessage
v-if=
"unbundlingVisible"
:UnboundDate=
"UnboundDate"
@
unbundlingVisible=
"unbundlingVisible=false"
>
</unbundlingMessage>
<!-- 机票未绑团提示 -->
<unTravelMessage
v-if=
"unTravelVisible"
:UnTravelDate=
"UnTravelDate"
@
unTravelVisible=
"unTravelVisible=false"
>
</unTravelMessage>
<!-- 改价提醒/审核改价提醒 -->
<ChangeThePriceMessage
v-if=
"ChangeThePriceVisible||ExamineThePriceVisible"
:type=
"1"
:msg=
"ExamineThePriceMsg"
:ChangeThePriceObj=
"ChangeThePriceObj"
...
...
@@ -1242,6 +1244,7 @@
import
commissionDetail
from
"./commonPage/commissionDetail.vue"
;
import
Voting
from
"../components/administrative/model/Voting"
;
import
unbundlingMessage
from
"../components/administrative/model/unbundlingMessage"
;
import
unTravelMessage
from
"../components/administrative/model/unTravelMessage"
;
import
ChangeThePriceMessage
from
"../components/administrative/model/ChangeThePriceMessage"
;
import
pptIframe
from
'./commonPage/pptIframe/index'
;
...
...
@@ -1258,6 +1261,7 @@
unbundlingMessage
,
ChangeThePriceMessage
,
pptIframe
,
unTravelMessage
,
},
data
()
{
return
{
...
...
@@ -1285,7 +1289,9 @@
ChangeThePriceData
:
[],
},
UnboundDate
:
{},
UnTravelDate
:
{},
unbundlingVisible
:
false
,
//未绑团提醒
unTravelVisible
:
false
,
//销售未完款提醒
b2bDomain
:
""
,
useRed
:
false
,
//提成账单弹窗
...
...
@@ -1895,6 +1901,7 @@
if
(
!
localStorage
.
getItem
(
"UnboundDateTime"
)
||
(
localStorage
.
getItem
(
"UnboundDateTime"
)
!=
this
.
getBeforeDate
(
0
,
new
Date
().
Format
(
"yyyy-MM-dd"
))))
{
this
.
GetTravelAirNotBind
()
this
.
GetSaleOrOPRemind
();
}
else
{
if
(
localStorage
.
getItem
(
"UnboundDate"
))
{
if
(
this
.
userInfo
.
DepartName
.
indexOf
(
"操作部"
)
!=
-
1
||
this
.
userInfo
.
DepartName
.
indexOf
(
"总部财务部"
)
!=
-
1
||
...
...
@@ -2083,15 +2090,32 @@
if
((
res
.
data
.
data
.
TravelList
&&
res
.
data
.
data
.
TravelList
.
length
>
0
)
||
(
res
.
data
.
data
.
AirList
&&
res
.
data
.
data
.
AirList
.
length
>
0
))
{
localStorage
.
setItem
(
"UnboundDate"
,
JSON
.
stringify
(
res
.
data
.
data
));
localStorage
.
setItem
(
"UnboundDateTime"
,
this
.
getBeforeDate
(
0
,
new
Date
().
Format
(
"yyyy-MM-dd"
)));
this
.
UnboundDate
=
res
.
data
.
data
this
.
unbundlingVisible
=
true
}
localStorage
.
setItem
(
"UnboundDateTime"
,
this
.
getBeforeDate
(
0
,
new
Date
().
Format
(
"yyyy-MM-dd"
)));
}
}
);
}
},
// 获取未完款的数据
GetSaleOrOPRemind
()
{
this
.
UnTravelDate
=
{}
this
.
apipost
(
"opcommission_GetSaleOrOPRemind"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
((
res
.
data
.
data
.
rlist
&&
res
.
data
.
data
.
rlist
.
length
>
0
)
||
(
res
.
data
.
data
.
olist
&&
res
.
data
.
data
.
olist
.
length
>
0
))
{
this
.
UnTravelDate
=
res
.
data
.
data
this
.
unTravelVisible
=
true
}
localStorage
.
setItem
(
"UnboundDateTime"
,
this
.
getBeforeDate
(
0
,
new
Date
().
Format
(
"yyyy-MM-dd"
)));
}
}
);
},
testApi
()
{
// var postMsg = {};
// var cmd = "";
...
...
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