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
37af1d17
Commit
37af1d17
authored
Nov 08, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
88bcb4cd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
80 additions
and
4 deletions
+80
-4
allList.vue
src/components/myOrdersAllType/components/allList.vue
+80
-4
No files found.
src/components/myOrdersAllType/components/allList.vue
View file @
37af1d17
...
...
@@ -128,7 +128,51 @@
<el-input
clearable
type=
""
v-model=
"msg.TCNUM"
placeholder=
"请输入团号"
class=
"w200"
/>
</span>
</li>
<li
v-if=
"Title!='销售'&&Title!='申请'&&Title!='审核'"
>
<template
v-if=
"Title=='审核'"
>
<li>
<span>
<em>
公司
</em>
<el-select
filterable
v-model=
'msg2.RB_Branch_Id'
class=
"w200"
clearable
>
<el-option
value=
"-1"
label=
"不限"
></el-option>
<el-option
v-for=
"item in companyList"
:label=
'item.BName'
:value=
'item.Id'
:key=
'item.Id'
></el-option>
</el-select>
</span>
</li>
<li>
<span>
<em>
业务员
</em>
<el-select
filterable
v-model=
'msg2.EnterId'
class=
"w200"
clearable
>
<el-option
:value=
"0"
label=
"不限"
></el-option>
<el-option
v-for=
'item in EmployeeList'
:label=
'item.EmName'
:value=
'item.EmployeeId'
:key=
'item.EmployeeId'
>
</el-option>
</el-select>
</span>
</li>
<li>
<span>
<em>
出发时间
</em>
<el-date-picker
style=
"height: 34px;"
value-format=
"yyyy-MM-dd"
v-model=
"DatelistUse"
type=
"daterange"
:range-separator=
"$t('OrderList.zhi')"
:start-placeholder=
"$t('OrderList.star')"
:end-placeholder=
"$t('OrderList.end')"
@
change=
"getDatesUse"
>
</el-date-picker>
</span>
</li>
</
template
>
<li
v-if=
"Title=='OP'"
>
<span>
<em>
业务员
</em>
<el-select
filterable
v-model=
'msg.EnterId'
class=
"w200"
clearable
>
...
...
@@ -353,7 +397,7 @@
</el-pagination>
<el-pagination
v-if=
"OrderList&&OrderList.length>0&&pagesTitle=='审核'"
background
@
current-change=
"handleCurrentChange2"
:current-page
.
sync=
"currentPage2"
layout=
"total,prev, pager, next, jumper"
:page-size=
"msg2.page
s
ize"
:total=
total2
>
layout=
"total,prev, pager, next, jumper"
:page-size=
"msg2.page
S
ize"
:total=
total2
>
</el-pagination>
</div>
...
...
@@ -365,9 +409,18 @@
components
:
{
OrderList
},
data
()
{
return
{
companyList
:[],
getCompanyMsg
:{
RB_Group_Id
:
'0'
,
Status
:
'0'
,
},
total2
:
0
,
currentPage2
:
1
,
msg2
:{
DepartSTime
:
''
,
//出发时间
DepartETime
:
''
,
EnterId
:
''
,
//销售
RB_Branch_Id
:
'-1'
,
//公司
OrderId
:
''
,
OrderState
:
'1'
,
OrderType
:
'0'
,
...
...
@@ -487,7 +540,8 @@
{
Name
:
"待申请"
,
Id
:
"1"
},
{
Name
:
"已申请"
,
Id
:
"2"
},
],
changePriceOuterVisible
:
true
changePriceOuterVisible
:
true
,
};
},
watch
:
{
...
...
@@ -503,6 +557,8 @@
if
(
val
.
DepartSTime
&&
val
.
DepartSTime
){
this
.
msg
.
DepartSTime
=
val
.
DepartSTime
;
this
.
msg
.
DepartETime
=
val
.
DepartSTime
;
this
.
msg2
.
DepartSTime
=
val
.
DepartSTime
;
this
.
msg2
.
DepartETime
=
val
.
DepartSTime
;
this
.
DatelistUse
=
[
this
.
msg
.
DepartSTime
,
this
.
msg
.
DepartETime
]
}
this
.
GetList
()
...
...
@@ -524,6 +580,14 @@
this
.
currentPage2
=
1
,
this
.
GetList
()
},
// 公司
getCompany
(){
this
.
apipost
(
'admin_get_BranchGetList'
,{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
this
.
companyList
=
res
.
data
.
data
;
}
else
{}
},
err
=>
{})
},
exportExcel
()
{
//导出
if
(
!
this
.
msg
.
StartTime
||
!
this
.
msg
.
EndTime
)
{
this
.
$message
.
info
(
'请选择开始时间、结束时间!'
)
...
...
@@ -604,9 +668,13 @@
if
(
this
.
DatelistUse
){
this
.
msg
.
DepartSTime
=
this
.
DatelistUse
[
0
]
this
.
msg
.
DepartETime
=
this
.
DatelistUse
[
1
]
this
.
msg2
.
DepartSTime
=
this
.
DatelistUse
[
0
]
this
.
msg2
.
DepartETime
=
this
.
DatelistUse
[
1
]
}
if
(
!
this
.
DatelistUse
){
this
.
msg
.
DepartSTime
=
''
this
.
msg
.
DepartETime
=
''
this
.
msg2
.
DepartSTime
=
''
this
.
msg2
.
DepartETime
=
''
}
},
getDates
(){
...
...
@@ -672,6 +740,7 @@
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
changePriceOuterVisible
=
true
// 数据统计
if
(
this
.
pagesTitle
==
'销售'
||
this
.
pagesTitle
==
'OP'
){
this
.
getSummaryData
()
}
...
...
@@ -744,6 +813,8 @@
if
(
!
this
.
$route
.
query
.
DepartSTime
&&!
this
.
$route
.
query
.
DepartSTime
){
this
.
msg
.
DepartSTime
=
'2023-04-01'
;
//[year,month,1].join('-')
this
.
msg
.
DepartETime
=
[
year
,
month
,
monthLast
].
join
(
'-'
);
this
.
msg2
.
DepartSTime
=
'2023-04-01'
;
//[year,month,1].join('-')
this
.
msg2
.
DepartETime
=
[
year
,
month
,
monthLast
].
join
(
'-'
);
// this.msg.DepartSTime = this.getBeforeDate(200, new Date())
// this.msg.DepartETime = this.getBeforeDate(0, new Date())
}
...
...
@@ -760,6 +831,8 @@
if
(
this
.
$route
.
query
.
DepartSTime
){
this
.
msg
.
DepartSTime
=
this
.
$route
.
query
.
DepartSTime
this
.
msg
.
DepartETime
=
this
.
$route
.
query
.
DepartETime
this
.
msg2
.
DepartSTime
=
this
.
$route
.
query
.
DepartSTime
this
.
msg2
.
DepartETime
=
this
.
$route
.
query
.
DepartETime
this
.
msg
.
CommissionType
=
this
.
$route
.
query
.
CommissionType
this
.
msg
.
StartTime
=
''
this
.
msg
.
EndTime
=
''
...
...
@@ -770,8 +843,11 @@
},
mounted
()
{
this
.
Title
=
this
.
pagesTitle
if
(
this
.
Title
==
'OP'
){
if
(
this
.
Title
==
'OP'
||
this
.
Title
==
'审核'
){
this
.
getEmployee
()
if
(
this
.
Title
==
'审核'
){
this
.
getCompany
()
}
}
// this.GetOrderStatusEnumList()//订单状态
// this.GetTicketStatusEnumList()//出票状态
...
...
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