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
1d280a52
Commit
1d280a52
authored
Sep 19, 2023
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
daecd5a2
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
2996 additions
and
0 deletions
+2996
-0
OrderListChangePrice.vue
...nents/myOrdersAllType/components/OrderListChangePrice.vue
+744
-0
OrderListExaminePrice.vue
...ents/myOrdersAllType/components/OrderListExaminePrice.vue
+1461
-0
allListChangePrice.vue
...ponents/myOrdersAllType/components/allListChangePrice.vue
+420
-0
allListExaminePrice.vue
...onents/myOrdersAllType/components/allListExaminePrice.vue
+269
-0
erpChangePricehOrder.vue
src/components/myOrdersAllType/erpChangePricehOrder.vue
+43
-0
erpExaminePricehOrder.vue
src/components/myOrdersAllType/erpExaminePricehOrder.vue
+43
-0
config.js
src/router/config.js
+16
-0
No files found.
src/components/myOrdersAllType/components/OrderListChangePrice.vue
0 → 100644
View file @
1d280a52
<
template
>
<div>
<el-table
border
ref=
"multipleTable"
:data=
"OrderList"
style=
"width: 100%"
:default-sort=
"
{prop: 'null', order: 'null'}"
:sort-by="['Money','Income','PreferTipAmount','PlatformTax','Refund','CostMoney','OrderProfit','DueInMoney']">
<el-table-column
width=
"200"
prop=
"CreateTimeStr"
label=
"订单Id"
show-overflow-tooltip
>
<template
slot-scope=
"scope"
>
<div>
<p
class=
"cursor-pointer c059FF6 fz18 row-c"
@
click=
"goDetails(scope.row)"
>
<el-tag
style=
"margin-right: 5px;"
size=
"mini"
>
{{
scope
.
row
.
OrderTypeName
}}
</el-tag>
<span>
{{
scope
.
row
.
OrderId
}}
</span>
</p>
<p>
{{
scope
.
row
.
CreateTimeStr
}}
</p>
</div>
</
template
>
</el-table-column>
<el-table-column
width=
"200"
prop=
"CreateTimeStr"
label=
"团号"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<div>
<p
class=
" fz14"
:class=
"
{'cursor-pointer c059FF6':scope.row.OrderType==2}"
@click="scope.row.OrderType==2?goTuanDetails(scope.row):''">
{{
scope
.
row
.
TCNUM
}}
</p>
<p>
出发日期:
{{
scope
.
row
.
StartDate
}}
</p>
<p
v-if=
"scope.row.OrderType==2&&scope.row.Status>=0"
>
{{
scope
.
row
.
Status
==
1
?
"未结团"
:(
scope
.
row
.
Status
==
2
?
"已结团 "
:(
scope
.
row
.
Status
==
5
?
"待结团审核"
:
""
))
}}{{
scope
.
row
.
Status
==
2
?
scope
.
row
.
OutGroupAuditDate
:
""
}}
</p>
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"客人"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<span
:class=
"
{'colorblue font-color-link':pagesTitle!='详情'}"
@click="pagesTitle!='详情'?openNameDetails(scope.row):''">
{{
scope
.
row
.
GuestName
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"SaleName"
label=
"销售"
>
</el-table-column>
<el-table-column
prop=
"LureEmpName"
label=
"引流"
>
</el-table-column>
<el-table-column
label=
"商品名称"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<div
style=
"max-width: 100px;overflow: hidden;text-overflow: ellipsis"
>
{{
scope
.
row
.
Name
}}
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"商品详情"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<div
style=
"max-width: 100px;overflow: hidden;text-overflow: ellipsis"
>
{{
scope
.
row
.
Description
}}
</div>
</
template
>
</el-table-column>
<el-table-column
sortable
prop=
"Money"
label=
"总金额"
min-width=
"100"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
Money
}}
 
(
{{
scope
.
row
.
CurrencyName
}}
)
</
template
>
</el-table-column>
<el-table-column
sortable
prop=
"Income"
label=
"实收"
>
</el-table-column>
<el-table-column
sortable
prop=
"PreferTipAmount"
label=
"人头小费"
min-width=
"101"
>
</el-table-column>
<el-table-column
sortable
prop=
"PlatformTax"
label=
"手续费"
min-width=
"100"
>
</el-table-column>
<el-table-column
sortable
prop=
"Refund"
label=
"退款"
>
</el-table-column>
<el-table-column
sortable
prop=
"CostMoney"
label=
"成本"
>
</el-table-column>
<el-table-column
sortable
prop=
"DueInMoney"
label=
"待收"
>
<
template
slot-scope=
"scope"
>
<span
:class=
"
{'red':scope.row.DueInMoney>0}">
{{
scope
.
row
.
DueInMoney
}}
</span>
</
template
>
</el-table-column>
<el-table-column
sortable
prop=
"OrderProfit"
label=
"预期利润"
min-width=
"100"
>
<
template
slot-scope=
"scope"
>
<span
:class=
"
{'red':scope.row.OrderProfit>0}">
{{
scope
.
row
.
OrderProfit
}}
</span>
</
template
>
</el-table-column>
<el-table-column
sortable
prop=
"DiscountsMoney"
label=
"优惠"
>
</el-table-column>
<el-table-column
prop=
"StateName"
label=
"状态"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
StateName
}}
{{
scope
.
row
.
OrderChangePriceId
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<el-button
v-if=
"scope.row.OrderChangePriceId==0"
size=
"mini"
type=
"primary"
@
click=
"ckChangePrice(scope.row)"
>
申请改价
</el-button>
<p
v-else
class=
"cursor-pointer c059FF6 fz18 row-c"
@
click=
"goDetails(scope.row)"
>
<span
>
{{
scope
.
row
.
OrderChangePriceId
}}
</span>
</p>
</
template
>
</el-table-column>
</el-table>
<div
class=
"combottomDiv OPremarkDiv"
v-if=
"changePriceMsg.outerVisible"
>
<div
class=
"combottomTitle"
>
{{$t('Operation.Op_remark')}}
</div>
<el-form
label-width=
"100px"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"应收总金额"
prop=
"Remark"
>
<el-input
type=
"textarea"
v-model=
"changePriceMsg.Money"
rows=
"6"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"改价原因"
prop=
"Remark"
>
<el-input
type=
"textarea"
v-model=
"changePriceMsg.ApplyForReason"
rows=
"6"
></el-input>
</el-form-item>
</el-col>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<button
class=
"hollowFixedBtn"
@
click=
"changePriceMsg.outerVisible = false"
>
{{$t('pub.cancelBtn')}}
</button>
<button
class=
"normalBtn"
type=
"primary"
@
click=
"setChangePrice"
>
{{$t('pub.sureBtn')}}
</button>
</div>
</div>
</div>
</template>
<
script
>
import
offset
from
'../../public/offset.vue'
;
export
default
{
components
:
{
offset
},
props
:
[
"OrderList"
,
"pagesTitle"
],
data
()
{
return
{
S_CheckBranchOrder
:
false
,
S_CheckAllOrder
:
false
,
queryObj
:
null
,
cdState
:
false
,
copyId
:
0
,
loading0
:
false
,
loading1
:
false
,
loading2
:
false
,
loading3
:
false
,
BillMakingMsg
:
{
// PeroidsId: null,
// Type: null,
// EmpIds:'',
OtherType
:
61
,
ReFinanceId
:
""
,
ReFinanceId2
:
""
},
userInfo
:
{},
changePriceMsg
:{
ID
:
0
,
OrderId
:
0
,
OrderType
:
0
,
PreferPrice
:
0
,
Money
:
0
,
ApplyForReason
:
''
,
RefuseReason
:
''
,
ApplyForState
:
1
,
setPlatDialog
:
false
,
//是否显示弹出框
outerVisible
:
false
},
msg
:
{
OrderId
:
""
,
LossMoney
:
0
,
State
:
''
,
//状态 1确认 2已邮寄 3设置自提 4收损
SelffetchAddress
:
''
},
msgParameter
:
{
IsUpdateMailing
:
1
,
OrderId
:
0
,
Money
:
0.0
,
Remark
:
''
,
MailingState
:
'1'
,
//邮寄状态 1自取 2邮寄
MailingAddress
:
''
,
//MailingState =2 填写邮寄
UseDate
:
''
,
//门票日期
Name
:
''
,
EName
:
''
,
Sex
:
'1'
,
//1男2女
Birthday
:
''
,
Mobile
:
''
,
CouponsId
:
''
,
//景点id
DetailList
:
[],
},
rules2
:
{
Name
:
[{
required
:
true
,
message
:
'请输入中文名'
,
trigger
:
'blur'
}],
EName
:
[{
required
:
true
,
message
:
'请输入英文名'
,
trigger
:
'blur'
}],
Mobile
:
[{
required
:
true
,
message
:
"请输入联系电话"
,
trigger
:
"blur"
},
{
pattern
:
this
.
$commonUtils
.
Regex
.
el_ISphone
,
message
:
"请输入正确的电话"
}
],
MailingAddress
:
[{
required
:
true
,
message
:
'请输入邮寄地址'
,
trigger
:
'blur'
}],
},
outerVisible
:
false
,
rules
:
{
State
:
[{
required
:
true
,
message
:
"请选择订单状态"
,
trigger
:
"change"
}],
SelffetchAddress
:
[{
required
:
true
,
message
:
"请输入自提地址"
,
trigger
:
"blur"
}],
LossMoney
:
[{
required
:
true
,
message
:
"请输入收损金额"
,
trigger
:
"blur"
}]
},
cancelOrderDialog
:
false
,
cancelRemark
:
""
,
cancelOrderId
:
0
,
uploadOrderId
:
0
,
loading
:
false
,
fileList
:
[],
GuestFile
:
''
,
ChangeOrderDialog
:
false
,
OrderStatusType
:
[{
Name
:
this
.
$t
(
'OrderList.orderStatus.apply'
),
ID
:
'1'
},
{
Name
:
this
.
$t
(
'OrderList.orderStatus.check'
),
ID
:
'2'
},
{
Name
:
this
.
$t
(
'OrderList.orderStatus.cancel'
),
ID
:
'3'
},
{
Name
:
this
.
$t
(
'OrderList.orderStatus.sun'
),
ID
:
'4'
},
],
items
:
null
,
typeState
:
''
,
Title
:
''
};
},
watch
:
{
pagesTitle
(
val
,
oldval
)
{
this
.
Title
=
val
},
OrderList
:
{
handler
(
val
,
oldVal
)
{
}
}
},
methods
:
{
setChangePrice
()
{
this
.
apipost
(
'CarSingle_post_SetOrderChangePrice'
,
this
.
changePriceMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
changePriceMsg
.
setPlatDialog
=
true
;
this
.
changePriceMsg
.
outerVisible
=
false
;
}
})
},
//点击修改订单总价
ckChangePrice
(
item
)
{
this
.
changePriceMsg
.
OrderId
=
item
.
OrderId
;
this
.
changePriceMsg
.
OrderType
=
item
.
OrderType
;
this
.
changePriceMsg
.
PreferPrice
=
item
.
PreferPrice
;
this
.
changePriceMsg
.
Money
=
item
.
Money
;
this
.
changePriceMsg
.
setPlatDialog
=
false
;
this
.
changePriceMsg
.
outerVisible
=
true
;
},
GetAdminCarOrderPageList
(
row
,
url
,
href
,
data
)
{
let
msg
=
{
pageIndex
:
1
,
pageSize
:
5
,
OrderType
:
''
,
OrderId
:
row
.
OrderId
,
OrderNo
:
''
,
SurName
:
''
,
Name
:
''
,
OrderStatus
:
0
,
StartTime
:
''
,
EndTime
:
''
,
OrderSTime
:
''
,
OrderETime
:
''
,
ProductName
:
''
,
Mobile
:
''
,
//电话
IsSelectSale
:
1
,
EnterID
:
0
,
//业务员
}
let
name
this
.
apipost
(
'CarSingle_post_GetAdminCarOrderPageList'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
pageData
=
res
.
data
.
data
.
pageData
let
OrderType
if
(
pageData
&&
pageData
.
length
>
0
)
{
OrderType
=
pageData
[
0
].
OrderType
}
if
(
this
.
pagesTitle
==
'销售'
||
(
!
this
.
S_CheckBranchOrder
&&
!
this
.
S_CheckAllOrder
))
{
name
=
'CharterOrderList'
}
else
{
name
=
'CharterOrderListOP'
}
this
.
$router
.
push
({
name
:
name
,
query
:
{
OrderId
:
row
.
OrderId
,
OrderType
:
OrderType
?
OrderType
:
4
,
blank
:
"y"
,
}
});
}
})
},
goTuanDetails
(
row
)
{
let
name
=
''
if
(
row
.
IsOneDayOrder
==
1
)
{
name
=
'groupTourOrderByTuanOne'
}
else
{
name
=
'groupTourOrderByTuan'
}
this
.
$router
.
push
({
name
:
name
,
query
:
{
id
:
row
.
TCID
,
tcmun
:
row
.
TCNUM
,
blank
:
"y"
,
}
});
},
goDetails
(
row
)
{
let
data
=
[{
path
:
""
,
OrderId
:
row
.
OrderId
,
Type
:
''
}]
let
href
let
url
=
this
.
domainManager
().
crmRoutingUrl
;
if
(
row
.
OrderType
==
1
)
{
if
(
this
.
pagesTitle
==
'销售'
||
(
!
this
.
S_CheckBranchOrder
&&
!
this
.
S_CheckAllOrder
))
{
data
[
0
].
path
=
'myCustomerOrderAllType'
}
else
{
data
[
0
].
path
=
'customerOrderAllType'
}
href
=
url
+
'automaticLogin?token='
+
this
.
getLocalStorage
().
token
+
'&data='
+
JSON
.
stringify
(
data
)
window
.
open
(
href
);
}
else
{
let
name
=
''
if
(
row
.
OrderType
==
6
)
{
if
(
this
.
pagesTitle
==
'销售'
||
(
!
this
.
S_CheckBranchOrder
&&
!
this
.
S_CheckAllOrder
))
{
name
=
'VisaProductEditOrder'
}
else
{
name
=
'VisaProductEditOrderOP'
}
this
.
$router
.
push
({
name
:
name
,
});
}
else
if
(
row
.
OrderType
==
2
)
{
//跟团 一日游
if
(
this
.
pagesTitle
==
'销售'
||
(
!
this
.
S_CheckBranchOrder
&&
!
this
.
S_CheckAllOrder
))
{
if
(
row
.
IsOneDayOrder
==
1
)
{
name
=
'groupTourOrderOne'
}
else
{
name
=
'groupTourOrder'
}
}
else
{
name
=
'enrollTotal'
}
}
else
if
(
row
.
OrderType
==
3
)
{
//酒店
if
(
this
.
pagesTitle
==
'销售'
||
(
!
this
.
S_CheckBranchOrder
&&
!
this
.
S_CheckAllOrder
))
{
name
=
'singleProductHotelOrder'
}
else
{
name
=
'singleProductHotelOrderOP'
}
}
else
if
(
row
.
OrderType
==
4
)
{
//门票
if
(
this
.
pagesTitle
==
'销售'
||
(
!
this
.
S_CheckBranchOrder
&&
!
this
.
S_CheckAllOrder
))
{
name
=
'SingleticketOrderList'
}
else
{
name
=
'SingleticketOrderListOP'
}
}
else
if
(
row
.
OrderType
==
5
)
{
//包车
if
(
row
.
CarType
==
''
||
row
.
CarType
==
null
){
this
.
GetAdminCarOrderPageList
(
row
,
url
,
href
,
data
)
}
else
{
if
(
this
.
pagesTitle
==
'销售'
){
name
=
'CharterOrderList'
}
else
{
name
=
'CharterOrderListOP'
}
data
[
0
].
Type
=
row
.
CarType
==
null
||!
row
.
CarType
?
4
:
row
.
CarType
}
}
else
if
(
row
.
OrderType
==
7
)
{
//jalan酒店
this
.
$message
.
info
(
'jalan酒店暂不支持查看'
)
// if(this.pagesTitle=='销售'){
// name = 'CharterOrderList'
// }else{
// name = 'CharterOrderListOP'
// }
}
if
(
name
)
{
this
.
$router
.
push
({
name
:
name
,
query
:
{
OrderId
:
row
.
OrderId
,
OrderType
:
data
[
0
].
Type
?
data
[
0
].
Type
:
null
,
blank
:
"y"
,
}
});
}
}
}
},
mounted
()
{
let
userInfo
=
this
.
getLocalStorage
();
let
ActionMenuCode
=
userInfo
.
ActionMenuCode
;
this
.
userInfo
=
this
.
getLocalStorage
();
// 判断是否销售
if
(
ActionMenuCode
.
indexOf
(
'S_CheckBranchOrder'
)
!=
-
1
)
{
this
.
S_CheckBranchOrder
=
true
}
if
(
ActionMenuCode
.
indexOf
(
'S_CheckAllOrder'
)
!=
-
1
)
{
this
.
S_CheckAllOrder
=
true
}
}
};
</
script
>
<
style
scoped
>
.row
{
display
:
flex
;
}
.row-c
{
display
:
flex
;
align-items
:
center
;
}
.column
{
display
:
flex
;
flex-direction
:
column
;
}
.column-jac
{
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
justify-content
:
center
;
}
.column-ac
{
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
}
.wrap
{
flex-wrap
:
wrap
;
}
.justify-sb
{
justify-content
:
space-between
;
}
.justify-c
{
justify-content
:
center
;
}
.justify-e
{
justify-content
:
flex-end
;
align-items
:
flex-end
;
}
.flex-g
{
flex-grow
:
1
;
}
.flex-s
{
flex-shrink
:
0
;
}
.align-c
{
align-items
:
center
;
}
.cblack
{
color
:
black
;
}
.cf
{
color
:
#ffffff
;
}
.c9e
{
color
:
#9e9e9e
;
}
.c20C997
{
color
:
#20c997
;
}
.c02C854
{
color
:
#02c854
;
}
.cff9800
{
color
:
#ff9800
;
}
.cF1416C
{
color
:
#f1416c
;
}
.cF57A98
{
color
:
#f57a98
;
}
.c04C8C8
{
color
:
#04c8c8
;
}
.c059FF6
{
color
:
#059ff6
;
}
.c3FC4FF
{
color
:
#3fc4ff
;
}
.fz10
{
font-size
:
10px
;
}
.fz11
{
font-size
:
11px
;
}
.fz12
{
font-size
:
12px
;
}
.fz13
{
font-size
:
13px
;
}
.fz14
{
font-size
:
14px
;
}
.fz15
{
font-size
:
15px
;
}
.fz16
{
font-size
:
16px
;
}
.fz17
{
font-size
:
17px
;
}
.fz18
{
font-size
:
18px
;
}
.fbold
{
font-weight
:
bold
;
}
.ml
{
margin-left
:
10px
;
}
.mr
{
margin-right
:
10px
;
}
.mt
{
margin-top
:
10px
;
}
.mt20
{
margin-top
:
20px
;
}
.mb
{
margin-bottom
:
10px
;
}
.mb20
{
margin-bottom
:
20px
;
}
.mx
{
margin-left
:
10px
;
margin-right
:
10px
;
}
.mx5
{
margin-left
:
5px
;
margin-right
:
5px
;
}
.mb5
{
margin-bottom
:
5px
;
}
.py
{
padding
:
15px
0
;
}
.py5
{
padding
:
5px
0
;
}
.px5
{
padding
:
0
5px
;
}
.px15
{
padding
:
0
15px
;
}
.pa15
{
padding
:
15px
;
}
.py20
{
padding
:
20px
0
;
}
.pb5
{
padding
:
0
0
5px
0
;
}
.pa
{
padding
:
10px
20px
;
}
.pa20
{
padding
:
20px
;
}
.pt20
{
padding
:
20px
0
;
}
.borderD
{
border-bottom
:
1px
dashed
#dddddd
;
}
.bgf
{
background
:
#ffffff
;
}
.bgf5
{
background
:
#f5f5f5
;
}
.bgE8F5E9
{
background
:
#e8f5e9
;
}
.bgD9F3FF
{
background
:
#d9f3ff
;
}
.bgFAEAED
{
background
:
#faeaed
;
}
.bj
{
background
:
#ffffff
;
}
.bjFFF3E0
{
background
:
#FFF3E0
;
}
.radius5
{
border-radius
:
5px
;
}
.cursor-pointer
{
cursor
:
pointer
;
}
.relative
{
position
:
relative
;
}
.absolute
{
position
:
absolute
;
}
.left0
{
left
:
0
;
}
.right0
{
right
:
0
;
}
.top0
{
top
:
0
;
}
.bottom0
{
bottom
:
0
;
}
.left20
{
left
:
020px
;
}
.right20
{
right
:
20px
;
}
.top20
{
top
:
20px
;
}
.bottom20
{
bottom
:
20px
;
}
.text-center
{
text-align
:
center
;
}
</
style
>
src/components/myOrdersAllType/components/OrderListExaminePrice.vue
0 → 100644
View file @
1d280a52
<
template
>
<div>
<el-table
border
ref=
"multipleTable"
:data=
"OrderList"
style=
"width: 100%"
:default-sort=
"
{prop: 'null', order: 'null'}"
:sort-by="['Money','Income','PreferTipAmount','PlatformTax','Refund','CostMoney','OrderProfit','DueInMoney']">
<el-table-column
width=
"200"
prop=
"CreateTimeStr"
label=
"订单Id"
show-overflow-tooltip
>
<template
slot-scope=
"scope"
>
<div>
<p
class=
"cursor-pointer c059FF6 fz18 row-c"
@
click=
"goDetails(scope.row)"
>
<el-tag
style=
"margin-right: 5px;"
size=
"mini"
>
{{
scope
.
row
.
OrderTypeName
}}
</el-tag>
<span>
{{
scope
.
row
.
OrderId
}}
</span>
</p>
<p>
{{
scope
.
row
.
CreateTimeStr
}}
</p>
</div>
</
template
>
</el-table-column>
<el-table-column
width=
"200"
prop=
"CreateTimeStr"
label=
"团号"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<div>
<p
class=
" fz14"
:class=
"
{'cursor-pointer c059FF6':scope.row.OrderType==2}"
@click="scope.row.OrderType==2?goTuanDetails(scope.row):''">
{{
scope
.
row
.
TCNUM
}}
</p>
<p>
出发日期:
{{
scope
.
row
.
StartDate
}}
</p>
<p
v-if=
"scope.row.OrderType==2&&scope.row.Status>=0"
>
{{
scope
.
row
.
Status
==
1
?
"未结团"
:(
scope
.
row
.
Status
==
2
?
"已结团 "
:(
scope
.
row
.
Status
==
5
?
"待结团审核"
:
""
))
}}{{
scope
.
row
.
Status
==
2
?
scope
.
row
.
OutGroupAuditDate
:
""
}}
</p>
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"客人"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<span
:class=
"
{'colorblue font-color-link':pagesTitle!='详情'}"
@click="pagesTitle!='详情'?openNameDetails(scope.row):''">
{{
scope
.
row
.
GuestName
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"SaleName"
label=
"销售"
>
</el-table-column>
<el-table-column
prop=
"LureEmpName"
label=
"引流"
>
</el-table-column>
<el-table-column
label=
"商品名称"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<div
style=
"max-width: 100px;overflow: hidden;text-overflow: ellipsis"
>
{{
scope
.
row
.
Name
}}
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"商品详情"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<div
style=
"max-width: 100px;overflow: hidden;text-overflow: ellipsis"
>
{{
scope
.
row
.
Description
}}
</div>
</
template
>
</el-table-column>
<el-table-column
sortable
prop=
"Money"
label=
"总金额"
min-width=
"100"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
Money
}}
 
(
{{
scope
.
row
.
CurrencyName
}}
)
</
template
>
</el-table-column>
<el-table-column
sortable
prop=
"Income"
label=
"实收"
>
</el-table-column>
<el-table-column
sortable
prop=
"PlatformTax"
label=
"手续费"
min-width=
"100"
>
</el-table-column>
<el-table-column
sortable
prop=
"Refund"
label=
"退款"
>
</el-table-column>
<!-- <el-table-column sortable prop="CostMoney" label="成本" >
</el-table-column> -->
<el-table-column
sortable
prop=
"DueInMoney"
label=
"待收"
>
<
template
slot-scope=
"scope"
>
<span
:class=
"
{'red':scope.row.DueInMoney>0}">
{{
scope
.
row
.
DueInMoney
}}
</span>
</
template
>
</el-table-column>
<el-table-column
sortable
prop=
"OrderProfit"
label=
"预期利润"
min-width=
"100"
>
<
template
slot-scope=
"scope"
>
<span
:class=
"
{'red':scope.row.OrderProfit>0}">
{{
scope
.
row
.
OrderProfit
}}
</span>
</
template
>
</el-table-column>
<el-table-column
sortable
prop=
"DiscountsMoney"
label=
"优惠"
>
</el-table-column>
<el-table-column
prop=
"Money"
label=
"申请金额"
min-width=
"100"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
ApplyForMoney
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"ApplyForReason"
label=
"申请理由"
min-width=
"100"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
ApplyForReason
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"ApplyForState"
label=
"改价状态"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
ApplyForState
==
1
?
"待审核"
:(
scope
.
row
.
ApplyForState
==
2
?
"已通过"
:(
scope
.
row
.
ApplyForState
==
3
?
"已拒绝"
:
""
))
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<el-button
v-if=
"scope.row.ApplyForState==1"
size=
"mini"
type=
"primary"
@
click=
"ckChangePrice(scope.row,0)"
>
审核
</el-button>
<p
v-else
class=
" fz14"
:class=
"
{'cursor-pointer c059FF6':scope.row.OrderType>0}"
@click="ckChangePrice(scope.row,1)">查看详情
</p>
</
template
>
</el-table-column>
</el-table>
<div
class=
"combottomDiv OPremarkDiv"
v-if=
"changePriceMsg.outerVisible"
style=
"height: 500px;"
>
<div
class=
"combottomTitle"
v-if=
"changePriceMsg.DialogType==0"
>
应收总金额改价审核
</div>
<div
class=
"combottomTitle"
v-else
>
改价详情
</div>
<div
slot=
"footer"
class=
"dialog-footer"
style=
"float: right;margin-right: 40%;position: relative; z-index: 1;"
>
<button
class=
"hollowFixedBtn"
@
click=
"changePriceMsg.outerVisible = false"
>
{{$t('pub.cancelBtn')}}
</button>
<button
class=
"normalBtn"
v-if=
"changePriceMsg.DialogType==0"
type=
"primary"
@
click=
"setChangePrice"
>
{{$t('pub.sureBtn')}}
</button>
</div>
<el-form
label-width=
"100px"
>
<el-row
>
<el-col
:span=
"4"
>
<el-form-item
label=
"申请总金额"
prop=
"Remark"
>
<span
rows=
"6"
>
{{changePriceMsg.PreferPrice}}
</span>
</el-form-item></el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"申请理由"
prop=
"Remark"
>
<span
rows=
"6"
>
{{changePriceMsg.ApplyForReason}}
</span>
</el-form-item></el-col>
</el-row>
<el-row>
<el-col
:span=
"4"
>
<el-form-item
label=
"应收总金额"
prop=
"Remark"
>
<el-input
type=
"number"
:readonly=
"changePriceMsg.DialogType==1?true:false"
v-model=
"changePriceMsg.Money"
rows=
"6"
></el-input>
</el-form-item></el-col>
<el-col
:span=
"4"
>
<el-form-item
label=
"审核状态"
prop=
"Remark"
>
<el-radio-group
v-model=
"changePriceMsg.ApplyForState"
:readonly=
"changePriceMsg.DialogType==1?true:false"
>
<el-radio
:label=
"2"
>
通过
</el-radio>
<el-radio
:label=
"3"
>
拒绝
</el-radio>
</el-radio-group>
</el-form-item></el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"审核理由"
prop=
"Remark"
>
<el-input
:readonly=
"changePriceMsg.DialogType==1?true:false"
type=
"textarea"
v-model=
"changePriceMsg.RefuseReason"
rows=
"6"
></el-input>
</el-form-item></el-col>
</el-row>
</el-form>
<div
class=
"combottomTitle"
>
订单详情
</div>
<div
style=
"width: 100%; height: auto; overflow-x: auto"
class=
"ownScrollbarStyle"
>
<table
class=
"groupTourOrderSearchTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<th
width=
"240"
>
{{ $t("fnc.danhao") }}
&
{{ $t("visa.v_tuanhao") }}
</th>
<th
width=
"120"
>
{{ $t("fnc.khxinxi") }}
</th>
<th
width=
"70"
>
{{ $t("salesModule.Type") }}
</th>
<th
width=
"150"
>
{{ $t("advmanager.v_xilie") }}
&
{{ $t("advmanager.v_line") }}
</th>
<th
width=
"60"
>
{{ $t("Airticket.Air_Number") }}
</th>
<th
width=
"80"
>
{{ $t("fnc.danjia") }}
</th>
<th
width=
"80"
>
{{ $t("fnc.cjdanjia") }}
</th>
<th
width=
"80"
>
{{ $t("fnc.yszonge") }}
</th>
<th
width=
"80"
>
{{ $t("fnc.shishou") }}
</th>
<th
width=
"80"
>
人头小费
</th>
<th
width=
"70"
>
{{ $t("fnc.youhui") }}
</th>
<th
width=
"70"
>
{{ $t("salesModule.HappinessPassbook") }}
</th>
<th
width=
"70"
>
{{ $t("fnc.tuikuan") }}
</th>
<th
width=
"70"
>
{{ $t("fnc.ptshuijin") }}
</th>
<th
width=
"80"
>
{{ $t("Operation.Op_platZaitu") }}
</th>
<th
width=
"80"
>
{{ $t("Operation.Op_daishou") }}
</th>
<th
width=
"80"
>
{{ $t("admin.admin_status") }}
</th>
<th
width=
"120"
>
{{ $t("salesModule.QRH") }}
</th>
<th
width=
"200"
>
{{ $t("system.table_operation") }}
</th>
</tr>
<tr>
<td
v-show=
"list.length == 0"
colspan=
"19"
align=
"center"
>
{{ $t("system.content_noData") }}
</td>
</tr>
<tbody
v-for=
"(item, index) in list"
:key=
"index"
>
<tr>
<td
rowspan=
"3"
style=
"position: relative;"
>
<span
class=
"TC_neibu"
style=
"float: inherit;margin-left: 5px;margin-right: 5px;position: absolute;top: 10px;left:3px"
v-if=
"item.standardCurrencyName"
:class=
"{'TCneibu':item.standardCurrencyName=='人民币','TCb2b':item.standardCurrencyName=='日元',
'TCb2c':item.standardCurrencyName=='新台币','AppPlat':item.standardCurrencyName=='',
'otherPlat':item.standardCurrencyName=='',}"
>
{{item.standardCurrencyName}}结算
</span>
<p
v-if=
"item.isChargeLossOrders == 1"
style=
"color: red"
>
{{ $t("fnc.sun") }}
</p>
<p
class=
"fbold over_ellipsis"
style=
"width: 100%; cursor: pointer"
>
<span
:title=
"item.orderId"
@
click=
"
goUrlX(
'团报名清单',
'groupTourOrderByTuan',
item.tcid,
item.tcnum
)
"
>
{{ item.orderId }}
</span>
<span
style=
"
font-weight: 100;
text-decoration: underline;
cursor: pointer;
color: #e95252;
"
v-if=
"item.scoreNum >= 0"
@
click=
"
goInvetig('investigationList', item.tcid, item.orderId)
"
>
(评分{{ item.scoreNum }})
</span>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"通过小程序确认单报名"
placement=
"top"
v-show=
"item.orderForm == 4"
>
<i
class=
"iconfont icon-xiaochengxu"
style=
"font-size: 22px; color: red"
></i></el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"通过B2B确认单报名"
placement=
"top"
v-show=
"item.isFormB2B == 1"
>
<i
class=
"iconfont icon-tiaozheng"
style=
"font-size: 22px; color: #297bef"
></i></el-tooltip>
</p>
<p
class=
"fz12 over_ellipsis"
style=
"width: 100%; text-decoration: underline; cursor: pointer"
:title=
"item.alName"
@
click=
"
goUrlX('产品查询', 'productQuery', item.tcid, item.tcnum)
"
>
{{ item.tcnum }}
</p>
<p
class=
"fz12 over_ellipsis"
style=
"width: 100%"
>
{{ item.commissionSPeopleName }}
</p>
<p
v-if=
"item.lureEmpName"
>
引流人:{{ item.lureEmpName }}
</p>
<p
style=
"min-width: 180px"
>
{{ $t("hotel.hotel_StartTeam") }}:{{ item.startDate }}
</p>
<p>
{{ $t("restaurant.res_oderTime") }}:{{ item.createDate }}
</p>
<p
v-if=
"item.teamType==1||item.teamType==2"
>
{{item.status==1?"未结团":(item.status==2?"已结团 ":(item.status==5?"待结团审核":""))}}{{item.status==2?item.outGroupAuditDate:""}}
</p>
<p
v-if=
"item.tradeWay == 1"
>
{{ item.platformOrder }}
</p>
<p
v-if=
"item.commissionMoney"
style=
"color: red;cursor: pointer;"
>
<span
style=
"float: left;"
>
{{ $t("salesModule.Commission") }}:
</span>
<commissionDialog
:type=
"pagesTitle"
:objNew=
"item"
></commissionDialog>
{{item.commissionCurrency}}
<!-- {{ item.commissionMoney }} {{item.commissionCurrency}} -->
</p>
<p
v-else-if=
"item.latestCommissionMoney"
style=
"color: red"
>
{{ $t("salesModule.Commission") }}:{{
item.latestCommissionMoney
}}
</p>
<div>
<div
style=
"color: green"
v-if=
"
item.commissionMoney == '' || item.commissionMoney == '-1'
"
>
<p
v-if=
"item.extraRewardMoney > 0"
>
{{ $t("salesModule.EWJLJE") }}:{{ item.extraRewardMoney }}
</p>
<p
v-if=
"item.extraDeductMoney > 0"
>
{{ $t("salesModule.EWKCJE") }}:{{ item.extraDeductMoney }}
</p>
</div>
<div
style=
"color: red"
v-else
>
<p
v-if=
"item.extraRewardMoney > 0"
>
{{ $t("salesModule.EWJLJE") }}:{{ item.extraRewardMoney }}
</p>
<p
v-if=
"item.extraDeductMoney > 0"
>
{{ $t("salesModule.EWKCJE") }}:{{ item.extraDeductMoney }}
</p>
</div>
<div
style=
"color: red"
>
<p
v-if=
"item.unionExtraMoney != 0"
>
{{ $t("salesModule.LYEWFY") }}:{{ item.unionExtraMoney }}
</p>
</div>
</div>
<div
v-if=
"item.orderTypeName === '单团'"
style=
"color: red; cursor: pointer"
@
click=
"seeBJD(item.quotationUrl)"
>
查看报价单
</div>
</td>
<td>
<p
class=
"fz12 over_ellipsis"
style=
"width: 120px"
:title=
"item.contactName"
>
{{ item.contactName }}
</p>
<p
class=
"fz12"
>
{{ item.contactMobile }}
</p>
<p
class=
"fz12"
v-if=
"item.industryCategory !== ''"
style=
"color: green"
>
{{ $t("salesModule.HYLB") }}:{{ item.industryCategory }}
</p>
</td>
<td>
<p
class=
"fz12 over_ellipsis"
style=
"width: 100%"
>
{{ item.orderTypeName }}
</p>
</td>
<td
class=
"fz12"
>
<p
style=
"max-width: 160px; display: block"
class=
"over_ellipsis"
:title=
"item.lineName"
>
<span>
{{ item.lineName }}
</span>
</p>
<p
style=
"max-width: 160px; display: block"
class=
"over_ellipsis"
:title=
"item.ltName"
>
{{ item.ltName }}
</p>
</td>
<td>
<span
v-if=
"item.guestNumStatus == 1"
style=
"color: #1aa86b"
class=
"personNo"
slot=
"reference"
@
click=
"getMembersDetail(item)"
>
{{ item.guestNum }}/{{
item.ySeatNum > 0 ? item.ySeatNum + "Y " : ""
}}{{ item.eSeatNum > 0 ? item.eSeatNum + "E " : ""
}}{{ item.fSeatNum > 0 ? item.fSeatNum + "F " : "" }}
</span>
<span
v-if=
"item.guestNumStatus == 2"
style=
"color: #e95252"
class=
"personNo"
slot=
"reference"
@
click=
"getMembersDetail(item)"
>
{{ item.guestNum }}/{{
item.ySeatNum > 0 ? item.ySeatNum + "Y " : ""
}}{{ item.eSeatNum > 0 ? item.eSeatNum + "E " : ""
}}{{ item.fSeatNum > 0 ? item.fSeatNum + "F " : "" }}
</span>
<span
v-if=
"item.guestNumStatus == 3"
style=
"color: #666"
class=
"personNo"
slot=
"reference"
@
click=
"getMembersDetail(item)"
>
{{ item.guestNum }}/{{
item.ySeatNum > 0 ? item.ySeatNum + "Y " : ""
}}{{ item.eSeatNum > 0 ? item.eSeatNum + "E " : ""
}}{{ item.fSeatNum > 0 ? item.fSeatNum + "F " : "" }}
</span>
<br
/>
<span
v-if=
"item.refuseVisaNum > 0"
style=
"color: red"
>
({{ $t("salesModule.RefuseQ") }} {{ item.refuseVisaNum
}}{{ $t("sm.person") }})
</span>
</td>
<td
style=
"color: #ff9c00"
>
{{ item.tC_Price }}
</td>
<td
style=
"color: #ff9c00"
>
{{ item.unit_Price }}
</td>
<td>
<p
style=
"color: #ff9c00"
>
{{ item.preferPrice }}
</p>
</td>
<td>
<el-popover
style=
"padding: 0"
width=
"370"
trigger=
"click"
>
<div
class=
"personNolayer"
>
<table
border=
"0"
cellspacing=
"1"
cellpadding=
"1"
>
<tr>
<th>
{{ $t("salesModule.DJNUM") }}
</th>
<th>
{{ $t("fnc.jine") }}
</th>
<th>
{{ $t("salesModule.Type") }}
</th>
<th>
{{ $t("hotel.hotel_status") }}
</th>
</tr>
<tr
v-if=
"List.length > 0"
v-for=
"(item2, index2) in List"
:key=
"index2"
>
<td>
{{ item2.FrID }}
</td>
<td>
{{ item2.PayMoney }}
</td>
<td>
{{ item2.TypeName }}
</td>
<td>
{{ item2.StatusName }}
</td>
</tr>
<tr
v-if=
"List.length == 0"
>
<td
colspan=
"4"
align=
"center"
>
{{ $t("system.content_noData") }}
</td>
</tr>
</table>
</div>
<span
v-if=
"item.dueInMoney == 0"
style=
"cursor: pointer"
@
click=
"getOrderDetail(item)"
slot=
"reference"
>
{{ item.income }}
</span>
<span
v-if=
"item.dueInMoney != 0"
style=
"cursor: pointer; color: #e95252"
@
click=
"getOrderDetail(item)"
slot=
"reference"
>
{{ item.income }}
</span>
</el-popover>
</td>
<td
style=
"color: #ff9c00"
>
{{ item.preferTipAmount?item.preferTipAmount:'0.00' }}
</td>
<!-- 优惠 -->
<td>
<el-popover
style=
"padding: 0"
width=
"600"
trigger=
"click"
>
<div
class=
"personNolayer"
>
<table
border=
"0"
cellspacing=
"1"
cellpadding=
"1"
>
<tr>
<th>
{{ $t("active.cl_couponName") }}
</th>
<th>
{{ $t("active.cl_couponType") }}
</th>
<th>
{{ $t("active.cl_dkjezk") }}
</th>
<th>
{{ $t("active.cl_sytiaojian") }}
</th>
<th>
{{ $t("active.cl_huoqufangshi") }}
</th>
<th>
{{ $t("active.cl_hqriqi") }}
</th>
</tr>
<tr
v-if=
"item.couponAllotList.length > 0"
v-for=
"(item2, index2) in item.couponAllotList"
:key=
"index2"
>
<td>
{{ item2.couponsName }}
</td>
<td>
<span
v-if=
"item2.couponsType == 1"
>
{{
$t("active.cl_dyquan")
}}
</span>
<span
v-if=
"item2.couponsType == 2"
>
{{
$t("active.cl_zkquan")
}}
</span>
</td>
<td>
{{ item2.denomination }}
</td>
<td>
{{ $t("active.cl_man") }}{{ item2.useCondition
}}{{ $t("active.cl_keyong") }}
</td>
<td>
<span
v-if=
"item2.accessType == 1"
>
{{
$t("active.cl_choujiang")
}}
</span>
<span
v-else
></span>
</td>
<td>
{{ item2.acessDate }}
</td>
</tr>
<tr
v-if=
"item.couponAllotList.length == 0"
>
<td
colspan=
"6"
align=
"center"
>
{{ $t("system.content_noData") }}
</td>
</tr>
</table>
</div>
<span
style=
"
cursor: pointer;
color: #e95252;
text-decoration: underline;
"
slot=
"reference"
>
{{ item.discountMoney }}
</span>
</el-popover>
</td>
<td>
<el-popover
v-if=
"item.customerId || item.customerId == 0"
style=
"padding: 0"
width=
"600"
trigger=
"click"
>
<div
class=
"personNolayer"
>
<table
border=
"0"
cellspacing=
"1"
cellpadding=
"1"
>
<tr>
<th>
{{ $t("fnc.jine") }}
</th>
<th>
{{ $t("advmanager.v_type") }}
</th>
<th>
{{ $t("system.label_info") }}
</th>
<th>
{{ $t("salesModule.Time") }}(
<span
@
click=
"goUrlHappy(item)"
style=
"cursor: pointer"
colspan=
"4"
align=
"center"
>
{{ $t("salesModule.Time")
}}{{ $t("salesModule.LookMore") }}
</span>
)
</th>
</tr>
<tr
v-for=
"(item2, index2) in redBagList"
:key=
"index2"
>
<td>
{{ item2.Money }}
</td>
<td>
{{ item2.Type == 1 ? "收入" : "折扣" }}
</td>
<td>
{{ item2.Description }}
</td>
<td>
{{ item2.UpdateTime }}
</td>
</tr>
<tr
v-if=
"redBagList.length == 0"
>
<td
colspan=
"4"
align=
"center"
>
{{ $t("system.content_noData") }}
</td>
</tr>
</table>
</div>
<span
@
click=
"getRedBag(item)"
style=
"
cursor: pointer;
color: #e95252;
text-decoration: underline;
"
slot=
"reference"
>
{{ item.redEnvelopeMoney }}
</span>
</el-popover>
<span
v-else
style=
"color: #e95252; text-decoration: underline"
>
{{
item.redEnvelopeMoney
}}
</span>
</td>
<td>
{{ item.refund }}
</td>
<td>
{{ item.platformTax }}
</td>
<td>
{{ item.zaiTuMoney }}
</td>
<td>
<span
:class=
"{
color_red_order: item.dueInMoney !== item.preferPrice,
}"
>
{{ item.dueInMoney }}
</span>
</td>
<td
v-if=
"item.isChargeLossOrders == 1"
class=
"fz12"
style=
"color: #e95252"
>
{{ $t("fnc.shousun") }}
</td>
<td
v-else
class=
"fz12"
:style=
"item.orderState === 3 ? 'color: #e95252;' : ''"
>
{{ item.statsstr }}
</td>
<td
width=
"120"
>
<!--{{item.confirmFileList}}-->
<!--<span>确认函</span>-->
<span
v-if=
"item.confirmFileList.length > 0"
class=
"fz12 dowloadSpan"
@
click=
"downLoadFile(item.confirmFileList)"
>
{{ $t("salesModule.QRHXZ") }}
</span>
<i
v-if=
"
item.confirmFileList.length > 0 &&
item.commissionSharePeople !== userId
"
@
click=
"deleteFile(item)"
style=
"margin-left: 5px"
class=
"el-icon-error color999"
></i>
<
template
v-if=
"item.confirmFileList.length == 0"
>
<el-upload
v-if=
"
item.confirmFileList.length == 0 &&
item.commissionSharePeople !== userId
"
:http-request=
"uploadFileBtn"
:multiple=
"false"
:show-file-list=
"false"
action=
""
>
<el-button
size=
"small"
type=
"danger"
@
click=
"getItem(item)"
>
{{
$t
(
"adm.adm_content"
)
}}
</el-button>
</el-upload>
</
template
>
<br
/>
<p
style=
"color:red;font-size:12px;"
>
申请发票需要上传确认函
</p>
</td>
<td
class=
"groupTourOrderIcon"
>
<el-button-group
v-if=
"item.commissionSharePeople !== userId"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('pub.updateMsg')"
placement=
"top-start"
>
<el-button
v-if=
"
item.isOrder == '1' &&
item.isHaveFinance != '1' &&
item.orderState != '1' &&
item.orderState != '4'
"
type=
"primary"
style=
"background: #00c6ff; border-color: #00c6ff"
icon=
"iconfont icon-bianji-smal"
@
click=
"getDetail(item)"
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('salesModule.UpRemarks')"
placement=
"top-start"
>
<el-button
type=
"primary"
style=
"background: green; border-color: green"
icon=
"iconfont icon-bianji-smal"
@
click=
"getRemarks(item)"
></el-button>
</el-tooltip>
<el-tooltip
effect=
"dark"
:content=
"$t('fnc.rizhi')"
placement=
"top-start"
style=
"float: left"
>
<el-popover
width=
"230"
trigger=
"click"
>
<div
class=
"priceContentDiv"
>
<div
class=
"AuditLog"
>
{{ $t("fnc.rizhi") }}
</div>
<div
class=
"logContact"
style=
"background: #f9f9f9; padding: 20px 10px 0"
>
<div
v-if=
"logList.length > 0"
v-for=
"(item, index) in logList"
:key=
"index"
>
<div
class=
"clearfix"
>
<div
class=
"Auditcircle"
style=
"left: 6px !important"
></div>
<div
class=
"operateName"
style=
"color: #005caa"
>
{{ item.emName }}
</div>
<div
class=
"operateDate fz12 color666"
>
{{ item.x }}
</div>
</div>
<div
class=
"fz12 color333"
>
{{ item.logInfo }}
</div>
</div>
<div
v-if=
"logList.length == 0"
>
{{ $t("system.content_noData") }}
</div>
</div>
</div>
<el-button
slot=
"reference"
@
click=
"getLogDetail(item)"
type=
"primary"
style=
"
background: #47bf8c;
border-color: #47bf8c;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
"
icon=
"iconfont icon-rizhi1"
></el-button>
</el-popover>
</el-tooltip>
<el-tooltip
effect=
"dark"
:content=
"$t('pub.more')"
placement=
"top-start"
style=
"float: left"
>
<el-popover
width=
"100"
trigger=
"hover"
>
<div
class=
"groupTourOrder_more"
>
<div
@
click=
"goUrlT('confirmationOrder', item.orderId)"
>
{{ $t("salesModule.QRH")
}}{{
item.operationState === 2
? "(拒绝)"
: item.operationState === 1
? "(通过)"
: item.operationState === 0
? "(待审核)"
: ""
}}
</div>
<div
v-if=
"isEditOrderCreate == 1"
@
click=
"getSalerInfo(item)"
>
{{ $t("salesModule.UpdateYWY") }}
</div>
<
template
v-if=
"item.lineId==90"
>
<div
v-if=
"item.outNotice == 1"
@
click=
"toTrip(item)"
>
{{
$t
(
"Operation.Op_teamNotice"
)
}}
<span
v-if=
"item.outNotice == 1"
>
(OK)
</span><span
v-else
>
(
{{
$t
(
"visa.v_zanding"
)
}}
)
</span>
</div>
</
template
>
<
template
v-else
>
<div
v-if=
"item.outNotice == 1"
@
click=
"toTrip(item)"
>
{{
$t
(
"Operation.Op_teamNotice"
)
}}
<span
v-if=
"item.outNotice == 1"
>
(OK)
</span><span
v-else
>
(
{{
$t
(
"visa.v_zanding"
)
}}
)
</span>
</div>
</
template
>
<div
v-if=
"item.orderState != '4'"
@
click=
"goUrlP('旅客名单', 'passengerSaleList', item)"
>
{{ $t("salesModule.LKMD") }}
</div>
<div
v-if=
"
item.isOrder == '1' &&
(item.isHaveFinance == '1' || item.orderState == '1')
"
@
click=
"getHouse(item)"
>
{{ $t("salesModule.UpdateRoom") }}
</div>
<div
v-if=
"
item.isOrder == '1' &&
item.orderState != '4' &&
TransferMission == true
"
@
click=
"transfer(item)"
>
{{ $t("salesModule.OrderGroup") }}
</div>
<div
v-if=
"item.orderState == '1' || item.orderState == '2'"
@
click=
"setChargeLoss(item)"
>
<span
v-if=
"item.isChargeLossOrders == 1"
>
{{
$t("salesModule.LossSheet")
}}
</span>
<span
v-else
>
{{ $t("salesModule.LossReceipt") }}
</span>
</div>
<!-- item.confirmFileList.length>0 && ((item.receivableMoney - item.invoiceApplyTotal) > 0) -->
<div
v-if=
"
(item.confirmFileList.length > 0 ||
item.contractNum.length > 0) &&
item.receivableMoney - item.invoiceApplyTotal > 0 &&
(qjGroupId == userInfo.RB_Group_id ||
F_InvoiceManagement)
"
@
click=
"
goUrlAdd(
'invoicesManagerAdd',
item.orderId,
item.tcid,
item.customerId,
1
)
"
>
{{ $t("salesModule.ApplyInvoice") }}
</div>
<div
@
click=
"
Discount(item.tcid),
(SOMsg.OrderId = item.orderId),
(SOMsg.OrderUnitPrice = item.unit_Price)
"
>
{{ $t("pub.ApplyYH") }}
</div>
<div
v-if=
"
qjGroupId == userInfo.RB_Group_id || F_Finance_Create
"
@
click=
"ShenQingPhoto(item)"
>
{{ $t("salesModule.ApplyPhoto") }}
</div>
<div
v-if=
"
item.isOrder == '1' &&
(item.orderState == '1' ||
item.orderState == '2' ||
item.orderState == '3') &&
item.isCanClear == 0
"
@
click=
"deleteItem(item)"
>
{{ $t("pub.cancelBtn") }}
</div>
<div
@
click=
"
SpecialAPP(
item.tcid,
item.orderId,
item.orderspecialofferId
)
"
>
特价申请函
</div>
<div
v-if=
"
item.isOrder == '1' &&
(item.orderState == '1' ||
item.orderState == '2' ||
item.orderState == '3') &&
item.isCanClear == 1
"
title=
"如需取消订单清联系OP"
style=
"color: red"
>
{{ $t("salesModule.OrderSured") }}
</div>
<div
v-if=
"item.scoreNum >= 0"
@
click=
"
goInvetig(
'investigationList',
item.tcid,
item.orderId
)
"
>
{{ $t("salesModule.LookTourse") }}
</div>
</div>
<el-button
slot=
"reference"
type=
"primary"
style=
"
background: #297bef;
border-color: #297bef;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
"
icon=
"iconfont icon-more"
></el-button>
</el-popover>
</el-tooltip>
</el-button-group>
<payurlItem
v-if=
"
item.commissionSharePeople !== userId && item.airConfirm != 2
"
:item=
"item"
:showID=
"showID"
:photoF=
"item.photoNum > 0"
v-show=
"
item.orderState != '4' &&
item.orderState != '3' &&
(qjGroupId == userInfo.RB_Group_id || F_Finance_Create)
"
v-on:childByValue=
"childByValue"
></payurlItem>
</td>
</tr>
<tr
style=
"height: 20px"
>
<td
colspan=
"18"
class=
"RL_Order"
style=
"height: 20px"
>
<span
class=
"RL-remarkTitle"
v-if=
"item.guestList.length > 0"
>
{{ $t("salesModule.MD") }}:
</span>
<span
class=
"RL-redType RL-remarkCon"
v-if=
"item.guestList.length > 0"
>
<span
v-for=
"childItem in item.guestList"
style=
"color: blue"
>
{{ childItem.userName }}
<span
style=
"color:#f56c6c"
>
{{childItem.visaType==1?'(个签)':''}}
</span>
<span
v-if=
"childItem.isApplyPhoto == 1"
style=
"color: red"
>
({{ $t("salesModule.Zhao") }})
</span>
</span>
<span
v-if=
"item.photoNum > 0"
>
({{ $t("salesModule.NoPhoto") }} {{ item.photoNum
}}{{ $t("salesModule.Fen") }})
</span>
</span>
<p
v-if=
"item.cancelGuestList.length > 0"
>
<span
class=
""
>
{{ $t("salesModule.CancelOrder") }}:
</span>
<span
class=
"RL-redType RL-remarkCon"
>
<span
style=
"color: red"
v-for=
"childItem in item.cancelGuestList"
>
{{ childItem.userName }}
<span
style=
"color:#f56c6c"
>
{{childItem.visaType==1?'(个签)':''}}
</span>
</span>
</span>
</p>
<span
style=
"display: block"
>
{{ $t("salesModule.RoomInfo")
}}
<span
v-if=
"item.oneSex > 0"
style=
"color: #e95252"
>
({{ item.oneSex == 1 ? "单男" : "单女" }})
</span>
:{{ item.orderGuestHouseStr }}
</span>
<div>
<span
v-if=
"item.opTipMoney == '' && item.tipMoney != ''"
style=
"color: red"
>
({{ $t("fnc.xiaofei") }}:{{ item.tipMoney }})
</span>
<span
v-if=
"item.opTipMoney != ''"
style=
"color: red"
>
({{ $t("fnc.xiaofei") }}:{{ item.opTipMoney }})
<span>
{{ $t("salesModule.Docments") }}:
</span>
<span
@
click=
"gourlTip('FinancialDocumentsDetail', id)"
style=
"
text-decoration: underline;
color: blue;
cursor: pointer;
"
v-for=
"(id, i) in item.tipFrId"
:key=
"i"
>
{{ id }}
</span>
</span>
</div>
<div
v-if=
"item.otherContractList&&(qjGroupId == userInfo.RB_Group_id || F_ContractManagement)"
>
<span
class=
"GO_Contract"
@
click=
"goSingleContract(item)"
>
{{item.otherContractList.length==0?"单项合同":"查看单项合同"}}
</span>
</div>
<div
v-if=
"
item.contractNum.length == 0 &&
(qjGroupId == userInfo.RB_Group_id || F_ContractManagement)
"
>
<span
class=
"GO_Contract"
@
click=
"goContract(item, {})"
>
出境合同
</span>
</div>
<div
v-else
>
<
template
v-if=
"item.contractNum && item.contractNum.length > 0"
>
<span
v-for=
"sItem in item.contractNum"
class=
"GO_Contract"
@
click=
"goContract(item, sItem)"
>
{{
sItem
.
client_Name
+
""
+
sItem
.
contractNum
}}
<template
v-if=
"sItem.auditContract==3"
>
<font
style=
"color:red"
>
驳回
</font>
</
template
>
<
template
v-if=
"sItem.auditContract==2"
>
<font
style=
"color:green"
>
审核通过
</font>
</
template
>
</span>
</template>
</div>
</td>
</tr>
<tr>
<td
colspan=
"5"
>
<div
class=
"groupTourOrder_remarks"
>
<div>
<div>
<span>
{{ $t("pub.pubRemark") }}:
</span>
<p>
<span
v-if=
"item.tsIdList.length > 0"
>
{{ $t("salesModule.ComplaintNum") }}:
<a
class=
"underline"
v-for=
"ts in item.tsIdList"
href=
"javascript:void(0);"
@
click=
"
goUrlTS(
'ComplaintsDetail',
ts,
item.orderId,
'投诉详情'
)
"
>
{{ ts }}
</a>
;
</span><span
v-if=
"item.clientSource == 1 && item.brandName != ''"
>
{{ item.brandName }}{{ $t("fnc.dingdan") }}
{{ item.platformOrder }};
</span>
{{ item.remarks }}
</p>
</div>
<div>
<span>
{{ item.remarksName }}
 
{{ item.rematksTime }}
</span>
<el-popover
width=
"600"
placement=
"bottom-end"
trigger=
"click"
>
<div
class=
"groupTourOrder_remarks_popover"
>
<div>
{{ $t("fnc.lsbeizhu") }}
</div>
<p
v-if=
"item.remarksList.length !== 0"
v-for=
"(item2, index2) in item.remarksList"
:key=
"index2"
>
<span>
{{ item2.remarks }}
</span>
<span>
{{ item2.createByName }}
 
<span
style=
"color: #666666"
>
{{ item2.createDate }}
</span></span>
</p>
<span
v-if=
"item.remarksList.length === 0"
>
{{
$t("system.content_noData")
}}
</span>
</div>
<el-button
slot=
"reference"
icon=
"iconfont icon-gengduo"
style=
"
padding: 0px;
border: none;
background-color: transparent;
"
class=
"groupTourOrder_remarks_btn"
>
</el-button>
</el-popover>
</div>
</div>
</div>
<p
v-if=
"item.unionRemark"
style=
"color: red;font-size:10px;margin-top:5px;"
>
联运备注:{{ item.unionRemark }}
</p>
<
template
v-if=
"item.orderGuestFlightList&&item.orderGuestFlightList.length>0"
>
<template
v-for=
"(uItem,uIndex) in item.orderGuestFlightList"
>
<div
:key=
"uIndex+20000"
>
{{
uItem
.
guestNames
}}
航班信息:
<span
v-if=
"uItem.isSure==1"
style=
"color:rgb(71, 191, 140)"
>
【OK】
</span>
<span
v-else
>
【暂定】
</span>
<a
v-if=
"uItem.ticketUnionId&&uItem.ticketUnionId>0"
@
click=
"toTrip(item,uItem.ticketUnionId)"
style=
"cursor:pointer;text-decoration:underline;color:green;"
>
{{
$t
(
"Operation.Op_teamNotice"
)
}}
(
{{
item
.
outNotice
==
1
?
"OK"
:
"暂定"
}}
)
</a>
<br
/>
<template
v-for=
"(sfItem,sfIndex) in uItem.guestFlightList"
>
<span
style=
"color:blue;"
:key=
"sfIndex+30000"
>
{{
sfItem
.
flightDateStr
}}
{{
sfItem
.
flight_number
}}
{{
sfItem
.
departure_time
}}
-
{{
sfItem
.
arrival_time
}}
{{
sfItem
.
departureName
}}
(
{{
sfItem
.
diata
}}
)-
{{
sfItem
.
arrivalCityName
}}
(
{{
sfItem
.
aiata
}}
)
</span>
<br
:key=
"sfIndex+40000"
/>
</
template
>
</div>
</template>
</template>
</td>
<td
colspan=
"4"
class=
"groupTourOrder_remarks"
style=
"height: 40px"
>
<div>
<div>
<span>
{{ $t("Operation.Op_remark") }}:
</span>
<p>
{{ item.oP_Remarks ? item.oP_Remarks : "无" }}
</p>
</div>
</div>
</td>
<td
colspan=
"4"
class=
"groupTourOrder_SpecialAPP"
stysle=
"height: 40px;"
>
<div>
特价申请函:
<
template
v-if=
"item.orderspecialofferId === 0"
>
<span
class=
"font-color-blur"
>
未申请
</span>
</
template
>
<
template
v-else
>
<span
class=
"font-color-red"
v-if=
"item.orderspecialofferState === -1"
>
拒绝
</span>
<span
class=
"font-color-org"
v-if=
"item.orderspecialofferState === 0"
>
审批中
</span>
<span
class=
"font-color-green"
v-if=
"item.orderspecialofferState === 1"
>
通过
</span>
</
template
>
</div>
<div
class=
"font-color-red"
v-if=
"item.orderspecialofferId !== 0"
>
申请说明:
<span>
{{ item.orderspecialofferApplyReason }}
</span>
</div>
<div
class=
"font-color-red"
v-if=
"item.orderspecialofferId !== 0"
>
审批说明:
<span>
{{ item.orderspecialofferReason }}
</span>
</div>
</td>
<td
colspan=
"5"
class=
"groupTourOrder_tickets"
style=
"height: 40px"
>
<div
@
click=
"goUrlSFD('SalesFinancialDetail', '销售财务单据', item)"
>
<div>
{{ $t("fnc.skdanju") }}:
</div>
<div>
<span
v-for=
"(item2, index2) in item.financeList"
:key=
"index2"
>
<span
v-if=
"item2.colorState === 1"
class=
"groupTourOrder_tickets_blue"
>
{{ item2.frID }}
</span>
<span
v-else-if=
"item2.colorState === 2"
class=
"groupTourOrder_tickets_green"
>
{{ item2.frID }}
</span>
<span
v-else-if=
"item2.colorState === 3"
class=
"groupTourOrder_tickets_red"
>
{{ item2.frID }}
</span>
<span
v-else-if=
"item2.colorState === 4"
class=
"groupTourOrder_tickets_black"
>
{{ item2.frID }}
</span>
<!-- @click="goUrl('财务单据','FinancialDocumentsDetail',item2.frID,'')" -->
</span>
<span
v-if=
"item.financeList.length === 0"
style=
"cursor: default"
>
{{ $t("system.content_noData") }}
</span>
</div>
</div>
<div
@
click=
"goUrlSFD('SalesFinancialDetail', '销售财务单据', item)"
>
<div>
{{ $t("fnc.fkdanju") }}:
</div>
<div>
<span
v-for=
"(item2, index2) in item.refundFinanceList"
:key=
"index2"
>
<span
v-if=
"item2.colorState === 1"
class=
"groupTourOrder_tickets_blue"
>
{{ item2.frID }}
</span>
<span
v-else-if=
"item2.colorState === 2"
class=
"groupTourOrder_tickets_green"
>
{{ item2.frID }}
</span>
<span
v-else-if=
"item2.colorState === 3"
class=
"groupTourOrder_tickets_red"
>
{{ item2.frID }}
</span>
<span
v-else-if=
"item2.colorState === 4"
class=
"groupTourOrder_tickets_black"
>
{{ item2.frID }}
</span>
</span>
<span
v-if=
"item.refundFinanceList.length === 0"
style=
"cursor: default"
>
{{ $t("system.content_noData") }}
</span>
</div>
</div>
<div>
<div>
{{ $t("salesModule.Invoice") }}:
</div>
<div>
<span
v-for=
"(item2, index2) in item.invoiceApplyList"
:key=
"index2"
>
<span
v-if=
"item2.invoiceApplyState === 6"
class=
"groupTourOrder_tickets_blue"
@
click=
"goIisDetail(item2.id)"
>
{{ item2.id }}
</span>
<span
v-else-if=
"
item2.invoiceApplyState === 1 ||
item2.invoiceApplyState === 3 ||
item2.invoiceApplyState === 6
"
class=
"groupTourOrder_tickets_green"
@
click=
"goIisDetail(item2.id)"
>
{{ item2.id }}
</span>
<span
v-else-if=
"
item2.invoiceApplyState === 5 ||
item2.invoiceApplyState === 4
"
class=
"groupTourOrder_tickets_red"
@
click=
"goIisDetail(item2.id)"
>
{{ item2.id }}
</span>
<span
v-else-if=
"item2.invoiceApplyState === 2"
class=
"groupTourOrder_tickets_black"
@
click=
"goIisDetail(item2.id)"
>
{{ item2.id }}
</span>
</span>
<span
v-if=
"item.invoiceApplyList.length === 0"
style=
"cursor: default"
>
{{ $t("system.content_noData") }}
</span>
</div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</template>
<
script
>
import
offset
from
'../../public/offset.vue'
;
export
default
{
components
:
{
offset
},
props
:
[
"OrderList"
,
"pagesTitle"
],
data
()
{
return
{
S_CheckBranchOrder
:
false
,
S_CheckAllOrder
:
false
,
userInfo
:
{},
list
:
[],
changePriceMsg
:{
ID
:
0
,
OrderId
:
0
,
OrderType
:
0
,
PreferPrice
:
0
,
Money
:
0
,
ApplyForReason
:
''
,
RefuseReason
:
''
,
ApplyForState
:
1
,
setPlatDialog
:
false
,
//是否显示弹出框
outerVisible
:
false
,
DialogType
:
0
,
//审核弹出
},
msg
:
{
OrderId
:
""
,
LossMoney
:
0
,
State
:
''
,
//状态 1确认 2已邮寄 3设置自提 4收损
SelffetchAddress
:
''
},
orderMsg
:
{
LineId
:
"-1"
,
RB_Department_Id
:
null
,
CreateBy
:
"-1"
,
OrderState
:
"-1"
,
CStartDate
:
""
,
CEndDate
:
""
,
QStartDate
:
""
,
QEndDate
:
""
,
pageIndex
:
1
,
pageSize
:
10
,
tempOrderId
:
""
,
SellFormEmp
:
0
,
GroupType
:
'-1'
,
TCNUM
:
''
,
BranchId
:
'-1'
,
IsOneDay
:
'-1'
,
IsCollectMoney
:
0
,
TradeWay
:
''
,
PlatformAccount
:
''
,
},
loading
:
false
,
items
:
null
,
Title
:
''
};
},
watch
:
{
pagesTitle
(
val
,
oldval
)
{
this
.
Title
=
val
},
OrderList
:
{
handler
(
val
,
oldVal
)
{
}
}
},
methods
:
{
setChangePrice
()
{
this
.
apipost
(
'CarSingle_post_SetOrderChangePrice'
,
this
.
changePriceMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
changePriceMsg
.
setPlatDialog
=
true
;
this
.
changePriceMsg
.
outerVisible
=
false
;
this
.
$message
.
info
(
res
.
data
.
message
)
}
else
{
this
.
$message
.
info
(
res
.
data
.
message
)
}
})
},
//点击修改订单总价
ckChangePrice
(
item
,
type
)
{
if
(
item
.
OrderType
==
1
){}
else
if
(
item
.
OrderType
==
2
){
this
.
orderMsg
.
tempOrderId
=
item
.
OrderId
;
this
.
apipost
(
"sellorder_post_GetOrderList"
,
this
.
orderMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
list
=
res
.
data
.
data
.
pageData
;
console
.
log
(
"this.list"
,
this
.
list
);
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
}
},
err
=>
{}
);
}
else
if
(
item
.
OrderType
==
3
){}
else
if
(
item
.
OrderType
==
4
){}
else
if
(
item
.
OrderType
==
5
){}
else
if
(
item
.
OrderType
==
6
){}
else
if
(
item
.
OrderType
==
7
){}
else
{
}
this
.
apipost
(
'CarSingle_post_GetOrderChangePriceDetail'
,
{
ID
:
item
.
OrderChangePriceId
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
data
=
res
.
data
.
data
this
.
changePriceMsg
.
Money
=
data
.
Money
;
this
.
changePriceMsg
.
ApplyForState
=
data
.
ApplyForState
;
this
.
changePriceMsg
.
ApplyForReason
=
data
.
ApplyForReason
;
if
(
type
==
0
){
this
.
changePriceMsg
.
PreferPrice
=
item
.
ApplyForMoney
;
}
else
{
this
.
changePriceMsg
.
PreferPrice
=
data
.
ApplyForMoney
;
}
this
.
changePriceMsg
.
RefuseReason
=
data
.
RefuseReason
;
}
})
this
.
changePriceMsg
.
DialogType
=
type
;
this
.
changePriceMsg
.
ID
=
item
.
OrderChangePriceId
;
this
.
changePriceMsg
.
OrderId
=
item
.
OrderId
;
this
.
changePriceMsg
.
OrderType
=
item
.
OrderType
;
this
.
changePriceMsg
.
setPlatDialog
=
false
;
this
.
changePriceMsg
.
outerVisible
=
true
;
},
GetAdminCarOrderPageList
(
row
,
url
,
href
,
data
)
{
let
msg
=
{
pageIndex
:
1
,
pageSize
:
5
,
OrderType
:
''
,
OrderId
:
row
.
OrderId
,
OrderNo
:
''
,
SurName
:
''
,
Name
:
''
,
OrderStatus
:
0
,
StartTime
:
''
,
EndTime
:
''
,
OrderSTime
:
''
,
OrderETime
:
''
,
ProductName
:
''
,
Mobile
:
''
,
//电话
IsSelectSale
:
1
,
EnterID
:
0
,
//业务员
}
let
name
this
.
apipost
(
'CarSingle_post_GetAdminCarOrderPageList'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
pageData
=
res
.
data
.
data
.
pageData
let
OrderType
if
(
pageData
&&
pageData
.
length
>
0
)
{
OrderType
=
pageData
[
0
].
OrderType
}
if
(
this
.
pagesTitle
==
'销售'
||
(
!
this
.
S_CheckBranchOrder
&&
!
this
.
S_CheckAllOrder
))
{
name
=
'CharterOrderList'
}
else
{
name
=
'CharterOrderListOP'
}
this
.
$router
.
push
({
name
:
name
,
query
:
{
OrderId
:
row
.
OrderId
,
OrderType
:
OrderType
?
OrderType
:
4
,
blank
:
"y"
,
}
});
}
})
},
goTuanDetails
(
row
)
{
let
name
=
''
if
(
row
.
IsOneDayOrder
==
1
)
{
name
=
'groupTourOrderByTuanOne'
}
else
{
name
=
'groupTourOrderByTuan'
}
this
.
$router
.
push
({
name
:
name
,
query
:
{
id
:
row
.
TCID
,
tcmun
:
row
.
TCNUM
,
blank
:
"y"
,
}
});
},
goDetails
(
row
)
{
let
data
=
[{
path
:
""
,
OrderId
:
row
.
OrderId
,
Type
:
''
}]
let
href
let
url
=
this
.
domainManager
().
crmRoutingUrl
;
if
(
row
.
OrderType
==
1
)
{
if
(
this
.
pagesTitle
==
'销售'
||
(
!
this
.
S_CheckBranchOrder
&&
!
this
.
S_CheckAllOrder
))
{
data
[
0
].
path
=
'myCustomerOrderAllType'
}
else
{
data
[
0
].
path
=
'customerOrderAllType'
}
href
=
url
+
'automaticLogin?token='
+
this
.
getLocalStorage
().
token
+
'&data='
+
JSON
.
stringify
(
data
)
window
.
open
(
href
);
}
else
{
let
name
=
''
if
(
row
.
OrderType
==
6
)
{
if
(
this
.
pagesTitle
==
'销售'
||
(
!
this
.
S_CheckBranchOrder
&&
!
this
.
S_CheckAllOrder
))
{
name
=
'VisaProductEditOrder'
}
else
{
name
=
'VisaProductEditOrderOP'
}
this
.
$router
.
push
({
name
:
name
,
});
}
else
if
(
row
.
OrderType
==
2
)
{
//跟团 一日游
if
(
this
.
pagesTitle
==
'销售'
||
(
!
this
.
S_CheckBranchOrder
&&
!
this
.
S_CheckAllOrder
))
{
if
(
row
.
IsOneDayOrder
==
1
)
{
name
=
'groupTourOrderOne'
}
else
{
name
=
'groupTourOrder'
}
}
else
{
name
=
'enrollTotal'
}
}
else
if
(
row
.
OrderType
==
3
)
{
//酒店
if
(
this
.
pagesTitle
==
'销售'
||
(
!
this
.
S_CheckBranchOrder
&&
!
this
.
S_CheckAllOrder
))
{
name
=
'singleProductHotelOrder'
}
else
{
name
=
'singleProductHotelOrderOP'
}
}
else
if
(
row
.
OrderType
==
4
)
{
//门票
if
(
this
.
pagesTitle
==
'销售'
||
(
!
this
.
S_CheckBranchOrder
&&
!
this
.
S_CheckAllOrder
))
{
name
=
'SingleticketOrderList'
}
else
{
name
=
'SingleticketOrderListOP'
}
}
else
if
(
row
.
OrderType
==
5
)
{
//包车
if
(
row
.
CarType
==
''
||
row
.
CarType
==
null
){
this
.
GetAdminCarOrderPageList
(
row
,
url
,
href
,
data
)
}
else
{
if
(
this
.
pagesTitle
==
'销售'
){
name
=
'CharterOrderList'
}
else
{
name
=
'CharterOrderListOP'
}
data
[
0
].
Type
=
row
.
CarType
==
null
||!
row
.
CarType
?
4
:
row
.
CarType
}
}
else
if
(
row
.
OrderType
==
7
)
{
//jalan酒店
this
.
$message
.
info
(
'jalan酒店暂不支持查看'
)
// if(this.pagesTitle=='销售'){
// name = 'CharterOrderList'
// }else{
// name = 'CharterOrderListOP'
// }
}
if
(
name
)
{
this
.
$router
.
push
({
name
:
name
,
query
:
{
OrderId
:
row
.
OrderId
,
OrderType
:
data
[
0
].
Type
?
data
[
0
].
Type
:
null
,
blank
:
"y"
,
}
});
}
}
}
},
mounted
()
{
let
userInfo
=
this
.
getLocalStorage
();
let
ActionMenuCode
=
userInfo
.
ActionMenuCode
;
this
.
userInfo
=
this
.
getLocalStorage
();
// 判断是否销售
if
(
ActionMenuCode
.
indexOf
(
'S_CheckBranchOrder'
)
!=
-
1
)
{
this
.
S_CheckBranchOrder
=
true
}
if
(
ActionMenuCode
.
indexOf
(
'S_CheckAllOrder'
)
!=
-
1
)
{
this
.
S_CheckAllOrder
=
true
}
}
};
</
script
>
<
style
scoped
>
.row
{
display
:
flex
;
}
.row-c
{
display
:
flex
;
align-items
:
center
;
}
.column
{
display
:
flex
;
flex-direction
:
column
;
}
.column-jac
{
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
justify-content
:
center
;
}
.column-ac
{
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
}
.wrap
{
flex-wrap
:
wrap
;
}
.justify-sb
{
justify-content
:
space-between
;
}
.justify-c
{
justify-content
:
center
;
}
.justify-e
{
justify-content
:
flex-end
;
align-items
:
flex-end
;
}
.flex-g
{
flex-grow
:
1
;
}
.flex-s
{
flex-shrink
:
0
;
}
.align-c
{
align-items
:
center
;
}
.cblack
{
color
:
black
;
}
.cf
{
color
:
#ffffff
;
}
.c9e
{
color
:
#9e9e9e
;
}
.c20C997
{
color
:
#20c997
;
}
.c02C854
{
color
:
#02c854
;
}
.cff9800
{
color
:
#ff9800
;
}
.cF1416C
{
color
:
#f1416c
;
}
.cF57A98
{
color
:
#f57a98
;
}
.c04C8C8
{
color
:
#04c8c8
;
}
.c059FF6
{
color
:
#059ff6
;
}
.c3FC4FF
{
color
:
#3fc4ff
;
}
.fz10
{
font-size
:
10px
;
}
.fz11
{
font-size
:
11px
;
}
.fz12
{
font-size
:
12px
;
}
.fz13
{
font-size
:
13px
;
}
.fz14
{
font-size
:
14px
;
}
.fz15
{
font-size
:
15px
;
}
.fz16
{
font-size
:
16px
;
}
.fz17
{
font-size
:
17px
;
}
.fz18
{
font-size
:
18px
;
}
.fbold
{
font-weight
:
bold
;
}
.ml
{
margin-left
:
10px
;
}
.mr
{
margin-right
:
10px
;
}
.mt
{
margin-top
:
10px
;
}
.mt20
{
margin-top
:
20px
;
}
.mb
{
margin-bottom
:
10px
;
}
.mb20
{
margin-bottom
:
20px
;
}
.mx
{
margin-left
:
10px
;
margin-right
:
10px
;
}
.mx5
{
margin-left
:
5px
;
margin-right
:
5px
;
}
.mb5
{
margin-bottom
:
5px
;
}
.py
{
padding
:
15px
0
;
}
.py5
{
padding
:
5px
0
;
}
.px5
{
padding
:
0
5px
;
}
.px15
{
padding
:
0
15px
;
}
.pa15
{
padding
:
15px
;
}
.py20
{
padding
:
20px
0
;
}
.pb5
{
padding
:
0
0
5px
0
;
}
.pa
{
padding
:
10px
20px
;
}
.pa20
{
padding
:
20px
;
}
.pt20
{
padding
:
20px
0
;
}
.borderD
{
border-bottom
:
1px
dashed
#dddddd
;
}
.bgf
{
background
:
#ffffff
;
}
.bgf5
{
background
:
#f5f5f5
;
}
.bgE8F5E9
{
background
:
#e8f5e9
;
}
.bgD9F3FF
{
background
:
#d9f3ff
;
}
.bgFAEAED
{
background
:
#faeaed
;
}
.bj
{
background
:
#ffffff
;
}
.bjFFF3E0
{
background
:
#FFF3E0
;
}
.radius5
{
border-radius
:
5px
;
}
.cursor-pointer
{
cursor
:
pointer
;
}
.relative
{
position
:
relative
;
}
.absolute
{
position
:
absolute
;
}
.left0
{
left
:
0
;
}
.right0
{
right
:
0
;
}
.top0
{
top
:
0
;
}
.bottom0
{
bottom
:
0
;
}
.left20
{
left
:
020px
;
}
.right20
{
right
:
20px
;
}
.top20
{
top
:
20px
;
}
.bottom20
{
bottom
:
20px
;
}
.text-center
{
text-align
:
center
;
}
</
style
>
src/components/myOrdersAllType/components/allListChangePrice.vue
0 → 100644
View file @
1d280a52
<
style
scoped
>
.groupTourOrder_count
{
display
:
flex
;
flex-wrap
:
wrap
;
}
.groupTourOrder_count
>
div
{
margin-right
:
20px
;
}
.groupTourOrder_count
>
div
:last-child
{
margin-right
:
0
;
}
.groupTourOrder_count_item
{
max-width
:
500px
;
}
.groupTourOrder_count_item
>
p
>
span
{
margin
:
0
;
}
.color_red_order
{
color
:
red
;
}
.HT_total
{
display
:
flex
;
flex-direction
:
column
;
margin
:
5px
0
;
}
.HT_total
p
{
width
:
100%
;
display
:
block
;
}
.HT_total
p
>
span
{
float
:
left
;
display
:
inline-block
;
/* width: 25%; */
margin-right
:
20px
;
}
.HT_total
p
>
span
:last-child
{
margin-right
:
0
;
}
.TC_leftSearch
>
div
{
padding
:
5px
0
;
}
.groupTourOrderByTuan_ico
{
margin-left
:
5px
;
}
.groupTourOrderByTuan_ico
>
i
{
display
:
inline-block
;
margin
:
0
5px
0
0
;
width
:
8px
;
height
:
8px
;
border-radius
:
2px
;
vertical-align
:
middle
;
}
.HotelWorkList
.has-gutter
tr
th
,
.el-table
th
.is-leaf
{
background-color
:
#EAEAEA
!important
;
}
.HotelWorkList
.HW_hotelDialog
{
width
:
900px
;
}
.HotelWorkList
.Hw_tableOne
{
width
:
100%
;
height
:
40px
;
background-color
:
#EAEAEA
;
}
.HotelWorkList
.Hw_tableOne
th
{
text-align
:
center
;
}
.HotelWorkList
.HotelWorkInput
.el-input
{
width
:
223px
;
}
.HotelWorkList
.HworkInput
.el-input
{
width
:
210px
;
}
/
deep
/
.query-box
li
span
>
em
{
min-width
:
60px
;
}
</
style
>
<
template
>
<div
class=
"HotelWorkList"
>
<div
class=
"query-box HotelWorkInput"
style=
"border-bottom: none;"
>
<ul>
<li>
<span>
<em>
报名时间
</em>
<el-date-picker
style=
"height: 34px;"
value-format=
"yyyy-MM-dd"
v-model=
"DatelistBM"
type=
"daterange"
:range-separator=
"$t('OrderList.zhi')"
:start-placeholder=
"$t('OrderList.star')"
:end-placeholder=
"$t('OrderList.end')"
@
change=
"getDatesBM"
>
</el-date-picker>
</span>
</li>
<li
>
<input
type=
"button"
class=
"normalBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"msg.pageIndex=1,currentPage=1,GetList();showWarningSearch=false"
/>
</li>
<li
style=
"line-height: 30px; padding-left: 30px;"
>
</li>
</ul>
</div>
<!-- 统计版块 -->
<OrderList
:pagesTitle=
"Title"
:OrderList=
"OrderList"
v-loading=
"loading"
@
success=
"msg.pageIndex=1,GetList()"
>
</OrderList>
<div
v-if=
"OrderList&&OrderList.length==0"
style=
"text-align: center;padding: 100px;"
>
暂无数据
</div>
<el-pagination
v-if=
"OrderList&&OrderList.length>0"
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
msg.pageSize
:total=
total
>
</el-pagination>
</div>
</
template
>
<
script
>
import
OrderList
from
'./OrderListChangePrice.vue'
;
export
default
{
props
:[
'pagesTitle'
,
'dataObj'
],
components
:
{
OrderList
},
data
()
{
return
{
CommissionTypeList
:[
{
Name
:
'不限'
,
Id
:
'-1'
},
{
Name
:
'出境提成'
,
Id
:
'1'
},
{
Name
:
'国内提成'
,
Id
:
'2'
},
],
showWarningSearch
:
false
,
TotalMsg
:
null
,
MultipleChoiceList
:
[
//多选项目
{
Name
:
'机票'
,
Id
:
'1'
},
{
Name
:
'签证'
,
Id
:
'2'
},
{
Name
:
'地接'
,
Id
:
'3'
},
{
Name
:
'套餐'
,
Id
:
'4'
},
{
Name
:
'其他'
,
Id
:
'5'
}
],
userInfo
:
{},
HotelList
:
[],
loading
:
false
,
isShow
:
false
,
outerVisible
:
false
,
//订单列表
OrderList
:
[],
//默认高度
tableHeight
:
0
,
msg
:{
pageIndex
:
1
,
pageSize
:
15
,
OrderId
:
""
,
//订单id
GuestId
:
0
,
//客人id
EnterId
:
0
,
//业务员id
OrderState
:
'1'
,
//订单状态
Q_IsCollect
:
"2"
,
//收款状态
StartTime
:
""
,
//报名开始日期
EndTime
:
""
,
//报名结束日期
FinishSTime
:
""
,
//完结开始时间
FinishETime
:
""
,
//完结结束时间
DepartSTime
:
""
,
//出发开始
DepartETime
:
""
,
//出发结束
TCNUM
:
""
,
//团号
ProductName
:
""
,
//商品名称
CustomerName
:
""
,
//客户名称
LureEmpId
:
0
,
//引流人员
LineId
:
0
,
//线路
TravelType
:
0
,
//跟团类型 1跟团 2当地游
OrderType
:
"0"
,
//订单类型
IsSelectCRM
:
0
,
//1来源crm
IsMyOrder
:
1
,
//1我的订单
CommissionType
:
'-1'
,
//提成类型 1出境 2国内
},
total
:
0
,
currentPage
:
1
,
OrderTypeList
:[],
orderType
:[
{
Name
:
this
.
$t
(
'OrderList.orderType.tour'
),
ID
:
'1'
},
{
Name
:
this
.
$t
(
'OrderList.orderType.guest'
),
ID
:
'2'
},
],
Datelist
:
''
,
DatelistUse
:
''
,
DatelistBM
:
[],
Title
:
''
,
EmployeeList
:[],
employeeMsg
:{
// 员工
GroupId
:
''
,
BranchId
:
-
1
,
DepartmentId
:
0
,
PostId
:
0
,
IsLeave
:
0
,
},
OrderStatusList
:
[
{
Name
:
"不限"
,
Id
:
"0"
},
{
Name
:
"正常"
,
Id
:
"1"
},
{
Name
:
"取消"
,
Id
:
"2"
},
],
QIsCollectList
:
[
{
Name
:
"不限"
,
Id
:
"0"
},
{
Name
:
"已收齐"
,
Id
:
"1"
},
{
Name
:
"未收齐"
,
Id
:
"2"
},
],
ticketingStatusList
:
[],
VisaList
:
[
{
Name
:
"不限"
,
Id
:
"0"
},
{
Name
:
"未出签"
,
Id
:
"1"
},
{
Name
:
"已出签"
,
Id
:
"2"
},
],
LineList
:
[],
SummaryList
:
[],
};
},
watch
:
{
pagesTitle
(
val
,
oldval
){
this
.
Title
=
val
},
dataObj
:{
handler
(
val
,
oldVal
)
{
this
.
msg
.
OrderType
=
val
.
tab
this
.
msg
.
OrderId
=
val
.
OrderId
this
.
GetList
()
},
deep
:
true
,
}
},
methods
:
{
// 获取出票状态枚举
GetTicketStatusEnumList
()
{
this
.
crmapipost
(
"/api/Order/GetTicketStatusEnumList"
,
{},
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
ticketingStatusList
=
res
.
data
.
data
;
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
}
});
},
// 获取订单状态枚举
GetOrderStatusEnumList
()
{
this
.
crmapipost
(
"/api/Order/GetOrderStatusEnumList"
,
{},
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
OrderStatusList
=
res
.
data
.
data
;
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
}
});
},
getEmployee
()
{
//员工
this
.
apipost
(
'admin_get_EmployeeGetList'
,
this
.
employeeMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
EmployeeList
=
res
.
data
.
data
;
}
},
err
=>
{})
},
getDatesBM
(){
if
(
this
.
DatelistBM
){
this
.
msg
.
DepartSTime
=
this
.
DatelistBM
[
0
]
this
.
msg
.
DepartETime
=
this
.
DatelistBM
[
1
]
}
if
(
!
this
.
DatelistBM
){
this
.
msg
.
DepartSTime
=
''
this
.
msg
.
DepartETime
=
''
}
},
getDatesUse
(){
if
(
this
.
DatelistUse
){
this
.
msg
.
DepartSTime
=
this
.
DatelistUse
[
0
]
this
.
msg
.
DepartETime
=
this
.
DatelistUse
[
1
]
}
if
(
!
this
.
DatelistUse
){
this
.
msg
.
DepartSTime
=
''
this
.
msg
.
DepartETime
=
''
}
},
getDates
(){
if
(
this
.
Datelist
){
this
.
msg
.
FinishSTime
=
this
.
Datelist
[
0
]
this
.
msg
.
FinishETime
=
this
.
Datelist
[
1
]
}
if
(
!
this
.
Datelist
){
this
.
msg
.
FinishSTime
=
''
this
.
msg
.
FinishETime
=
''
}
},
setEdate
()
{
return
this
.
addMoth
(
new
Date
().
Format
(
"yyyy-MM-dd"
),
1
)
},
addMoth
(
d
,
m
)
{
let
ds
=
d
.
split
(
'-'
),
_d
=
ds
[
2
]
-
0
;
let
nextM
=
new
Date
(
ds
[
0
],
ds
[
1
]
-
1
+
m
+
1
,
0
);
let
max
=
nextM
.
getDate
();
d
=
new
Date
(
ds
[
0
],
ds
[
1
]
-
1
+
m
,
_d
>
max
?
max
:
_d
);
return
d
.
toLocaleDateString
().
match
(
/
\d
+/g
).
join
(
'-'
)
},
getyMDOne
(){
let
myDate
=
new
Date
()
let
myYear
=
myDate
.
getFullYear
();
//获取完整的年份(4位,1970-????)
let
myMonth
=
myDate
.
getMonth
()
+
1
;
//获取当前月份(0-11,8代表1月)
let
myToday
=
myDate
.
getDate
();
//获取当前日(1-31)
myMonth
=
myMonth
>
9
?
myMonth
:
'0'
+
myMonth
myToday
=
myToday
>
9
?
myToday
:
'0'
+
myToday
let
nowDate
=
myYear
+
'-'
+
myMonth
+
'-01'
return
nowDate
},
getyMDTwo
(){
let
myDate
=
new
Date
()
let
myYear
=
myDate
.
getFullYear
();
//获取完整的年份(4位,1970-????)
let
myMonth
=
myDate
.
getMonth
()
+
1
;
//获取当前月份(0-11,8代表1月)
let
myToday
=
myDate
.
getDate
();
//获取当前日(1-31)
myMonth
=
myMonth
>
9
?
myMonth
:
'0'
+
myMonth
myToday
=
myToday
>
9
?
myToday
:
'0'
+
myToday
let
nowDate
=
myYear
+
'-'
+
myMonth
+
'-'
+
myToday
return
nowDate
},
//获取酒店订单列表
GetList
()
{
this
.
loading
=
true
let
url
=
"CarSingle_post_GetChangePriceOrderPageList"
this
.
apipost
(
url
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
getSummaryData
()
let
data
=
res
.
data
.
data
.
pageData
this
.
OrderList
=
data
;
this
.
total
=
res
.
data
.
data
.
count
;
// this.TotalMsg = res.data.data.StatModel
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
this
.
loading
=
false
},
err
=>
{
this
.
loading
=
false
}
);
},
getSummaryData
(){
this
.
apipost
(
"CarSingle_post_GetGuestOrderStatistics"
,
this
.
msg
,
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
data
=
res
.
data
.
data
;
this
.
SummaryList
=
data
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
}
}
);
},
handleCurrentChange
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
GetList
();
},
com_onresize
()
{
//clientHeight的值由DIV内容的实际高度和CSS中的padding值决定,
var
contentsHeight
=
document
.
body
.
clientHeight
;
var
h
=
contentsHeight
-
50
-
180
-
40
;
if
(
h
<
110
)
{
return
;
}
//设置table的行高
this
.
tableHeight
=
h
;
},
},
created
()
{
let
userInfo
=
this
.
getLocalStorage
();
this
.
employeeMsg
.
GroupId
=
userInfo
.
RB_Group_id
;
//集团ID
this
.
msg
.
EnterId
=
this
.
$route
.
query
.
EnterId
?
Number
(
this
.
$route
.
query
.
EnterId
):
0
//userInfo.EmployeeId;
this
.
msg
.
LureEmpId
=
this
.
$route
.
query
.
LureEmpId
?
Number
(
this
.
$route
.
query
.
LureEmpId
):
0
this
.
msg
.
DepartSTime
=
this
.
getBeforeDate
(
200
,
new
Date
())
this
.
msg
.
DepartETime
=
this
.
getBeforeDate
(
0
,
new
Date
())
console
.
log
(
"我进来啦DepartSTime。"
,
this
.
msg
.
DepartSTime
);
console
.
log
(
"我进来啦DepartETime。"
,
this
.
msg
.
DepartETime
);
this
.
DatelistBM
=
[
new
Date
(
this
.
msg
.
DepartSTime
),
new
Date
()]
if
(
this
.
$route
.
query
.
OrderId
){
this
.
msg
.
OrderId
=
this
.
$route
.
query
.
OrderId
this
.
msg
.
DepartSTime
=
''
this
.
msg
.
DepartETime
=
''
this
.
DatelistBM
=
[]
this
.
msg
.
OrderState
=
'0'
}
},
mounted
()
{
this
.
Title
=
this
.
pagesTitle
if
(
this
.
Title
!=
'销售'
){
this
.
getEmployee
()
}
this
.
Datelist
=
this
.
getyMDOne
()
this
.
userInfo
=
this
.
getLocalStorage
();
this
.
GetList
();
//自适应高度调节
this
.
com_onresize
();
window
.
onresize
=
()
=>
{
this
.
com_onresize
();
}
},
};
</
script
>
src/components/myOrdersAllType/components/allListExaminePrice.vue
0 → 100644
View file @
1d280a52
<
style
scoped
>
.groupTourOrder_count
{
display
:
flex
;
flex-wrap
:
wrap
;
}
.groupTourOrder_count
>
div
{
margin-right
:
20px
;
}
.groupTourOrder_count
>
div
:last-child
{
margin-right
:
0
;
}
.groupTourOrder_count_item
{
max-width
:
500px
;
}
.groupTourOrder_count_item
>
p
>
span
{
margin
:
0
;
}
.color_red_order
{
color
:
red
;
}
.HT_total
{
display
:
flex
;
flex-direction
:
column
;
margin
:
5px
0
;
}
.HT_total
p
{
width
:
100%
;
display
:
block
;
}
.HT_total
p
>
span
{
float
:
left
;
display
:
inline-block
;
/* width: 25%; */
margin-right
:
20px
;
}
.HT_total
p
>
span
:last-child
{
margin-right
:
0
;
}
.TC_leftSearch
>
div
{
padding
:
5px
0
;
}
.groupTourOrderByTuan_ico
{
margin-left
:
5px
;
}
.groupTourOrderByTuan_ico
>
i
{
display
:
inline-block
;
margin
:
0
5px
0
0
;
width
:
8px
;
height
:
8px
;
border-radius
:
2px
;
vertical-align
:
middle
;
}
.HotelWorkList
.has-gutter
tr
th
,
.el-table
th
.is-leaf
{
background-color
:
#EAEAEA
!important
;
}
.HotelWorkList
.HW_hotelDialog
{
width
:
900px
;
}
.HotelWorkList
.Hw_tableOne
{
width
:
100%
;
height
:
40px
;
background-color
:
#EAEAEA
;
}
.HotelWorkList
.Hw_tableOne
th
{
text-align
:
center
;
}
.HotelWorkList
.HotelWorkInput
.el-input
{
width
:
223px
;
}
.HotelWorkList
.HworkInput
.el-input
{
width
:
210px
;
}
/
deep
/
.query-box
li
span
>
em
{
min-width
:
60px
;
}
</
style
>
<
template
>
<div
class=
"HotelWorkList"
>
<div
class=
"query-box HotelWorkInput"
style=
"border-bottom: none;"
>
<ul>
<li>
<span>
<em>
审核状态
</em>
<el-select
v-model=
'msg.OrderState'
class=
"w200"
>
<!--
<el-option
:value=
"0"
label=
"不限"
></el-option>
-->
<el-option
v-for=
'item in OrderStatusList'
:label=
'item.Name'
:value=
'item.Id'
:key=
'item.Id'
>
</el-option>
</el-select>
</span>
</li>
<li
>
<input
type=
"button"
class=
"normalBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"msg.pageIndex=1,currentPage=1,GetList();showWarningSearch=false"
/>
</li>
<li
style=
"line-height: 30px; padding-left: 30px;"
>
</li>
</ul>
</div>
<!-- 统计版块 -->
<OrderList
:pagesTitle=
"Title"
:OrderList=
"OrderList"
v-loading=
"loading"
@
success=
"msg.pageIndex=1,GetList()"
>
</OrderList>
<div
v-if=
"OrderList&&OrderList.length==0"
style=
"text-align: center;padding: 100px;"
>
暂无数据
</div>
<el-pagination
v-if=
"OrderList&&OrderList.length>0"
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
msg.pageSize
:total=
total
>
</el-pagination>
</div>
</
template
>
<
script
>
import
OrderList
from
'./OrderListExaminePrice.vue'
;
export
default
{
props
:[
'pagesTitle'
,
'dataObj'
],
components
:
{
OrderList
},
data
()
{
return
{
CommissionTypeList
:[
{
Name
:
'不限'
,
Id
:
'-1'
},
{
Name
:
'出境提成'
,
Id
:
'1'
},
{
Name
:
'国内提成'
,
Id
:
'2'
},
],
employeeMsg
:{
// 员工
GroupId
:
''
,
BranchId
:
-
1
,
DepartmentId
:
0
,
PostId
:
0
,
IsLeave
:
0
,
},
showWarningSearch
:
false
,
TotalMsg
:
null
,
MultipleChoiceList
:
[
//多选项目
{
Name
:
'机票'
,
Id
:
'1'
},
{
Name
:
'签证'
,
Id
:
'2'
},
{
Name
:
'地接'
,
Id
:
'3'
},
{
Name
:
'套餐'
,
Id
:
'4'
},
{
Name
:
'其他'
,
Id
:
'5'
}
],
userInfo
:
{},
HotelList
:
[],
loading
:
false
,
isShow
:
false
,
outerVisible
:
false
,
//订单列表
OrderList
:
[],
//默认高度
tableHeight
:
0
,
msg
:{
pageIndex
:
1
,
pageSize
:
15
,
OrderId
:
""
,
//订单id
OrderState
:
'0'
,
//订单状态
OrderType
:
"0"
,
//订单类型
},
total
:
0
,
currentPage
:
1
,
OrderTypeList
:[],
orderType
:[
{
Name
:
this
.
$t
(
'OrderList.orderType.tour'
),
ID
:
'1'
},
{
Name
:
this
.
$t
(
'OrderList.orderType.guest'
),
ID
:
'2'
},
],
Title
:
''
,
OrderStatusList
:
[
{
Name
:
"不限"
,
Id
:
"0"
},
{
Name
:
"待审核"
,
Id
:
"1"
},
{
Name
:
"已通过"
,
Id
:
"2"
},
{
Name
:
"已取消"
,
Id
:
"3"
},
]
};
},
watch
:
{
pagesTitle
(
val
,
oldval
){
this
.
Title
=
val
},
dataObj
:{
handler
(
val
,
oldVal
)
{
this
.
msg
.
OrderType
=
val
.
tab
this
.
msg
.
OrderId
=
val
.
OrderId
this
.
GetList
()
},
deep
:
true
,
}
},
methods
:
{
//获取酒店订单列表
GetList
()
{
this
.
loading
=
true
let
url
=
"CarSingle_post_GetExaminePriceOrderPageList"
this
.
apipost
(
url
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
data
=
res
.
data
.
data
.
pageData
this
.
OrderList
=
data
;
this
.
total
=
res
.
data
.
data
.
count
;
// this.TotalMsg = res.data.data.StatModel
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
this
.
loading
=
false
},
err
=>
{
this
.
loading
=
false
}
);
},
handleCurrentChange
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
GetList
();
},
com_onresize
()
{
//clientHeight的值由DIV内容的实际高度和CSS中的padding值决定,
var
contentsHeight
=
document
.
body
.
clientHeight
;
var
h
=
contentsHeight
-
50
-
180
-
40
;
if
(
h
<
110
)
{
return
;
}
//设置table的行高
this
.
tableHeight
=
h
;
},
},
created
()
{
let
userInfo
=
this
.
getLocalStorage
();
this
.
employeeMsg
.
GroupId
=
userInfo
.
RB_Group_id
;
//集团ID
if
(
this
.
$route
.
query
.
OrderId
){
this
.
msg
.
OrderId
=
this
.
$route
.
query
.
OrderId
this
.
msg
.
OrderState
=
'0'
}
},
mounted
()
{
this
.
userInfo
=
this
.
getLocalStorage
();
this
.
GetList
();
//自适应高度调节
this
.
com_onresize
();
window
.
onresize
=
()
=>
{
this
.
com_onresize
();
}
},
};
</
script
>
src/components/myOrdersAllType/erpChangePricehOrder.vue
0 → 100644
View file @
1d280a52
<
style
>
</
style
>
<
template
>
<div>
<allList
:pagesTitle=
"pagesTitle"
:dataObj=
"dataObj"
></allList>
</div>
</
template
>
<
script
>
import
allList
from
'./components/allListChangePrice.vue'
;
export
default
{
components
:
{
allList
},
data
()
{
return
{
pagesTitle
:
'销售'
,
dataObj
:{
OrderId
:
''
,
}
};
},
watch
:
{
pagesTitle
(
val
,
oldval
){
},
},
methods
:
{
},
created
()
{
},
mounted
()
{
if
(
this
.
$route
.
query
.
OrderId
){
this
.
dataObj
.
OrderId
=
this
.
$route
.
query
.
OrderId
}
},
};
</
script
>
<
style
>
</
style
>
src/components/myOrdersAllType/erpExaminePricehOrder.vue
0 → 100644
View file @
1d280a52
<
style
>
</
style
>
<
template
>
<div>
<allList
:pagesTitle=
"pagesTitle"
:dataObj=
"dataObj"
></allList>
</div>
</
template
>
<
script
>
import
allList
from
'./components/allListExaminePrice.vue'
;
export
default
{
components
:
{
allList
},
data
()
{
return
{
pagesTitle
:
'销售'
,
dataObj
:{
OrderId
:
''
,
}
};
},
watch
:
{
pagesTitle
(
val
,
oldval
){
},
},
methods
:
{
},
created
()
{
},
mounted
()
{
if
(
this
.
$route
.
query
.
OrderId
){
this
.
dataObj
.
OrderId
=
this
.
$route
.
query
.
OrderId
}
},
};
</
script
>
<
style
>
</
style
>
src/router/config.js
View file @
1d280a52
...
@@ -3382,6 +3382,22 @@ export default {
...
@@ -3382,6 +3382,22 @@ export default {
title
:
'我的订单'
title
:
'我的订单'
},
},
},
},
{
// 销售 我的账未平订单
path
:
'/erpChangePricehOrder'
,
name
:
'erpChangePricehOrder'
,
component
:
resolve
=>
require
([
'@/components/myOrdersAllType/erpChangePricehOrder'
],
resolve
),
meta
:
{
title
:
'我的订单'
},
},
{
// 销售 审核改价申请(账未平订单申请改价)
path
:
'/erpExaminePricehOrder'
,
name
:
'erpExaminePricehOrder'
,
component
:
resolve
=>
require
([
'@/components/myOrdersAllType/erpExaminePricehOrder'
],
resolve
),
meta
:
{
title
:
'我的订单'
},
},
{
// 销售 我的今日订单
{
// 销售 我的今日订单
path
:
'/erpCustomerOrderDay'
,
path
:
'/erpCustomerOrderDay'
,
name
:
'erpCustomerOrderDay'
,
name
:
'erpCustomerOrderDay'
,
...
...
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