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
9f32d332
Commit
9f32d332
authored
Oct 19, 2023
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
1be470ca
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
616 additions
and
325 deletions
+616
-325
HotelOrderList.vue
src/components/Hotel/reservation/HotelOrderList.vue
+1
-0
OrderList.vue
src/components/Hotel/reservation/OrderList.vue
+197
-99
OrderList.vue
src/components/SingleAirTicket/components/OrderList.vue
+5
-0
orderList.vue
...omponents/busManagement/BookAcar/components/orderList.vue
+203
-110
OrderList.vue
src/components/myOrdersAllType/components/OrderList.vue
+2
-0
OrderList.vue
src/components/scenicSpot/reservation/OrderList.vue
+208
-116
No files found.
src/components/Hotel/reservation/HotelOrderList.vue
View file @
9f32d332
...
@@ -334,6 +334,7 @@
...
@@ -334,6 +334,7 @@
CostMoney
:
item
.
CostMoney
,
CostMoney
:
item
.
CostMoney
,
PlatformTax
:
item
.
PlatformTax
,
PlatformTax
:
item
.
PlatformTax
,
Refund
:
item
.
Refund
,
Refund
:
item
.
Refund
,
PlatformMoney
:
item
.
PlatformMoney
,
HandFittingIncome
:
item
.
HandFittingIncome
,
HandFittingIncome
:
item
.
HandFittingIncome
,
HandFittingTax
:
item
.
HandFittingTax
HandFittingTax
:
item
.
HandFittingTax
}
}
...
...
src/components/Hotel/reservation/OrderList.vue
View file @
9f32d332
...
@@ -311,27 +311,49 @@
...
@@ -311,27 +311,49 @@
<
template
>
<
template
>
<div>
<div>
<div
<div
style=
"text-align: right;position: fixed;top: 62px; right: 89px;"
>
<el-button
class=
"hollowFixedBtn"
v-if=
"pagesTitle=='OP'"
@
click=
"setCompleted"
:loading=
"CompletedLoading"
>
一键完结
</el-button>
</div>
<el-table
ref=
"multipleTable"
:data=
"OrderList"
tooltip-effect=
"dark"
style=
"width: 100%"
row-key=
"OrderId"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
:selectable=
"selectable"
:reserve-selection=
"true"
v-if=
"pagesTitle=='OP'"
>
</el-table-column>
<el-table-column
:label=
"pagesTitle=='OP'?'全选':''"
>
<!--
<div
v-for=
"(item, index) in OrderList"
:key=
"index"
v-for=
"(item, index) in OrderList"
:key=
"index"
class=
"column bgf radius5 px15 mb20"
class=
"column bgf radius5 px15 mb20"
>
>
-->
<template
slot-scope=
"scope"
>
<div
class=
"row-c justify-sb align-c py"
>
<div
class=
"row-c justify-sb align-c py"
>
<div
class=
"row-c"
>
<div
class=
"row-c"
>
<div>
<div>
<div
<div
class=
"orderType cf fz12"
class=
"orderType cf fz12"
:class=
"
{ active:
item
.OrderType == 1 }"
:class=
"
{ active:
scope.row
.OrderType == 1 }"
>
>
{{
item
.
OrderType
==
1
?
"散拼订房"
:
"团队订房"
}}
{{
scope
.
row
.
OrderType
==
1
?
"散拼订房"
:
"团队订房"
}}
</div>
</div>
</div>
</div>
<div
class=
"cblack fz14 mr"
:class=
"
{ cF1416C: scope.row.IsFinish == 0,c20C997: scope.row.IsFinish == 1 }">
<template
v-if=
"scope.row.IsFinish == 1"
>
已完结
<template
v-if=
"scope.row.FinishTime"
>
/
{{
scope
.
row
.
FinishTime
}}
</
template
>
</template>
<
template
v-else
>
未完结
</
template
>
</div>
<div
class=
"c9e fz12"
>
<div
class=
"c9e fz12"
>
<span>
订单编号:
</span>
<span>
订单编号:
</span>
<span>
{{
item
.
OrderNo
}}
(
{{
item
.
OrderId
}}
)
</span>
<span>
{{
scope.row.OrderNo }}({{ scope.row
.OrderId}})
</span>
<span
<span
class=
"copy cblack cursor-pointer"
class=
"copy cblack cursor-pointer"
v-if=
"copyId !=
item
.OrderId"
v-if=
"copyId !=
scope.row
.OrderId"
@
click=
"CopyHandler(i
tem
)"
@
click=
"CopyHandler(i
scope.row
)"
>
复制
</span
>
复制
</span
>
>
<span
class=
"copy c059FF6 bgD9F3FF cursor-pointer"
v-else
<span
class=
"copy c059FF6 bgD9F3FF cursor-pointer"
v-else
...
@@ -340,45 +362,45 @@
...
@@ -340,45 +362,45 @@
</div>
</div>
</div>
</div>
<div
class=
"c9e fz12"
>
<div
class=
"c9e fz12"
>
<span
v-if=
"
item
.OrderType == 1"
<span
v-if=
"
scope.row
.OrderType == 1"
>
联系人信息:
{{
item
.
ContactName
}}
/
{{
item
.
ContactNumber
}}
</span
>
联系人信息:{{
scope.row.ContactName }}/{{ scope.row
.ContactNumber }}
</span
>
>
<span
v-else
>
组团号:
{{
item
.
TCNum
}}
</span>
<span
v-else
>
组团号:{{
scope.row
.TCNum }}
</span>
</div>
</div>
<div
class=
"row c9e fz12"
>
<div
class=
"row c9e fz12"
>
<span
class=
"mr"
v-if=
"
item.LureEmpName"
>
引流人:
{{
item
.
LureEmpName
}}
</span>
<span
class=
"mr"
v-if=
"
scope.row.LureEmpName"
>
引流人:{{ scope.row
.LureEmpName }}
</span>
<span
class=
"mr"
>
销售:
{{
item
.
SaleName
}}
</span>
<span
class=
"mr"
>
销售:{{
scope.row
.SaleName }}
</span>
<span
class=
"mr"
v-if=
"
item.OpName&&pagesTitle=='OP'"
>
关联OP:
{{
item
.
OpName
}}
</span>
<span
class=
"mr"
v-if=
"
scope.row.OpName&&pagesTitle=='OP'"
>
关联OP:{{ scope.row
.OpName }}
</span>
<span
class=
"mr"
v-if=
"
item.CustomerName"
>
创建人:
{{
item
.
CustomerName
}}
(
{{
item
.
CustomerContact
}}
/
{{
<span
class=
"mr"
v-if=
"
scope.row.CustomerName"
>
创建人:{{ scope.row.CustomerName }} ({{ scope.row
.CustomerContact }}/{{
item
.
CustomerTel
scope.row
.CustomerTel
}}
</span>
}}
</span>
<span
class=
"mr"
>
下单时间:
{{
item
.
CreateTime
}}
</span>
<span
class=
"mr"
>
下单时间:{{
scope.row
.CreateTime }}
</span>
<div
class=
""
>
<div
class=
""
>
<i
<i
class=
"mx5"
class=
"mx5"
:class=
"{
:class=
"{
'el-icon-alarm-clock c20C997':
item
.OrderStatus == 1,
'el-icon-alarm-clock c20C997':
scope.row
.OrderStatus == 1,
'el-icon-check cblack':
item
.OrderStatus == 2,
'el-icon-check cblack':
scope.row
.OrderStatus == 2,
'el-icon-warning cff9800':
item
.OrderStatus == 3,
'el-icon-warning cff9800':
scope.row
.OrderStatus == 3,
'el-icon-refresh cF1416C':
item
.OrderStatus == 4
'el-icon-refresh cF1416C':
scope.row
.OrderStatus == 4
}"
}"
></i>
></i>
<span
<span
class=
"fz12 cblack"
class=
"fz12 cblack"
:class=
"{
:class=
"{
c20C997:
item
.OrderStatus == 1,
c20C997:
scope.row
.OrderStatus == 1,
cblack:
item
.OrderStatus == 2,
cblack:
scope.row
.OrderStatus == 2,
cff9800:
item
.OrderStatus == 3,
cff9800:
scope.row
.OrderStatus == 3,
cF1416C:
item
.OrderStatus == 4
cF1416C:
scope.row
.OrderStatus == 4
}"
}"
>
>
{{
item
.
OrderStatusName
}}
{{
scope.row
.OrderStatusName }}
</span>
</span>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"mb"
>
<div
class=
"mb"
>
<el-table
:data=
"
item
.NewDetailList"
style=
"width:100%"
border
>
<el-table
:data=
"
scope.row
.NewDetailList"
style=
"width:100%"
border
>
<el-table-column
<el-table-column
label=
"入住日期"
label=
"入住日期"
min-width=
"100"
min-width=
"100"
...
@@ -472,27 +494,32 @@
...
@@ -472,27 +494,32 @@
style=
"background:#EAEAEA"
style=
"background:#EAEAEA"
>
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
class=
"fz15 fbold"
>
{{
item
.
HandFittingFee
?
item
.
HandFittingFee
:
"-"
}}
</span>
<span
class=
"fz15 fbold"
>
{{
scope
.
row
.
HandFittingFee
?
scope
.
row
.
HandFittingFee
:
"-"
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<
template
slot=
"append"
v-if=
"
item.Remark||item.OPRemark||item.isMore||(item.OrderStatus>1||item
.OrderStatus!=3)"
>
<
template
slot=
"append"
v-if=
"
scope.row.Remark||scope.row.OPRemark||scope.row.isMore||(scope.row.OrderStatus>1||scope.row
.OrderStatus!=3)"
>
<div
style=
"padding:10px;color:#f1416c"
>
客户备注:
{{
item
.
Remark
}}
<div
style=
"padding:10px;color:#f1416c"
>
客户备注:
{{
scope
.
row
.
Remark
}}
<i
v-if=
"pagesTitle=='销售'&&
item.OrderStatus>1&&item.OrderStatus!=3"
class=
"el-icon-edit cursor-pointer c059FF6 mx"
@
click=
"editRemark(item
)"
></i></div>
<i
v-if=
"pagesTitle=='销售'&&
scope.row.OrderStatus>1&&scope.row.OrderStatus!=3"
class=
"el-icon-edit cursor-pointer c059FF6 mx"
@
click=
"editRemark(scope.row
)"
></i></div>
<div
style=
"padding:10px;color:#f1416c"
<div
style=
"padding:10px;color:#f1416c"
:style=
"
{'padding':
item
.isMore?'0 10px 30px 10px':'0 10px 10px 10px'}">
:style=
"
{'padding':
scope.row
.isMore?'0 10px 30px 10px':'0 10px 10px 10px'}">
OP备注:
{{
item
.
OPRemark
}}
OP备注:
{{
scope
.
row
.
OPRemark
}}
<i
v-if=
"pagesTitle=='OP'&&
item.OrderStatus>1&&item.OrderStatus!=3"
class=
"el-icon-edit cursor-pointer c059FF6 mx"
@
click=
"editRemark(item
)"
></i>
<i
v-if=
"pagesTitle=='OP'&&
scope.row.OrderStatus>1&&scope.row.OrderStatus!=3"
class=
"el-icon-edit cursor-pointer c059FF6 mx"
@
click=
"editRemark(scope.row
)"
></i>
</div>
</div>
<more
v-if=
"
item.isMore"
@
change=
"ViewMore(item,index)"
:upIcon=
"item
.upIcon"
></more>
<more
v-if=
"
scope.row.isMore"
@
change=
"ViewMore(scope.row,index)"
:upIcon=
"scope.row
.upIcon"
></more>
</
template
>
</
template
>
</el-table>
</el-table>
</div>
</div>
<el-table
:data=
"
item.list"
style=
"width:100%"
border
v-if=
"item
.OrderStatus!=3"
>
<el-table
:data=
"
scope.row.list"
style=
"width:100%"
border
v-if=
"scope.row
.OrderStatus!=3"
>
<el-table-column
label=
"实收"
min-width=
"100"
>
<el-table-column
label=
"实收"
min-width=
"100"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
class=
"fz15 fbold"
>
{{
scope
.
row
.
Income
?
scope
.
row
.
Income
:
"-"
}}
</span>
<span
class=
"fz15 fbold"
>
{{
scope
.
row
.
Income
?
scope
.
row
.
Income
:
"-"
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"在途金额"
min-width=
"100"
>
<
template
slot-scope=
"scope"
>
<span
class=
"fz15 fbold"
>
{{
scope
.
row
.
PlatformMoney
?
scope
.
row
.
PlatformMoney
:
"-"
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"成本"
min-width=
"100"
>
<el-table-column
label=
"成本"
min-width=
"100"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
class=
"fz15 fbold"
>
{{
scope
.
row
.
CostMoney
?
scope
.
row
.
CostMoney
:
"-"
}}
</span>
<span
class=
"fz15 fbold"
>
{{
scope
.
row
.
CostMoney
?
scope
.
row
.
CostMoney
:
"-"
}}
</span>
...
@@ -535,20 +562,20 @@
...
@@ -535,20 +562,20 @@
<span
class=
"fz15 fbold"
>
{{
scope
.
row
.
Income
-
scope
.
row
.
CostMoney
-
scope
.
row
.
Refund
>
0
?(
scope
.
row
.
Income
-
scope
.
row
.
CostMoney
-
scope
.
row
.
Refund
).
toFixed
(
2
):
'-'
}}
</span>
<span
class=
"fz15 fbold"
>
{{
scope
.
row
.
Income
-
scope
.
row
.
CostMoney
-
scope
.
row
.
Refund
>
0
?(
scope
.
row
.
Income
-
scope
.
row
.
CostMoney
-
scope
.
row
.
Refund
).
toFixed
(
2
):
'-'
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
v-if=
"(
item.SellCommission&&item.SellCommission>0)||(item.OPCommission&&item
.OPCommission>0)"
label=
"提成"
style=
"background:#EAEAEA"
>
<el-table-column
v-if=
"(
scope.row.SellCommission&&scope.row.SellCommission>0)||(scope.row.OPCommission&&scope.row
.OPCommission>0)"
label=
"提成"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
class=
"width100-float-l"
v-if=
"
item.SellCommission&&item
.SellCommission>0"
><span
class=
"float-l"
>
销售:
</span>
<div
class=
"width100-float-l"
v-if=
"
scope.row.SellCommission&&scope.row
.SellCommission>0"
><span
class=
"float-l"
>
销售:
</span>
<commissionDialog
:objNew=
"
item
"
:OP=
"0"
></commissionDialog>
<commissionDialog
:objNew=
"
scope.row
"
:OP=
"0"
></commissionDialog>
</div>
</div>
<div
class=
"width100-float-l"
v-if=
"
item.OPCommission&&item
.OPCommission>0"
><span
class=
"float-l"
>
OP:
</span>
<div
class=
"width100-float-l"
v-if=
"
scope.row.OPCommission&&scope.row
.OPCommission>0"
><span
class=
"float-l"
>
OP:
</span>
<commissionDialog
:objNew=
"
item
"
:OP=
"1"
></commissionDialog>
<commissionDialog
:objNew=
"
scope.row
"
:OP=
"1"
></commissionDialog>
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<div
class=
"row justify-sb mt mb20"
v-if=
"
item
.OrderStatus!=3"
>
<div
class=
"row justify-sb mt mb20"
v-if=
"
scope.row
.OrderStatus!=3"
>
<div
class=
"row pt20"
style=
"margin-right: 10px;width: 300px;"
<div
class=
"row pt20"
style=
"margin-right: 10px;width: 300px;"
v-if=
"
item.GuestFileList.length > 0||((item.CustomerPayType==1 || item
.CustomerPayType==3)&&pagesTitle)"
>
v-if=
"
scope.row.GuestFileList.length > 0||((scope.row.CustomerPayType==1 || scope.row
.CustomerPayType==3)&&pagesTitle)"
>
<!-- <i class="el-icon-warning cF57A98 fz15 mr"></i> -->
<!-- <i class="el-icon-warning cF57A98 fz15 mr"></i> -->
<div
class=
"column"
>
<div
class=
"column"
>
<!-- <div class="wrap fz12 c9e" v-if="x.CustomerPayType == 2 || x.CustomerPayType == 3">
<!-- <div class="wrap fz12 c9e" v-if="x.CustomerPayType == 2 || x.CustomerPayType == 3">
...
@@ -558,19 +585,19 @@
...
@@ -558,19 +585,19 @@
<span class="cF1416C">{{item.FinalPaymentDate}}</span>
<span class="cF1416C">{{item.FinalPaymentDate}}</span>
日前支付尾款
日前支付尾款
</div> -->
</div> -->
<
template
v-if=
"
item
.GuestFileList.length > 0"
>
<
template
v-if=
"
scope.row
.GuestFileList.length > 0"
>
<div
class=
"wrap fz12 c9e"
>
<div
class=
"wrap fz12 c9e"
>
旅客名单
旅客名单
</div>
</div>
<div
class=
"row fz12 see-rec mt"
>
<div
class=
"row fz12 see-rec mt"
>
<div
class=
"text-accent q-mr-md c"
>
<div
class=
"text-accent q-mr-md c"
>
{{
item
.
GuestFileList
[
0
].
split
(
"/"
).
at
(
-
1
)
}}
{{
scope
.
row
.
GuestFileList
[
0
].
split
(
"/"
).
at
(
-
1
)
}}
</div>
</div>
<div
class=
"cursor-pointer ml mr rec cf"
>
<div
class=
"cursor-pointer ml mr rec cf"
>
<a
<a
class=
"cf"
class=
"cf"
style=
"text-decoration:none"
style=
"text-decoration:none"
:href=
"
item
.GuestFileList[0]"
:href=
"
scope.row
.GuestFileList[0]"
>
下载
</a
>
下载
</a
>
>
</div>
</div>
...
@@ -578,10 +605,10 @@
...
@@ -578,10 +605,10 @@
<div
class=
"cursor-pointer ml rec cf"
>
提交付费凭证
</div>
-->
<div
class=
"cursor-pointer ml rec cf"
>
提交付费凭证
</div>
-->
</div>
</div>
</
template
>
</
template
>
<
template
v-if=
"(
item.CustomerPayType==1 || item
.CustomerPayType==3)&&pagesTitle"
>
<
template
v-if=
"(
scope.row.CustomerPayType==1 || scope.row
.CustomerPayType==3)&&pagesTitle"
>
<div
class=
"fz12 mt c9e"
>
<div
class=
"fz12 mt c9e"
>
到店自付酒店,需要您于
到店自付酒店,需要您于
<span
class=
"cff9800"
>
{{
item
.
UploadGuestDate
}}
</span>
<span
class=
"cff9800"
>
{{
scope
.
row
.
UploadGuestDate
}}
</span>
</div>
</div>
<div
class=
"row fz12 see-rec mt"
>
<div
class=
"row fz12 see-rec mt"
>
<el-upload
ref=
"my-upload"
:http-request=
"uploadFileBtn"
v-loading=
"loading"
<el-upload
ref=
"my-upload"
:http-request=
"uploadFileBtn"
v-loading=
"loading"
...
@@ -589,7 +616,7 @@
...
@@ -589,7 +616,7 @@
:show-file-list=
"false"
action=
""
>
:show-file-list=
"false"
action=
""
>
<div
:class=
"
{'cursor-pointer seeLK c059FF6':!loading,
<div
:class=
"
{'cursor-pointer seeLK c059FF6':!loading,
'cursor-pointer see c04C8C8':loading}"
'cursor-pointer see c04C8C8':loading}"
@click="uploadOrderId=
item
.OrderId">上车旅客名单
</div>
@click="uploadOrderId=
scope.row
.OrderId">上车旅客名单
</div>
</el-upload>
</el-upload>
</div>
</div>
</
template
>
</
template
>
...
@@ -602,16 +629,16 @@
...
@@ -602,16 +629,16 @@
class=
"cursor-pointer radius5 mr px5"
class=
"cursor-pointer radius5 mr px5"
:class=
"{'bgD9F3FF':x.Status==1,'bgFAEAED':x.Status==2,'bjFFF3E0':x.Status==3,
:class=
"{'bgD9F3FF':x.Status==1,'bgFAEAED':x.Status==2,'bjFFF3E0':x.Status==3,
'c3FC4FF':x.Status==1,'cF1416C':x.Status==2,'cff9800':x.Status==3}"
'c3FC4FF':x.Status==1,'cF1416C':x.Status==2,'cff9800':x.Status==3}"
v-for=
"(x, i) in
item
.IncomeList"
v-for=
"(x, i) in
scope.row
.IncomeList"
@
click=
"openDetails(x)"
@
click=
"openDetails(x)"
>
{{ x.FrID }}
</span
>
{{ x.FrID }}
</span
>
>
<span
v-if=
"
item
.IncomeList.length == 0"
class=
"c9e fz12"
>
<span
v-if=
"
scope.row
.IncomeList.length == 0"
class=
"c9e fz12"
>
暂无收款单据
暂无收款单据
</span>
</span>
</div>
</div>
<el-tooltip
<el-tooltip
v-if=
"
item
.OrderStatus == 2"
v-if=
"
scope.row
.OrderStatus == 2"
class=
"item"
class=
"item"
effect=
"dark"
effect=
"dark"
content=
"制单"
content=
"制单"
...
@@ -619,7 +646,7 @@
...
@@ -619,7 +646,7 @@
>
>
<i
<i
class=
"absolute right20 bottom20 el-icon-circle-plus cursor-pointer c059FF6"
class=
"absolute right20 bottom20 el-icon-circle-plus cursor-pointer c059FF6"
@
click=
"makeAdocument(
item
, index, 1)"
@
click=
"makeAdocument(
scope.row
, index, 1)"
></i>
></i>
</el-tooltip>
</el-tooltip>
</div>
</div>
...
@@ -630,16 +657,16 @@
...
@@ -630,16 +657,16 @@
class=
"cursor-pointer radius5 mr px5"
class=
"cursor-pointer radius5 mr px5"
:class=
"{'bgD9F3FF':x.Status==1,'bgFAEAED':x.Status==2,'bjFFF3E0':x.Status==3,
:class=
"{'bgD9F3FF':x.Status==1,'bgFAEAED':x.Status==2,'bjFFF3E0':x.Status==3,
'c3FC4FF':x.Status==1,'cF1416C':x.Status==2,'cff9800':x.Status==3}"
'c3FC4FF':x.Status==1,'cF1416C':x.Status==2,'cff9800':x.Status==3}"
v-for=
"(x, i) in
item
.RefundList"
v-for=
"(x, i) in
scope.row
.RefundList"
@
click=
"openDetails(x)"
@
click=
"openDetails(x)"
>
{{ x.FrID }}
</span
>
{{ x.FrID }}
</span
>
>
<span
v-if=
"
item
.RefundList.length == 0"
class=
"c9e fz12"
>
<span
v-if=
"
scope.row
.RefundList.length == 0"
class=
"c9e fz12"
>
暂无退款单据
暂无退款单据
</span>
</span>
</div>
</div>
<el-tooltip
<el-tooltip
v-if=
"
item
.OrderStatus == 2"
v-if=
"
scope.row
.OrderStatus == 2"
class=
"item"
class=
"item"
effect=
"dark"
effect=
"dark"
content=
"制单"
content=
"制单"
...
@@ -647,7 +674,7 @@
...
@@ -647,7 +674,7 @@
>
>
<i
<i
class=
"absolute right20 bottom20 el-icon-circle-plus cursor-pointer c059FF6"
class=
"absolute right20 bottom20 el-icon-circle-plus cursor-pointer c059FF6"
@
click=
"makeAdocument(
item
, index, 2)"
@
click=
"makeAdocument(
scope.row
, index, 2)"
></i>
></i>
</el-tooltip>
</el-tooltip>
</div>
</div>
...
@@ -658,23 +685,23 @@
...
@@ -658,23 +685,23 @@
class=
"cursor-pointer radius5 mr px5"
class=
"cursor-pointer radius5 mr px5"
:class=
"{'bgD9F3FF':x.Status==1,'bgFAEAED':x.Status==2,'bjFFF3E0':x.Status==3,
:class=
"{'bgD9F3FF':x.Status==1,'bgFAEAED':x.Status==2,'bjFFF3E0':x.Status==3,
'c3FC4FF':x.Status==1,'cF1416C':x.Status==2,'cff9800':x.Status==3}"
'c3FC4FF':x.Status==1,'cF1416C':x.Status==2,'cff9800':x.Status==3}"
v-for=
"(x, i) in
item
.CostList"
v-for=
"(x, i) in
scope.row
.CostList"
@
click=
"openDetails(x)"
@
click=
"openDetails(x)"
>
{{ x.FrID }}
</span
>
{{ x.FrID }}
</span
>
>
<span
v-if=
"
item
.CostList.length == 0"
class=
"c9e fz12"
>
<span
v-if=
"
scope.row
.CostList.length == 0"
class=
"c9e fz12"
>
暂无成本单据
暂无成本单据
</span>
</span>
</div>
</div>
<div
class=
"item absolute right20 bottom20"
v-if=
"
item
.OrderStatus == 2 && pagesTitle != '销售'"
>
<div
class=
"item absolute right20 bottom20"
v-if=
"
scope.row
.OrderStatus == 2 && pagesTitle != '销售'"
>
<el-tooltip
class=
""
effect=
"dark"
content=
"制单"
<el-tooltip
class=
""
effect=
"dark"
content=
"制单"
placement=
"top"
>
placement=
"top"
>
<i
class=
"el-icon-circle-plus cursor-pointer c059FF6"
<i
class=
"el-icon-circle-plus cursor-pointer c059FF6"
@
click=
"makeAdocument(
item
, index, 3)"
></i>
@
click=
"makeAdocument(
scope.row
, index, 3)"
></i>
</el-tooltip>
</el-tooltip>
<el-tooltip
v-if=
"
item
.OrderStatus == 2"
class=
""
effect=
"dark"
content=
"冲抵"
placement=
"top"
>
<el-tooltip
v-if=
"
scope.row
.OrderStatus == 2"
class=
""
effect=
"dark"
content=
"冲抵"
placement=
"top"
>
<i
class=
"el-icon-circle-plus cursor-pointer c3FC4FF"
<i
class=
"el-icon-circle-plus cursor-pointer c3FC4FF"
@
click=
"isOffset(
item
, index, 3,null)"
></i>
@
click=
"isOffset(
scope.row
, index, 3,null)"
></i>
</el-tooltip>
</el-tooltip>
</div>
</div>
</div>
</div>
...
@@ -687,11 +714,11 @@
...
@@ -687,11 +714,11 @@
'bjFFF3E0':x.InvoiceApplyState===2||x.InvoiceApplyState===4||x.InvoiceApplyState===5,
'bjFFF3E0':x.InvoiceApplyState===2||x.InvoiceApplyState===4||x.InvoiceApplyState===5,
'c3FC4FF':x.InvoiceApplyState===6,'cF1416C':x.InvoiceApplyState===1||x.InvoiceApplyState===3,
'c3FC4FF':x.InvoiceApplyState===6,'cF1416C':x.InvoiceApplyState===1||x.InvoiceApplyState===3,
'cff9800':x.InvoiceApplyState===2||x.InvoiceApplyState===4||x.InvoiceApplyState===5}"
'cff9800':x.InvoiceApplyState===2||x.InvoiceApplyState===4||x.InvoiceApplyState===5}"
v-for=
"(x, i) in
item
.InvoiceApplyList"
v-for=
"(x, i) in
scope.row
.InvoiceApplyList"
@
click=
"openDetails(x)"
@
click=
"openDetails(x)"
>
{{ x.ID }}
</span
>
{{ x.ID }}
</span
>
>
<span
v-if=
"
item.InvoiceApplyList&&item
.InvoiceApplyList.length == 0"
class=
"c9e fz12"
>
<span
v-if=
"
scope.row.InvoiceApplyList&&scope.row
.InvoiceApplyList.length == 0"
class=
"c9e fz12"
>
暂无发票单据
暂无发票单据
</span>
</span>
</div>
</div>
...
@@ -731,28 +758,28 @@
...
@@ -731,28 +758,28 @@
<div
class=
"row-c justify-sb borderD pb5"
>
<div
class=
"row-c justify-sb borderD pb5"
>
<span
class=
"fz12 c9e"
>
订单总金额
</span>
<span
class=
"fz12 c9e"
>
订单总金额
</span>
<div
class=
"ml"
>
<div
class=
"ml"
>
<span
class=
"fz15 fbold"
>
{{
item
.Money.toFixed(2) }}
</span>
<span
class=
"fz15 fbold"
>
{{
scope.row
.Money.toFixed(2) }}
</span>
<span
class=
"fz12 ml"
>
{{
item
.CurrencyName }}
</span>
<span
class=
"fz12 ml"
>
{{
scope.row
.CurrencyName }}
</span>
</div>
</div>
</div>
</div>
<div
<div
class=
"row-c justify-sb borderD py5"
class=
"row-c justify-sb borderD py5"
v-if=
"(
item.CustomerPayType == 1 || item
.CustomerPayType == 3)&&pagesTitle!='销售'"
v-if=
"(
scope.row.CustomerPayType == 1 || scope.row
.CustomerPayType == 3)&&pagesTitle!='销售'"
>
>
<span
class=
"fz12 c9e"
>
到店自付
</span>
<span
class=
"fz12 c9e"
>
到店自付
</span>
<div
class=
"ml"
>
<div
class=
"ml"
>
<span
class=
"fz14"
>
{{
item
.SelfPayMoney.toFixed(2) }}
</span>
<span
class=
"fz14"
>
{{
scope.row
.SelfPayMoney.toFixed(2) }}
</span>
<span
class=
"fz12 ml"
>
{{
item
.CurrencyName }}
</span>
<span
class=
"fz12 ml"
>
{{
scope.row
.CurrencyName }}
</span>
</div>
</div>
</div>
</div>
<div
<div
class=
"row-c justify-sb py5"
class=
"row-c justify-sb py5"
v-if=
"
item.CustomerPayType == 2 || item
.CustomerPayType == 3"
v-if=
"
scope.row.CustomerPayType == 2 || scope.row
.CustomerPayType == 3"
>
>
<span
class=
"fz12 c9e"
>
出发前付款
</span>
<span
class=
"fz12 c9e"
>
出发前付款
</span>
<div
class=
"ml"
>
<div
class=
"ml"
>
<span
class=
"fz14"
>
{{
item
.BeforeMoney.toFixed(2) }}
</span>
<span
class=
"fz14"
>
{{
scope.row
.BeforeMoney.toFixed(2) }}
</span>
<span
class=
"fz12 ml"
>
{{
item
.CurrencyName }}
</span>
<span
class=
"fz12 ml"
>
{{
scope.row
.CurrencyName }}
</span>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -762,66 +789,66 @@
...
@@ -762,66 +789,66 @@
>
>
<div
<div
v-if=
"
v-if=
"
item
.OrderStatus == 1 &&
scope.row
.OrderStatus == 1 &&
item
.IncomeList.length == 0 &&
scope.row
.IncomeList.length == 0 &&
item
.RefundList.length == 0 &&
scope.row
.RefundList.length == 0 &&
item
.CostList.length == 0 &&
scope.row
.CostList.length == 0 &&
item
.HandFittingFinanceList.length == 0
scope.row
.HandFittingFinanceList.length == 0
"
"
class=
"row-c cursor-pointer radius5 cancel py5"
class=
"row-c cursor-pointer radius5 cancel py5"
@
click=
"clickRightButtom(
item
, 0)"
@
click=
"clickRightButtom(
scope.row
, 0)"
>
>
<i
v-loading=
"msg.OrderId==
item
.OrderId&&loading0"
></i>
<i
v-loading=
"msg.OrderId==
scope.row
.OrderId&&loading0"
></i>
<span
class=
"cF1416C"
>
取消订单
</span>
<span
class=
"cF1416C"
>
取消订单
</span>
</div>
</div>
<div
<div
v-if=
"
item
.OrderStatus == 1&&pagesTitle!='销售'"
v-if=
"
scope.row
.OrderStatus == 1&&pagesTitle!='销售'"
class=
"row-c cursor-pointer radius5 confirm py5"
class=
"row-c cursor-pointer radius5 confirm py5"
@
click=
"clickRightButtom(
item
, 1)"
@
click=
"clickRightButtom(
scope.row
, 1)"
>
>
<i
v-loading=
"msg.OrderId==
item
.OrderId&&loading1"
></i>
<i
v-loading=
"msg.OrderId==
scope.row
.OrderId&&loading1"
></i>
<span
class=
"c20C997"
>
确认订单
</span>
<span
class=
"c20C997"
>
确认订单
</span>
</div>
</div>
<div
<div
v-if=
"
item.OrderStatus == 2 || item
.OrderStatus == 4"
v-if=
"
scope.row.OrderStatus == 2 || scope.row
.OrderStatus == 4"
class=
"row-c cursor-pointer radius5 change py5"
class=
"row-c cursor-pointer radius5 change py5"
@
click=
"goRoomDetails(
item
, '订房详情')"
@
click=
"goRoomDetails(
scope.row
, '订房详情')"
>
>
<span
class=
"c059FF6"
>
明细/编辑
</span>
<span
class=
"c059FF6"
>
明细/编辑
</span>
</div>
</div>
<div
<div
v-if=
"
item
.OrderStatus == 1&&pagesTitle=='销售'"
v-if=
"
scope.row
.OrderStatus == 1&&pagesTitle=='销售'"
class=
"row-c cursor-pointer radius5 change py5"
class=
"row-c cursor-pointer radius5 change py5"
@
click=
"goRoomDetails(
item
, '酒店预定变更')"
@
click=
"goRoomDetails(
scope.row
, '酒店预定变更')"
>
>
<span
class=
"c059FF6"
>
订单变更
</span>
<span
class=
"c059FF6"
>
订单变更
</span>
</div>
</div>
<div
<div
v-if=
"
item
.OrderStatus == 2"
v-if=
"
scope.row
.OrderStatus == 2"
class=
"row-c cursor-pointer radius5 change1 py5"
class=
"row-c cursor-pointer radius5 change1 py5"
@
click=
"clickRightButtom(
item
, 2)"
@
click=
"clickRightButtom(
scope.row
, 2)"
>
>
<i
v-loading=
"msg.OrderId==
item
.OrderId&&loading2"
></i>
<i
v-loading=
"msg.OrderId==
scope.row
.OrderId&&loading2"
></i>
<span
class=
"c20C997"
>
收损
</span>
<span
class=
"c20C997"
>
收损
</span>
</div>
</div>
<div
<div
v-if=
"
item.OrderStatus >1 && item
.OrderStatus != 3
v-if=
"
scope.row.OrderStatus >1 && scope.row
.OrderStatus != 3
&&pagesTitle=='OP'&&is_correlationOP"
&&pagesTitle=='OP'&&is_correlationOP"
class=
"row-c cursor-pointer radius5 change py5"
class=
"row-c cursor-pointer radius5 change py5"
@
click=
"clickCorrelation(
item
, 1)"
@
click=
"clickCorrelation(
scope.row
, 1)"
>
>
<span
class=
"c059FF6"
>
编辑关联OP
</span>
<span
class=
"c059FF6"
>
编辑关联OP
</span>
</div>
</div>
<div
<div
v-if=
"
item
.OrderStatus != 3
v-if=
"
scope.row
.OrderStatus != 3
&&pagesTitle=='OP'"
&&pagesTitle=='OP'"
class=
"row-c cursor-pointer radius5 change py5"
class=
"row-c cursor-pointer radius5 change py5"
@
click=
"clickCorrelation(
item
,2)"
@
click=
"clickCorrelation(
scope.row
,2)"
>
>
<span
class=
"c059FF6"
>
编辑总金额
</span>
<span
class=
"c059FF6"
>
编辑总金额
</span>
</div>
</div>
<!-- 申请发票 -->
<!-- 申请发票 -->
<ApplyFoInvoice
v-if=
"userInfo.EmployeeId==
item.EnterID"
:obj=
"item
"
:type=
"6"
></ApplyFoInvoice>
<ApplyFoInvoice
v-if=
"userInfo.EmployeeId==
scope.row.EnterID"
:obj=
"scope.row
"
:type=
"6"
></ApplyFoInvoice>
</div>
</div>
<!-- <div v-if="item.OrderStatus==2" class="column-jac px15 bgE8F5E9 radius5 ml fz12 pa20 flex-s c20C997">
<!-- <div v-if="item.OrderStatus==2" class="column-jac px15 bgE8F5E9 radius5 ml fz12 pa20 flex-s c20C997">
<div class="mb5">已支付</div>
<div class="mb5">已支付</div>
...
@@ -836,15 +863,16 @@
...
@@ -836,15 +863,16 @@
</div>
</div>
</div> -->
</div> -->
</div>
</div>
<div
class=
"mt mb20 bgf5 pa15 row-c"
v-if=
"
item
.CancelRemark"
>
<div
class=
"mt mb20 bgf5 pa15 row-c"
v-if=
"
scope.row
.CancelRemark"
>
<div
style=
"font-size:16px;font-weight:bold;font-family: pingfangR;"
>
取消理由:
</div>
<div
style=
"font-size:16px;font-weight:bold;font-family: pingfangR;"
>
取消理由:
</div>
<div
style=
"margin-left:12px;font-size:12px;color: grey; font-family: microsoft yahei;"
>
{{
item
.CancelRemark}}
</div>
<div
style=
"margin-left:12px;font-size:12px;color: grey; font-family: microsoft yahei;"
>
{{
scope.row
.CancelRemark}}
</div>
<div
style=
"margin-left:12px;font-size:12px;font-family: microsoft yahei;"
>
<div
style=
"margin-left:12px;font-size:12px;font-family: microsoft yahei;"
>
{{
item.CancelEmpName}} {{item
.CancelTime}}
{{
scope.row.CancelEmpName}} {{scope.row
.CancelTime}}
</div>
</div>
</div>
</div>
</div>
</template>
</el-table-column>
</el-table>
<el-dialog
<el-dialog
custom-class=
"w400"
custom-class=
"w400"
title=
"修改收损金额"
title=
"修改收损金额"
...
@@ -958,6 +986,8 @@ export default {
...
@@ -958,6 +986,8 @@ export default {
isShowRemark
:
false
,
isShowRemark
:
false
,
queryObj
:
null
,
queryObj
:
null
,
cdState
:
false
,
cdState
:
false
,
CompletedLoading
:
false
,
multipleSelection
:
[],
copyId
:
0
,
copyId
:
0
,
loading0
:
false
,
loading0
:
false
,
loading1
:
false
,
loading1
:
false
,
...
@@ -1054,6 +1084,74 @@ export default {
...
@@ -1054,6 +1084,74 @@ export default {
}
}
})
})
},
},
selectable
(
row
,
index
)
{
if
(((
this
.
OrderList
[
index
].
IsFinish
!=
1
&&
this
.
OrderList
[
index
].
Income
>
0
&&
this
.
OrderList
[
index
]
.
DueInMoney
==
0
)
||
(
this
.
OrderList
[
index
].
Money
==
0
&&
this
.
OrderList
[
index
].
Income
==
0
&&
this
.
OrderList
[
index
].
CostMoney
==
0
&&
this
.
OrderList
[
index
].
Refund
==
0
&&
this
.
OrderList
[
index
].
PlatformTax
==
0
&&
this
.
OrderList
[
index
].
IncomeList
&&
this
.
OrderList
[
index
].
IncomeList
.
length
>
0
)))
{
return
true
;
}
else
{
return
false
;
}
},
handleSelectionChange
(
val
)
{
this
.
multipleSelection
=
val
.
map
(
x
=>
{
return
x
.
OrderId
});
},
setCompleted
(
id
,
row
)
{
let
ids
=
''
if
(
id
>
0
)
{
ids
=
id
}
else
{
if
(
this
.
multipleSelection
.
length
==
0
)
return
this
.
$message
.
error
(
'请勾选需要完结的数据'
)
ids
=
this
.
multipleSelection
.
join
(
','
)
}
if
(
ids
==
''
)
{
this
.
$message
.
error
(
'请勾选需要完结的数据'
)
}
this
.
$confirm
(
'是否确认完结?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
if
(
id
>
0
)
{
row
.
loading
=
true
}
else
{
this
.
CompletedLoading
=
true
}
this
.
apipost
(
'dict_post_SetHotelOrderFinish'
,
{
HotelOrderIds
:
ids
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
id
>
0
)
{
row
.
loading
=
false
}
else
{
this
.
CompletedLoading
=
false
}
for
(
let
i
=
0
;
i
<
this
.
OrderList
.
length
;
i
++
)
{
this
.
$refs
.
multipleTable
.
toggleRowSelection
(
this
.
OrderList
[
i
],
false
);
}
this
.
multipleSelection
=
[]
this
.
$message
.
success
(
'操作成功!'
);
this
.
$emit
(
'success'
)
}
else
{
if
(
id
>
0
)
{
row
.
loading
=
false
}
else
{
this
.
CompletedLoading
=
false
}
this
.
$message
.
error
(
res
.
data
.
message
);
}
},
err
=>
{})
}).
catch
(()
=>
{
this
.
$message
.
info
(
'已取消!'
);
});
},
ViewMore
(
x
,
index
){
ViewMore
(
x
,
index
){
x
.
upIcon
=
!
x
.
upIcon
x
.
upIcon
=
!
x
.
upIcon
if
(
x
.
upIcon
){
if
(
x
.
upIcon
){
...
...
src/components/SingleAirTicket/components/OrderList.vue
View file @
9f32d332
...
@@ -668,6 +668,11 @@
...
@@ -668,6 +668,11 @@
{{
scope
.
row
.
IncomeMoney
}}
{{
scope
.
row
.
IncomeMoney
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"在途金额"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
PlatformMoney
}}
</
template
>
</el-table-column>
<el-table-column
label=
"退款"
>
<el-table-column
label=
"退款"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
BackMoney
}}
{{
scope
.
row
.
BackMoney
}}
...
...
src/components/busManagement/BookAcar/components/orderList.vue
View file @
9f32d332
...
@@ -384,35 +384,50 @@
...
@@ -384,35 +384,50 @@
border-bottom
:
1px
solid
#ebeef5
;
border-bottom
:
1px
solid
#ebeef5
;
}
}
</
style
>
</
style
>
<
template
>
<
template
>
<div>
<div>
<div
<div
style=
"text-align: right;position: fixed;top: 62px; right: 89px;"
>
v-for=
"(item, index) in OrderList"
<el-button
class=
"hollowFixedBtn"
v-if=
"pagesTitle=='OP'"
@
click=
"setCompleted"
class=
"column bgf radius5 px15 mb20"
:loading=
"CompletedLoading"
>
一键完结
</el-button>
>
</div>
<el-table
ref=
"multipleTable"
:data=
"OrderList"
tooltip-effect=
"dark"
style=
"width: 100%"
row-key=
"OrderId"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
:selectable=
"selectable"
:reserve-selection=
"true"
v-if=
"pagesTitle=='OP'"
>
</el-table-column>
<el-table-column
:label=
"pagesTitle=='OP'?'全选':''"
>
<template
slot-scope=
"scope"
>
<div
class=
"row-c justify-sb align-c py"
>
<div
class=
"row-c justify-sb align-c py"
>
<div
class=
"row-c"
>
<div
class=
"row-c"
>
<div>
<div>
<div
<div
class=
"orderType cf fz12"
class=
"orderType cf fz12"
:class=
"
{
:class=
"
{
active:
item
.OrderType == 1,
active:
scope.row
.OrderType == 1,
activeB:
item
.OrderType == 3,
activeB:
scope.row
.OrderType == 3,
}"
}"
>
>
<template
v-if=
"
item
.OrderType == 1"
>
接机
</
template
>
<template
v-if=
"
scope.row
.OrderType == 1"
>
接机
</
template
>
<
template
v-if=
"
item
.OrderType == 2"
>
送机
</
template
>
<
template
v-if=
"
scope.row
.OrderType == 2"
>
送机
</
template
>
<
template
v-if=
"
item
.OrderType == 3"
>
包车
</
template
>
<
template
v-if=
"
scope.row
.OrderType == 3"
>
包车
</
template
>
</div>
</div>
</div>
</div>
<div
class=
"cblack fz14 mr"
:class=
"{ cF1416C: scope.row.IsFinish == 0,c20C997: scope.row.IsFinish == 1 }"
>
<
template
v-if=
"scope.row.IsFinish == 1"
>
已完结
<template
v-if=
"scope.row.FinishTime"
>
/
{{
scope
.
row
.
FinishTime
}}
</
template
>
</template>
<
template
v-else
>
未完结
</
template
>
</div>
<div
class=
"c9e fz12"
>
<div
class=
"c9e fz12"
>
<span>
订单编号:
</span>
<span>
订单编号:
</span>
<span>
{{
item.OrderNo }}({{ item
.OrderId }})
</span>
<span>
{{
scope.row.OrderNo }}({{ scope.row
.OrderId }})
</span>
<span
<span
class=
"copy cblack cursor-pointer"
class=
"copy cblack cursor-pointer"
v-if=
"copyId !=
item
.OrderId"
v-if=
"copyId !=
scope.row
.OrderId"
@
click=
"CopyHandler(
item
)"
@
click=
"CopyHandler(
scope.row
)"
>
复制
</span
>
复制
</span
>
>
<span
class=
"copy c059FF6 bgD9F3FF cursor-pointer"
v-else
<span
class=
"copy c059FF6 bgD9F3FF cursor-pointer"
v-else
...
@@ -422,61 +437,61 @@
...
@@ -422,61 +437,61 @@
</div>
</div>
<div
class=
"c9e fz12"
>
<div
class=
"c9e fz12"
>
<span
<span
>
客人信息:{{
item.SurName }}{{ item.Name }}/{{ item
.Mobile }}
</span
>
客人信息:{{
scope.row.SurName }}{{ scope.row.Name }}/{{ scope.row
.Mobile }}
</span
>
>
<span
v-if=
"pagesTitle != '销售'"
>
<span
v-if=
"pagesTitle != '销售'"
>
<
template
v-if=
"
item.SurName || item
.Name"
>
/
</
template
<
template
v-if=
"
scope.row.SurName || scope.row
.Name"
>
/
</
template
>
来源
<
template
v-if=
"!
item.OrderSource && !item
.CustomerId"
>
来源
<
template
v-if=
"!
scope.row.OrderSource && !scope.row
.CustomerId"
>
销售
</
template
>
销售
</
template
>
>
<
template
v-if=
"!
item.OrderSource && item
.CustomerId > 0"
<
template
v-if=
"!
scope.row.OrderSource && scope.row
.CustomerId > 0"
>
B2B
</
template
>
B2B
</
template
>
>
<
template
v-if=
"
item
.OrderSource == 1"
>
B2C
</
template
>
<
template
v-if=
"
scope.row
.OrderSource == 1"
>
B2C
</
template
>
</span>
</span>
</div>
</div>
<div
class=
"row c9e fz12"
>
<div
class=
"row c9e fz12"
>
<span
class=
"mr"
v-if=
"
item
.LureEmpName"
<span
class=
"mr"
v-if=
"
scope.row
.LureEmpName"
>
引流人:{{
item
.LureEmpName }}
</span
>
引流人:{{
scope.row
.LureEmpName }}
</span
>
>
<span
class=
"mr"
>
销售:{{
item
.SaleName }}
</span>
<span
class=
"mr"
>
销售:{{
scope.row
.SaleName }}
</span>
<span
class=
"mr"
v-if=
"
item
.OpName && pagesTitle == 'OP'"
<span
class=
"mr"
v-if=
"
scope.row
.OpName && pagesTitle == 'OP'"
>
关联OP:{{
item
.OpName }}
</span
>
关联OP:{{
scope.row
.OpName }}
</span
>
>
<span
class=
"mr"
v-if=
"
item
.CustomerName"
>
创建人:
</span>
<span
class=
"mr"
v-if=
"
scope.row
.CustomerName"
>
创建人:
</span>
<span
class=
"mr"
v-if=
"
item
.CustomerName"
<span
class=
"mr"
v-if=
"
scope.row
.CustomerName"
>
{{
item.CustomerName }} ({{ item
.CustomerContact }}/{{
>
{{
scope.row.CustomerName }} ({{ scope.row
.CustomerContact }}/{{
item
.CustomerTel
scope.row
.CustomerTel
}})
</span
}})
</span
>
>
<span>
下单时间:
</span>
<span>
下单时间:
</span>
<span
class=
"mr"
>
{{
item
.CreateTime }}
</span>
<span
class=
"mr"
>
{{
scope.row
.CreateTime }}
</span>
<div
class=
""
>
<div
class=
""
>
<i
<i
class=
"mx5"
class=
"mx5"
:class=
"{
:class=
"{
'el-icon-alarm-clock c20C997':
item
.OrderStatus == 1,
'el-icon-alarm-clock c20C997':
scope.row
.OrderStatus == 1,
'el-icon-check cblack':
item
.OrderStatus == 2,
'el-icon-check cblack':
scope.row
.OrderStatus == 2,
'el-icon-warning cff9800':
item
.OrderStatus == 3,
'el-icon-warning cff9800':
scope.row
.OrderStatus == 3,
'el-icon-refresh cF1416C':
item
.OrderStatus == 4,
'el-icon-refresh cF1416C':
scope.row
.OrderStatus == 4,
}"
}"
></i>
></i>
<span
<span
class=
"fz12 cblack"
class=
"fz12 cblack"
:class=
"{
:class=
"{
c20C997:
item
.OrderStatus == 1,
c20C997:
scope.row
.OrderStatus == 1,
cblack:
item
.OrderStatus == 2,
cblack:
scope.row
.OrderStatus == 2,
cff9800:
item
.OrderStatus == 3,
cff9800:
scope.row
.OrderStatus == 3,
cF1416C:
item
.OrderStatus == 4,
cF1416C:
scope.row
.OrderStatus == 4,
}"
}"
>
>
{{
item
.OrderStatusName }}
{{
scope.row
.OrderStatusName }}
</span>
</span>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"mb"
>
<div
class=
"mb"
>
<el-table
:data=
"[
item
]"
style=
"width: 100%"
border
>
<el-table
:data=
"[
scope.row
]"
style=
"width: 100%"
border
>
<el-table-column
<el-table-column
label=
"产品名称(出发日期)"
label=
"产品名称(出发日期)"
min-width=
"100"
min-width=
"100"
...
@@ -490,7 +505,7 @@
...
@@ -490,7 +505,7 @@
</template>
</template>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
v-if=
"
item
.OrderType != 3"
v-if=
"
scope.row
.OrderType != 3"
label=
"航班信息"
label=
"航班信息"
style=
"background: #eaeaea"
style=
"background: #eaeaea"
>
>
...
@@ -519,7 +534,7 @@
...
@@ -519,7 +534,7 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
v-if=
"
item
.OrderType != 3"
v-if=
"
scope.row
.OrderType != 3"
label=
"行李"
label=
"行李"
style=
"background: #eaeaea"
style=
"background: #eaeaea"
>
>
...
@@ -562,59 +577,59 @@
...
@@ -562,59 +577,59 @@
<
template
<
template
slot=
"append"
slot=
"append"
v-if=
"
v-if=
"
item
.Remark ||
scope.row
.Remark ||
item
.OPRemark ||
scope.row
.OPRemark ||
item
.isMore ||
scope.row
.isMore ||
(
item.OrderStatus > 1 && item
.OrderStatus != 3)
(
scope.row.OrderStatus > 1 && scope.row
.OrderStatus != 3)
"
"
>
>
<div
<div
v-if=
"
v-if=
"
(
item.OrderStatus > 1 && item.OrderStatus != 3) || item
.Remark
(
scope.row.OrderStatus > 1 && scope.row.OrderStatus != 3) || scope.row
.Remark
"
"
style=
"padding: 10px; color: #f1416c"
style=
"padding: 10px; color: #f1416c"
>
>
客户备注:
{{
item
.
Remark
}}
客户备注:
{{
scope
.
row
.
Remark
}}
<i
<i
v-if=
"
v-if=
"
pagesTitle == '销售' &&
pagesTitle == '销售' &&
item
.OrderStatus > 1 &&
scope.row
.OrderStatus > 1 &&
item
.OrderStatus != 3
scope.row
.OrderStatus != 3
"
"
class=
"el-icon-edit cursor-pointer c059FF6 mx"
class=
"el-icon-edit cursor-pointer c059FF6 mx"
@
click=
"editRemark(
item
)"
@
click=
"editRemark(
scope.row
)"
></i>
></i>
</div>
</div>
<div
<div
v-if=
"
v-if=
"
(
item.OrderStatus > 1 && item.OrderStatus != 3) || item
.OPRemark
(
scope.row.OrderStatus > 1 && scope.row.OrderStatus != 3) || scope.row
.OPRemark
"
"
style=
"padding: 10px; color: #f1416c"
style=
"padding: 10px; color: #f1416c"
:style=
"
{
:style=
"
{
padding:
padding:
item
.Remark
scope.row
.Remark
? '0 10px 10px 10px':'10px',
? '0 10px 10px 10px':'10px',
}"
}"
>
>
OP备注:
{{
item
.
OPRemark
}}
OP备注:
{{
scope
.
row
.
OPRemark
}}
<i
<i
v-if=
"
v-if=
"
pagesTitle == 'OP' &&
pagesTitle == 'OP' &&
item
.OrderStatus > 1 &&
scope.row
.OrderStatus > 1 &&
item
.OrderStatus != 3
scope.row
.OrderStatus != 3
"
"
class=
"el-icon-edit cursor-pointer c059FF6 mx"
class=
"el-icon-edit cursor-pointer c059FF6 mx"
@
click=
"editRemark(
item
)"
@
click=
"editRemark(
scope.row
)"
></i>
></i>
</div>
</div>
</
template
>
</
template
>
</el-table>
</el-table>
</div>
</div>
<el-table
<el-table
:data=
"[
item
]"
:data=
"[
scope.row
]"
style=
"width: 100%"
style=
"width: 100%"
border
border
v-if=
"
item
.OrderStatus != 3"
v-if=
"
scope.row
.OrderStatus != 3"
>
>
<el-table-column
label=
"实收"
min-width=
"100"
>
<el-table-column
label=
"实收"
min-width=
"100"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
...
@@ -623,6 +638,13 @@
...
@@ -623,6 +638,13 @@
}}
</span>
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"在途金额"
min-width=
"100"
>
<
template
slot-scope=
"scope"
>
<span
class=
"fz15 fbold"
>
{{
scope
.
row
.
PlatformMoney
?
scope
.
row
.
PlatformMoney
:
"-"
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"成本"
min-width=
"100"
>
<el-table-column
label=
"成本"
min-width=
"100"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
class=
"fz15 fbold"
>
{{
<span
class=
"fz15 fbold"
>
{{
...
@@ -663,16 +685,16 @@
...
@@ -663,16 +685,16 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
v-if=
"(
item.SellCommission&&item.SellCommission>0)||(item.OPCommission&&item
.OPCommission>0)"
v-if=
"(
scope.row.SellCommission&&scope.row.SellCommission>0)||(scope.row.OPCommission&&scope.row
.OPCommission>0)"
label=
"提成"
label=
"提成"
style=
"background: #eaeaea"
style=
"background: #eaeaea"
>
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
class=
"width100-float-l"
v-if=
"
item.SellCommission&&item
.SellCommission>0"
><span
class=
"float-l"
>
销售:
</span>
<div
class=
"width100-float-l"
v-if=
"
scope.row.SellCommission&&scope.row
.SellCommission>0"
><span
class=
"float-l"
>
销售:
</span>
<commissionDialog
:objNew=
"
item
"
:OP=
"0"
></commissionDialog>
<commissionDialog
:objNew=
"
scope.row
"
:OP=
"0"
></commissionDialog>
</div>
</div>
<div
class=
"width100-float-l"
v-if=
"
item.OPCommission&&item
.OPCommission>0"
><span
class=
"float-l"
>
OP:
</span>
<div
class=
"width100-float-l"
v-if=
"
scope.row.OPCommission&&scope.row
.OPCommission>0"
><span
class=
"float-l"
>
OP:
</span>
<commissionDialog
:objNew=
"
item
"
:OP=
"1"
></commissionDialog>
<commissionDialog
:objNew=
"
scope.row
"
:OP=
"1"
></commissionDialog>
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -691,16 +713,16 @@
...
@@ -691,16 +713,16 @@
cF1416C: x.Status == 2,
cF1416C: x.Status == 2,
cff9800: x.Status == 3,
cff9800: x.Status == 3,
}"
}"
v-for=
"(x, i) in
item
.IncomeList"
v-for=
"(x, i) in
scope.row
.IncomeList"
@
click=
"openDetails(x)"
@
click=
"openDetails(x)"
>
{{ x.FrID }}
</span
>
{{ x.FrID }}
</span
>
>
<span
v-if=
"
item
.IncomeList.length == 0"
class=
"c9e fz12"
>
<span
v-if=
"
scope.row
.IncomeList.length == 0"
class=
"c9e fz12"
>
暂无收款单据
暂无收款单据
</span>
</span>
</div>
</div>
<el-tooltip
<el-tooltip
v-if=
"
item
.OrderStatus == 2"
v-if=
"
scope.row
.OrderStatus == 2"
class=
"item"
class=
"item"
effect=
"dark"
effect=
"dark"
content=
"制单"
content=
"制单"
...
@@ -708,7 +730,7 @@
...
@@ -708,7 +730,7 @@
>
>
<i
<i
class=
"absolute right20 bottom20 el-icon-circle-plus cursor-pointer c059FF6"
class=
"absolute right20 bottom20 el-icon-circle-plus cursor-pointer c059FF6"
@
click=
"makeAdocument(
item
, index, 1)"
@
click=
"makeAdocument(
scope.row
, index, 1)"
></i>
></i>
</el-tooltip>
</el-tooltip>
</div>
</div>
...
@@ -725,16 +747,16 @@
...
@@ -725,16 +747,16 @@
cF1416C: x.Status == 2,
cF1416C: x.Status == 2,
cff9800: x.Status == 3,
cff9800: x.Status == 3,
}"
}"
v-for=
"(x, i) in
item
.RefundList"
v-for=
"(x, i) in
scope.row
.RefundList"
@
click=
"openDetails(x)"
@
click=
"openDetails(x)"
>
{{ x.FrID }}
</span
>
{{ x.FrID }}
</span
>
>
<span
v-if=
"
item
.RefundList.length == 0"
class=
"c9e fz12"
>
<span
v-if=
"
scope.row
.RefundList.length == 0"
class=
"c9e fz12"
>
暂无退款单据
暂无退款单据
</span>
</span>
</div>
</div>
<el-tooltip
<el-tooltip
v-if=
"
item
.OrderStatus == 2"
v-if=
"
scope.row
.OrderStatus == 2"
class=
"item"
class=
"item"
effect=
"dark"
effect=
"dark"
content=
"制单"
content=
"制单"
...
@@ -742,7 +764,7 @@
...
@@ -742,7 +764,7 @@
>
>
<i
<i
class=
"absolute right20 bottom20 el-icon-circle-plus cursor-pointer c059FF6"
class=
"absolute right20 bottom20 el-icon-circle-plus cursor-pointer c059FF6"
@
click=
"makeAdocument(
item
, index, 2)"
@
click=
"makeAdocument(
scope.row
, index, 2)"
></i>
></i>
</el-tooltip>
</el-tooltip>
</div>
</div>
...
@@ -759,28 +781,28 @@
...
@@ -759,28 +781,28 @@
cF1416C: x.Status == 2,
cF1416C: x.Status == 2,
cff9800: x.Status == 3,
cff9800: x.Status == 3,
}"
}"
v-for=
"(x, i) in
item
.CostList"
v-for=
"(x, i) in
scope.row
.CostList"
@
click=
"openDetails(x)"
@
click=
"openDetails(x)"
>
{{ x.FrID }}
</span
>
{{ x.FrID }}
</span
>
>
<span
v-if=
"
item
.CostList.length == 0"
class=
"c9e fz12"
>
<span
v-if=
"
scope.row
.CostList.length == 0"
class=
"c9e fz12"
>
暂无成本单据
暂无成本单据
</span>
</span>
</div>
</div>
<div
<div
class=
"item absolute right20 bottom20"
class=
"item absolute right20 bottom20"
v-if=
"
item
.OrderStatus == 2 && pagesTitle != '销售'"
v-if=
"
scope.row
.OrderStatus == 2 && pagesTitle != '销售'"
>
>
<el-tooltip
class=
""
effect=
"dark"
content=
"制单"
placement=
"top"
>
<el-tooltip
class=
""
effect=
"dark"
content=
"制单"
placement=
"top"
>
<i
<i
class=
"el-icon-circle-plus cursor-pointer c059FF6"
class=
"el-icon-circle-plus cursor-pointer c059FF6"
@
click=
"makeAdocument(
item
, index, 3)"
@
click=
"makeAdocument(
scope.row
, index, 3)"
></i>
></i>
</el-tooltip>
</el-tooltip>
<el-tooltip
class=
""
effect=
"dark"
content=
"冲抵"
placement=
"top"
>
<el-tooltip
class=
""
effect=
"dark"
content=
"冲抵"
placement=
"top"
>
<i
<i
class=
"el-icon-circle-plus cursor-pointer c3FC4FF"
class=
"el-icon-circle-plus cursor-pointer c3FC4FF"
@
click=
"isOffset(
item
, index, 3)"
@
click=
"isOffset(
scope.row
, index, 3)"
></i>
></i>
</el-tooltip>
</el-tooltip>
</div>
</div>
...
@@ -794,11 +816,11 @@
...
@@ -794,11 +816,11 @@
'bjFFF3E0':x.InvoiceApplyState===2||x.InvoiceApplyState===4||x.InvoiceApplyState===5,
'bjFFF3E0':x.InvoiceApplyState===2||x.InvoiceApplyState===4||x.InvoiceApplyState===5,
'c3FC4FF':x.InvoiceApplyState===6,'cF1416C':x.InvoiceApplyState===1||x.InvoiceApplyState===3,
'c3FC4FF':x.InvoiceApplyState===6,'cF1416C':x.InvoiceApplyState===1||x.InvoiceApplyState===3,
'cff9800':x.InvoiceApplyState===2||x.InvoiceApplyState===4||x.InvoiceApplyState===5}"
'cff9800':x.InvoiceApplyState===2||x.InvoiceApplyState===4||x.InvoiceApplyState===5}"
v-for=
"(x, i) in
item
.InvoiceApplyList"
v-for=
"(x, i) in
scope.row
.InvoiceApplyList"
@
click=
"openDetails(x)"
@
click=
"openDetails(x)"
>
{{ x.ID }}
</span
>
{{ x.ID }}
</span
>
>
<span
v-if=
"
item.InvoiceApplyList&&item
.InvoiceApplyList.length == 0"
class=
"c9e fz12"
>
<span
v-if=
"
scope.row.InvoiceApplyList&&scope.row
.InvoiceApplyList.length == 0"
class=
"c9e fz12"
>
暂无发票单据
暂无发票单据
</span>
</span>
</div>
</div>
...
@@ -809,21 +831,21 @@
...
@@ -809,21 +831,21 @@
>
>
<div
<div
class=
"row-c justify-sb pb5"
class=
"row-c justify-sb pb5"
:class=
"{ borderD:
item
.DiscountsMoney > 0 }"
:class=
"{ borderD:
scope.row
.DiscountsMoney > 0 }"
>
>
<span
class=
"fz12 c9e"
>
订单总金额
</span>
<span
class=
"fz12 c9e"
>
订单总金额
</span>
<div
class=
"ml"
>
<div
class=
"ml"
>
<span
class=
"fz15 fbold"
>
{{
item
.Money.toFixed(2) }}
</span>
<span
class=
"fz15 fbold"
>
{{
scope.row
.Money.toFixed(2) }}
</span>
<span
class=
"fz12 ml"
>
<span
class=
"fz12 ml"
>
{{
item
.CurrencyName }}
{{
scope.row
.CurrencyName }}
</span>
</span>
</div>
</div>
</div>
</div>
<div
class=
"row-c justify-sb py5"
v-if=
"
item
.DiscountsMoney > 0"
>
<div
class=
"row-c justify-sb py5"
v-if=
"
scope.row
.DiscountsMoney > 0"
>
<span
class=
"fz12 c9e"
>
优惠金额
</span>
<span
class=
"fz12 c9e"
>
优惠金额
</span>
<div
class=
"ml"
>
<div
class=
"ml"
>
<span
class=
"fz14"
>
{{
item
.DiscountsMoney.toFixed(2) }}
</span>
<span
class=
"fz14"
>
{{
scope.row
.DiscountsMoney.toFixed(2) }}
</span>
<span
class=
"fz12"
>
{{
item
.CurrencyName }}
</span>
<span
class=
"fz12"
>
{{
scope.row
.CurrencyName }}
</span>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -837,69 +859,69 @@
...
@@ -837,69 +859,69 @@
>
>
<div
<div
v-if=
"
v-if=
"
item
.OrderStatus == 1 &&
scope.row
.OrderStatus == 1 &&
item
.IncomeList.length == 0 &&
scope.row
.IncomeList.length == 0 &&
item
.RefundList.length == 0 &&
scope.row
.RefundList.length == 0 &&
item
.CostList.length == 0 &&
scope.row
.CostList.length == 0 &&
item
.OrderSource != 1
scope.row
.OrderSource != 1
"
"
class=
"row-c cursor-pointer radius5 cancel py5"
class=
"row-c cursor-pointer radius5 cancel py5"
@
click=
"clickRightButtom(
item
, 0)"
@
click=
"clickRightButtom(
scope.row
, 0)"
>
>
<i
v-loading=
"msg.OrderId ==
item
.OrderId && loading0"
></i>
<i
v-loading=
"msg.OrderId ==
scope.row
.OrderId && loading0"
></i>
<span
class=
"cF1416C"
>
取消订单
</span>
<span
class=
"cF1416C"
>
取消订单
</span>
</div>
</div>
<div
<div
v-if=
"
v-if=
"
item
.OrderStatus == 1 &&
scope.row
.OrderStatus == 1 &&
pagesTitle != '销售' &&
pagesTitle != '销售' &&
item
.OrderSource != 1
scope.row
.OrderSource != 1
"
"
class=
"row-c cursor-pointer radius5 confirm py5"
class=
"row-c cursor-pointer radius5 confirm py5"
@
click=
"clickRightButtom(
item
, 1)"
@
click=
"clickRightButtom(
scope.row
, 1)"
>
>
<i
v-loading=
"msg.OrderId ==
item
.OrderId && loading1"
></i>
<i
v-loading=
"msg.OrderId ==
scope.row
.OrderId && loading1"
></i>
<span
class=
"c20C997"
>
确认订单
</span>
<span
class=
"c20C997"
>
确认订单
</span>
</div>
</div>
<div
<div
v-if=
"
item
.OrderStatus == 1 && pagesTitle == '销售'"
v-if=
"
scope.row
.OrderStatus == 1 && pagesTitle == '销售'"
class=
"row-c cursor-pointer radius5 change py5"
class=
"row-c cursor-pointer radius5 change py5"
@
click=
"goRoomDetails(
item
, '变更订单')"
@
click=
"goRoomDetails(
scope.row
, '变更订单')"
>
>
<span
class=
"c059FF6"
>
订单变更
</span>
<span
class=
"c059FF6"
>
订单变更
</span>
</div>
</div>
<div
<div
v-if=
"
item
.OrderStatus > 1"
v-if=
"
scope.row
.OrderStatus > 1"
class=
"row-c cursor-pointer radius5 change1 py5"
class=
"row-c cursor-pointer radius5 change1 py5"
@
click=
"clickRightButtom(
item
, 2)"
@
click=
"clickRightButtom(
scope.row
, 2)"
>
>
<i
v-loading=
"msg.OrderId ==
item
.OrderId && loading2"
></i>
<i
v-loading=
"msg.OrderId ==
scope.row
.OrderId && loading2"
></i>
<span
class=
"c20C997"
>
收损
</span>
<span
class=
"c20C997"
>
收损
</span>
</div>
</div>
<div
<div
v-if=
"
v-if=
"
item
.OrderStatus > 1 &&
scope.row
.OrderStatus > 1 &&
item
.OrderStatus != 3 &&
scope.row
.OrderStatus != 3 &&
pagesTitle != '销售' &&
pagesTitle != '销售' &&
is_correlationOP
is_correlationOP
"
"
class=
"row-c cursor-pointer radius5 change py5"
class=
"row-c cursor-pointer radius5 change py5"
@
click=
"clickCorrelation(
item
, 1)"
@
click=
"clickCorrelation(
scope.row
, 1)"
>
>
<span
class=
"c059FF6"
>
编辑关联OP
</span>
<span
class=
"c059FF6"
>
编辑关联OP
</span>
</div>
</div>
<div
<div
v-if=
"
item
.OrderStatus != 3 && pagesTitle == 'OP'"
v-if=
"
scope.row
.OrderStatus != 3 && pagesTitle == 'OP'"
class=
"row-c cursor-pointer radius5 change py5"
class=
"row-c cursor-pointer radius5 change py5"
@
click=
"clickCorrelation(
item
, 2)"
@
click=
"clickCorrelation(
scope.row
, 2)"
>
>
<span
class=
"c059FF6"
>
编辑总金额
</span>
<span
class=
"c059FF6"
>
编辑总金额
</span>
</div>
</div>
<!-- 申请发票 -->
<!-- 申请发票 -->
<ApplyFoInvoice
v-if=
"userInfo.EmployeeId==
item.EnterID"
:obj=
"item
"
:type=
"5"
></ApplyFoInvoice>
<ApplyFoInvoice
v-if=
"userInfo.EmployeeId==
scope.row.EnterID"
:obj=
"scope.row
"
:type=
"5"
></ApplyFoInvoice>
</div>
</div>
</div>
</div>
<div
class=
"mt mb20 bgf5 pa15 row-c"
v-if=
"
item
.CancelRemark"
>
<div
class=
"mt mb20 bgf5 pa15 row-c"
v-if=
"
scope.row
.CancelRemark"
>
<div
style=
"font-size: 16px; font-weight: bold; font-family: pingfangR"
>
<div
style=
"font-size: 16px; font-weight: bold; font-family: pingfangR"
>
取消理由:
取消理由:
</div>
</div>
...
@@ -911,7 +933,7 @@
...
@@ -911,7 +933,7 @@
font-family: microsoft yahei;
font-family: microsoft yahei;
"
"
>
>
{{
item
.CancelRemark }}
{{
scope.row
.CancelRemark }}
</div>
</div>
<div
<div
style=
"
style=
"
...
@@ -920,11 +942,12 @@
...
@@ -920,11 +942,12 @@
font-family: microsoft yahei;
font-family: microsoft yahei;
"
"
>
>
{{
item.CancelEmpName }} {{ item
.CancelTime }}
{{
scope.row.CancelEmpName }} {{ scope.row
.CancelTime }}
</div>
</div>
</div>
</div>
</div>
</template>
</el-table-column>
</el-table>
<el-dialog
<el-dialog
custom-class=
"w400"
custom-class=
"w400"
title=
"设置收损金额"
title=
"设置收损金额"
...
@@ -1046,6 +1069,8 @@ export default {
...
@@ -1046,6 +1069,8 @@ export default {
queryObj
:
null
,
queryObj
:
null
,
cdState
:
false
,
cdState
:
false
,
copyId
:
0
,
copyId
:
0
,
CompletedLoading
:
false
,
multipleSelection
:
[],
loading0
:
false
,
loading0
:
false
,
loading1
:
false
,
loading1
:
false
,
loading2
:
false
,
loading2
:
false
,
...
@@ -1195,6 +1220,74 @@ export default {
...
@@ -1195,6 +1220,74 @@ export default {
this
.
pagesTitle
==
"销售"
?
item
.
Remark
:
item
.
OPRemark
;
this
.
pagesTitle
==
"销售"
?
item
.
Remark
:
item
.
OPRemark
;
this
.
isShowRemark
=
true
;
this
.
isShowRemark
=
true
;
},
},
selectable
(
row
,
index
)
{
if
(((
this
.
OrderList
[
index
].
IsFinish
!=
1
&&
this
.
OrderList
[
index
].
Income
>
0
&&
this
.
OrderList
[
index
]
.
DueInMoney
==
0
)
||
(
this
.
OrderList
[
index
].
Money
==
0
&&
this
.
OrderList
[
index
].
Income
==
0
&&
this
.
OrderList
[
index
].
CostMoney
==
0
&&
this
.
OrderList
[
index
].
Refund
==
0
&&
this
.
OrderList
[
index
].
PlatformTax
==
0
&&
this
.
OrderList
[
index
].
IncomeList
&&
this
.
OrderList
[
index
].
IncomeList
.
length
>
0
)))
{
return
true
;
}
else
{
return
false
;
}
},
handleSelectionChange
(
val
)
{
this
.
multipleSelection
=
val
.
map
(
x
=>
{
return
x
.
OrderId
});
},
setCompleted
(
id
,
row
)
{
let
ids
=
''
if
(
id
>
0
)
{
ids
=
id
}
else
{
if
(
this
.
multipleSelection
.
length
==
0
)
return
this
.
$message
.
error
(
'请勾选需要完结的数据'
)
ids
=
this
.
multipleSelection
.
join
(
','
)
}
if
(
ids
==
''
)
{
this
.
$message
.
error
(
'请勾选需要完结的数据'
)
}
this
.
$confirm
(
'是否确认完结?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
if
(
id
>
0
)
{
row
.
loading
=
true
}
else
{
this
.
CompletedLoading
=
true
}
this
.
apipost
(
'CarSingle_post_SetCarOrderFinish'
,
{
CarOrderIds
:
ids
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
id
>
0
)
{
row
.
loading
=
false
}
else
{
this
.
CompletedLoading
=
false
}
for
(
let
i
=
0
;
i
<
this
.
OrderList
.
length
;
i
++
)
{
this
.
$refs
.
multipleTable
.
toggleRowSelection
(
this
.
OrderList
[
i
],
false
);
}
this
.
multipleSelection
=
[]
this
.
$message
.
success
(
'操作成功!'
);
this
.
$emit
(
'success'
)
}
else
{
if
(
id
>
0
)
{
row
.
loading
=
false
}
else
{
this
.
CompletedLoading
=
false
}
this
.
$message
.
error
(
res
.
data
.
message
);
}
},
err
=>
{})
}).
catch
(()
=>
{
this
.
$message
.
info
(
'已取消!'
);
});
},
submitEditRemark
()
{
submitEditRemark
()
{
if
(
!
this
.
postMsg
.
Remark
)
{
if
(
!
this
.
postMsg
.
Remark
)
{
this
.
$message
.
error
(
"OP备注不能为空"
);
this
.
$message
.
error
(
"OP备注不能为空"
);
...
...
src/components/myOrdersAllType/components/OrderList.vue
View file @
9f32d332
...
@@ -52,6 +52,8 @@
...
@@ -52,6 +52,8 @@
</el-table-column>
</el-table-column>
<el-table-column
sortable
prop=
"Income"
label=
"实收"
>
<el-table-column
sortable
prop=
"Income"
label=
"实收"
>
</el-table-column>
</el-table-column>
<el-table-column
sortable
prop=
"PlatformMoney"
label=
"在途金额"
min-width=
"100"
>
</el-table-column>
<el-table-column
sortable
prop=
"PreferTipAmount"
label=
"人头小费"
min-width=
"101"
>
<el-table-column
sortable
prop=
"PreferTipAmount"
label=
"人头小费"
min-width=
"101"
>
</el-table-column>
</el-table-column>
<el-table-column
sortable
prop=
"PlatformTax"
label=
"手续费"
min-width=
"100"
>
<el-table-column
sortable
prop=
"PlatformTax"
label=
"手续费"
min-width=
"100"
>
...
...
src/components/scenicSpot/reservation/OrderList.vue
View file @
9f32d332
...
@@ -501,64 +501,84 @@
...
@@ -501,64 +501,84 @@
<
template
>
<
template
>
<div>
<div>
<div
v-for=
"(item, index) in OrderList"
class=
"column bgf radius5 px15 mb20"
>
<div
class=
"row-c justify-sb align-c py"
>
<div
style=
"text-align: right;position: fixed;top: 62px; right: 89px;"
>
<el-button
class=
"hollowFixedBtn"
v-if=
"pagesTitle=='OP'"
@
click=
"setCompleted"
:loading=
"CompletedLoading"
>
一键完结
</el-button>
</div>
<el-table
ref=
"multipleTable"
:data=
"OrderList"
tooltip-effect=
"dark"
style=
"width: 100%"
row-key=
"OrderId"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
:selectable=
"selectable"
:reserve-selection=
"true"
v-if=
"pagesTitle=='OP'"
>
</el-table-column>
<el-table-column
:label=
"pagesTitle=='OP'?'全选':''"
>
<template
slot-scope=
"scope"
>
<div
class=
"row-c justify-sb align-c py"
>
<div
class=
"row-c"
>
<div
class=
"row-c"
>
<div>
<div>
<div
class=
"orderType cf fz12"
:class=
"
{ active:
item.MailingState == 1,activeNo: item
.MailingState == 4 }">
<div
class=
"orderType cf fz12"
:class=
"
{ active:
scope.row.MailingState == 1,activeNo: scope.row
.MailingState == 4 }">
<template
v-if=
"
item
.MailingState == 1"
>
自行取件
</
template
>
<template
v-if=
"
scope.row
.MailingState == 1"
>
自行取件
</
template
>
<
template
v-if=
"
item.MailingState > 1&&item
.MailingState < 4"
>
邮寄票券
</
template
>
<
template
v-if=
"
scope.row.MailingState > 1&&scope.row
.MailingState < 4"
>
邮寄票券
</
template
>
<
template
v-if=
"
item
.MailingState == 4"
>
电子券
</
template
>
<
template
v-if=
"
scope.row
.MailingState == 4"
>
电子券
</
template
>
</div>
</div>
</div>
</div>
<div
class=
"cblack fz14 mr"
:class=
"{ cF1416C: scope.row.IsFinish == 0,c20C997: scope.row.IsFinish == 1 }"
>
<
template
v-if=
"scope.row.IsFinish == 1"
>
已完结
<template
v-if=
"scope.row.FinishTime"
>
/
{{
scope
.
row
.
FinishTime
}}
</
template
>
</template>
<
template
v-else
>
未完结
</
template
>
</div>
<div
class=
"c9e fz12"
>
<div
class=
"c9e fz12"
>
<span>
订单编号:
</span>
<span>
订单编号:
</span>
<span>
{{
item.OrderNo }}({{ item
.OrderId}})
</span>
<span>
{{
scope.row.OrderNo }}({{ scope.row
.OrderId}})
</span>
<span
class=
"copy cblack cursor-pointer"
v-if=
"copyId !=
item.OrderId"
@
click=
"CopyHandler(item
)"
>
复制
</span>
<span
class=
"copy cblack cursor-pointer"
v-if=
"copyId !=
scope.row.OrderId"
@
click=
"CopyHandler(scope.row
)"
>
复制
</span>
<span
class=
"copy c059FF6 bgD9F3FF cursor-pointer"
v-else
><i
class=
"el-icon-check mr"
></i>
已复制
</span>
<span
class=
"copy c059FF6 bgD9F3FF cursor-pointer"
v-else
><i
class=
"el-icon-check mr"
></i>
已复制
</span>
</div>
</div>
</div>
</div>
<div
class=
"c9e fz12"
>
<div
class=
"c9e fz12"
>
<span
v-if=
"
item.Name||item.EName"
>
客人信息:{{ item.Name }}({{ item.EName }})
<
template
v-if=
"item.Mobile"
>
/
{{
item
.
Mobile
}}
</
template
></span>
<span
v-if=
"
scope.row.Name||scope.row.EName"
>
客人信息:{{ scope.row.Name }}({{ scope.row.EName }})
<
template
v-if=
"scope.row.Mobile"
>
/
{{
scope
.
row
.
Mobile
}}
</
template
></span>
<span
v-if=
"pagesTitle!='销售'"
>
<span
v-if=
"pagesTitle!='销售'"
>
<
template
v-if=
"
item.Name||item.EName"
>
/
</
template
>
来源
<
template
v-if=
"!item.OrderSource&&!item
.CustomerId"
>
销售
</
template
>
<
template
v-if=
"
scope.row.Name||scope.row.EName"
>
/
</
template
>
来源
<
template
v-if=
"!scope.row.OrderSource&&!scope.row
.CustomerId"
>
销售
</
template
>
<
template
v-if=
"!
item.OrderSource&&item
.CustomerId>0"
>
B2B
</
template
>
<
template
v-if=
"!
scope.row.OrderSource&&scope.row
.CustomerId>0"
>
B2B
</
template
>
<
template
v-if=
"
item
.OrderSource==1"
>
B2C
</
template
>
<
template
v-if=
"
scope.row
.OrderSource==1"
>
B2C
</
template
>
</span>
</span>
</div>
</div>
<div
class=
"row c9e fz12"
>
<div
class=
"row c9e fz12"
>
<span
class=
"mr"
v-if=
"
item.LureEmpName"
>
引流人:{{ item
.LureEmpName }}
</span>
<span
class=
"mr"
v-if=
"
scope.row.LureEmpName"
>
引流人:{{ scope.row
.LureEmpName }}
</span>
<span
class=
"mr"
>
销售:{{
item
.SaleName }}
</span>
<span
class=
"mr"
>
销售:{{
scope.row
.SaleName }}
</span>
<span
class=
"mr"
v-if=
"
item.OpName&&pagesTitle=='OP'"
>
关联OP:{{ item
.OpName }}
</span>
<span
class=
"mr"
v-if=
"
scope.row.OpName&&pagesTitle=='OP'"
>
关联OP:{{ scope.row
.OpName }}
</span>
<span
class=
"mr"
v-if=
"
item.CustomerName"
>
创建人:{{ item.CustomerName }} ({{ item.CustomerContact }}
<
template
v-if=
"item
.CustomerTel"
>
/
{{
<span
class=
"mr"
v-if=
"
scope.row.CustomerName"
>
创建人:{{ scope.row.CustomerName }} ({{ scope.row.CustomerContact }}
<
template
v-if=
"scope.row
.CustomerTel"
>
/
{{
item
.
CustomerTel
scope
.
row
.
CustomerTel
}}
</
template
>
)
</span>
}}
</
template
>
)
</span>
<span
class=
"mr"
>
下单时间:{{
item
.CreateTime }}
</span>
<span
class=
"mr"
>
下单时间:{{
scope.row
.CreateTime }}
</span>
<div
class=
""
>
<div
class=
""
>
<i
class=
"mx5"
:class=
"{
<i
class=
"mx5"
:class=
"{
'el-icon-alarm-clock c20C997':
item
.OrderStatus == 1,
'el-icon-alarm-clock c20C997':
scope.row
.OrderStatus == 1,
'el-icon-check cblack':
item
.OrderStatus == 2,
'el-icon-check cblack':
scope.row
.OrderStatus == 2,
'el-icon-warning cff9800':
item
.OrderStatus == 3,
'el-icon-warning cff9800':
scope.row
.OrderStatus == 3,
'el-icon-refresh cF1416C':
item
.OrderStatus == 4
'el-icon-refresh cF1416C':
scope.row
.OrderStatus == 4
}"
></i>
}"
></i>
<span
class=
"fz12 cblack"
:class=
"{
<span
class=
"fz12 cblack"
:class=
"{
c20C997:
item
.OrderStatus == 1,
c20C997:
scope.row
.OrderStatus == 1,
cblack:
item
.OrderStatus == 2,
cblack:
scope.row
.OrderStatus == 2,
cff9800:
item
.OrderStatus == 3,
cff9800:
scope.row
.OrderStatus == 3,
cF1416C:
item
.OrderStatus == 4
cF1416C:
scope.row
.OrderStatus == 4
}"
>
}"
>
{{
item
.OrderStatusName }}
{{
scope.row
.OrderStatusName }}
</span>
</span>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"mb"
>
<div
class=
"mb"
>
<el-table
:data=
"
item
.DetailList"
style=
"width:100%"
border
>
<el-table
:data=
"
scope.row
.DetailList"
style=
"width:100%"
border
>
<el-table-column
label=
"景区名称(日期)"
min-width=
"100"
style=
"background:#EAEAEA"
>
<el-table-column
label=
"景区名称(日期)"
min-width=
"100"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
v-if=
"scope.$index == 0"
:row=
"
item
.DetailList.length"
>
<
template
slot-scope=
"scope"
v-if=
"scope.$index == 0"
:row=
"
scope.row
.DetailList.length"
>
<template>
<template>
<div>
{{
item
.
CouponsName
}}
</div>
<div>
{{
scope
.
row
.
CouponsName
}}
</div>
<span
style=
"color: #999999;"
>
{{
item
.
UseDate
}}
</span>
<span
style=
"color: #999999;"
>
{{
scope
.
row
.
UseDate
}}
</span>
</
template
>
</
template
>
</template>
</template>
</el-table-column>
</el-table-column>
...
@@ -577,19 +597,19 @@
...
@@ -577,19 +597,19 @@
<span
class=
"fz15 fbold"
>
{{
scope
.
row
.
Money
.
toFixed
(
2
)
}}
</span>
<span
class=
"fz15 fbold"
>
{{
scope
.
row
.
Money
.
toFixed
(
2
)
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<
template
slot=
"append"
v-if=
"(
item.Remark||item.OPRemark||item.isMore)||(item.OrderStatus>1&&item
.OrderStatus!=3)"
>
<
template
slot=
"append"
v-if=
"(
scope.row.Remark||scope.row.OPRemark||scope.row.isMore)||(scope.row.OrderStatus>1&&scope.row
.OrderStatus!=3)"
>
<div
v-if=
"(
item.OrderStatus>1&&item.OrderStatus!=3)||item.Remark"
style=
"padding:10px;color:#f1416c"
>
客户备注:
{{
item
.
Remark
}}
<div
v-if=
"(
scope.row.OrderStatus>1&&scope.row.OrderStatus!=3)||scope.row.Remark"
style=
"padding:10px;color:#f1416c"
>
客户备注:
{{
scope
.
row
.
Remark
}}
<i
v-if=
"pagesTitle=='销售'&&
item.OrderStatus>1&&item.OrderStatus!=3"
class=
"el-icon-edit cursor-pointer c059FF6 mx"
@
click=
"editRemark(item
)"
></i></div>
<i
v-if=
"pagesTitle=='销售'&&
scope.row.OrderStatus>1&&scope.row.OrderStatus!=3"
class=
"el-icon-edit cursor-pointer c059FF6 mx"
@
click=
"editRemark(scope.row
)"
></i></div>
<div
v-if=
"(
item.OrderStatus>1&&item.OrderStatus!=3)||item
.OPRemark"
style=
"padding:10px;color:#f1416c"
<div
v-if=
"(
scope.row.OrderStatus>1&&scope.row.OrderStatus!=3)||scope.row
.OPRemark"
style=
"padding:10px;color:#f1416c"
:style=
"
{'padding':!
item.Remark
&&
item
.isMore?'0 10px 30px 10px':'0 10px 10px 10px'}">
:style=
"
{'padding':!
scope.row.Remark
&&
scope.row
.isMore?'0 10px 30px 10px':'0 10px 10px 10px'}">
OP备注:
{{
item
.
OPRemark
}}
OP备注:
{{
scope
.
row
.
OPRemark
}}
<i
v-if=
"pagesTitle=='OP'&&
item.OrderStatus>1&&item.OrderStatus!=3"
class=
"el-icon-edit cursor-pointer c059FF6 mx"
@
click=
"editRemark(item
)"
></i>
<i
v-if=
"pagesTitle=='OP'&&
scope.row.OrderStatus>1&&scope.row.OrderStatus!=3"
class=
"el-icon-edit cursor-pointer c059FF6 mx"
@
click=
"editRemark(scope.row
)"
></i>
</div>
</div>
</
template
>
</
template
>
</el-table>
</el-table>
</div>
</div>
<el-table
:data=
"
item.list"
style=
"width:100%"
border
v-if=
"item
.OrderStatus!=3"
>
<el-table
:data=
"
scope.row.list"
style=
"width:100%"
border
v-if=
"scope.row
.OrderStatus!=3"
>
<el-table-column
label=
"实收"
min-width=
"100"
>
<el-table-column
label=
"实收"
min-width=
"100"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
class=
"fz15 fbold"
>
{{
scope
.
row
.
Income
?
scope
.
row
.
Income
:
"-"
}}
</span>
<span
class=
"fz15 fbold"
>
{{
scope
.
row
.
Income
?
scope
.
row
.
Income
:
"-"
}}
</span>
...
@@ -620,8 +640,8 @@
...
@@ -620,8 +640,8 @@
<el-table-column
label=
"待收"
min-width=
"100"
>
<el-table-column
label=
"待收"
min-width=
"100"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
class=
"fz15 fbold"
<span
class=
"fz15 fbold"
:class=
"
{'cF1416C':
item
.DaiShou>0}">
:class=
"
{'cF1416C':
scope.row
.DaiShou>0}">
{{
item
.
DaiShou
}}
{{
scope
.
row
.
DaiShou
}}
</span>
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -630,13 +650,13 @@
...
@@ -630,13 +650,13 @@
<span
class=
"fz15 fbold"
>
{{
scope
.
row
.
Income
-
scope
.
row
.
CostMoney
-
scope
.
row
.
Refund
>
0
?(
scope
.
row
.
Income
-
scope
.
row
.
CostMoney
-
scope
.
row
.
Refund
).
toFixed
(
2
):
'-'
}}
</span>
<span
class=
"fz15 fbold"
>
{{
scope
.
row
.
Income
-
scope
.
row
.
CostMoney
-
scope
.
row
.
Refund
>
0
?(
scope
.
row
.
Income
-
scope
.
row
.
CostMoney
-
scope
.
row
.
Refund
).
toFixed
(
2
):
'-'
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
v-if=
"(
item.SellCommission&&item.SellCommission>0)||(item.OPCommission&&item
.OPCommission>0)"
label=
"提成"
style=
"background:#EAEAEA"
>
<el-table-column
v-if=
"(
scope.row.SellCommission&&scope.row.SellCommission>0)||(scope.row.OPCommission&&scope.row
.OPCommission>0)"
label=
"提成"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
class=
"width100-float-l"
v-if=
"
item.SellCommission&&item
.SellCommission>0"
><span
class=
"float-l"
>
销售:
</span>
<div
class=
"width100-float-l"
v-if=
"
scope.row.SellCommission&&scope.row
.SellCommission>0"
><span
class=
"float-l"
>
销售:
</span>
<commissionDialog
:objNew=
"
item
"
:OP=
"0"
></commissionDialog>
<commissionDialog
:objNew=
"
scope.row
"
:OP=
"0"
></commissionDialog>
</div>
</div>
<div
class=
"width100-float-l"
v-if=
"
item.OPCommission&&item
.OPCommission>0"
><span
class=
"float-l"
>
OP:
</span>
<div
class=
"width100-float-l"
v-if=
"
scope.row.OPCommission&&scope.row
.OPCommission>0"
><span
class=
"float-l"
>
OP:
</span>
<commissionDialog
:objNew=
"
item
"
:OP=
"1"
></commissionDialog>
<commissionDialog
:objNew=
"
scope.row
"
:OP=
"1"
></commissionDialog>
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -644,49 +664,49 @@
...
@@ -644,49 +664,49 @@
<div
class=
"row justify-sb mt mb20"
>
<div
class=
"row justify-sb mt mb20"
>
<div
class=
"column px15 bjFFF3E0 radius5 flex-g pa relative"
style=
"max-width: 300px;min-width: 150px;"
>
<div
class=
"column px15 bjFFF3E0 radius5 flex-g pa relative"
style=
"max-width: 300px;min-width: 150px;"
>
<div
class=
"fz12 row justify-sb"
v-if=
"
item
.MailingState != 4"
>
<div
class=
"fz12 row justify-sb"
v-if=
"
scope.row
.MailingState != 4"
>
<span>
{{
item
.MailingState > 1 ? '收货地址:' : '自取地址:' }}
</span>
<span>
{{
scope.row
.MailingState > 1 ? '收货地址:' : '自取地址:' }}
</span>
<div
:class=
"{ 'cF1416C':
item.MailingState == 2, 'c02C854': item
.MailingState == 3 }"
>
<div
:class=
"{ 'cF1416C':
scope.row.MailingState == 2, 'c02C854': scope.row
.MailingState == 3 }"
>
<
template
v-if=
"
item
.MailingState == 2"
>
<
template
v-if=
"
scope.row
.MailingState == 2"
>
等待配送
等待配送
</
template
>
</
template
>
<
template
v-if=
"
item
.MailingState == 3"
>
<
template
v-if=
"
scope.row
.MailingState == 3"
>
已配送
已配送
</
template
>
</
template
>
</div>
</div>
</div>
</div>
<div
class=
"row wrap orderNo fz12 c9e"
>
<div
class=
"row wrap orderNo fz12 c9e"
>
<
template
v-if=
"
item.MailingState == 2 || item
.MailingState == 3"
>
<
template
v-if=
"
scope.row.MailingState == 2 || scope.row
.MailingState == 3"
>
{{
item
.
MailingAddress
}}
{{
scope
.
row
.
MailingAddress
}}
</
template
>
</
template
>
<
template
v-else
>
<
template
v-else
>
<template
v-if=
"
item
.MailingState == 1"
>
<template
v-if=
"
scope.row
.MailingState == 1"
>
{{
item
.
SelffetchAddress
?
item
.
SelffetchAddress
:
'等待操作确认后,才能看到自取地址'
}}
{{
scope
.
row
.
SelffetchAddress
?
scope
.
row
.
SelffetchAddress
:
'等待操作确认后,才能看到自取地址'
}}
</
template
>
</
template
>
<div
class=
"row"
style=
"margin-right: 10px;"
v-if=
"
item
.MailingState==4"
>
<div
class=
"row"
style=
"margin-right: 10px;"
v-if=
"
scope.row
.MailingState==4"
>
<div
class=
"column"
>
<div
class=
"column"
>
<
template
v-if=
"
item
.TicketCodeFile"
>
<
template
v-if=
"
scope.row
.TicketCodeFile"
>
<div
class=
"wrap fz12 c9e"
>
<div
class=
"wrap fz12 c9e"
>
电子券
电子券
</div>
</div>
<div
class=
"row fz12 see-rec mt"
>
<div
class=
"row fz12 see-rec mt"
>
<div
class=
"text-accent q-mr-md c"
>
<div
class=
"text-accent q-mr-md c"
>
{{
item
.
TicketCodeFile
.
split
(
"/"
).
at
(
-
1
)
}}
{{
scope
.
row
.
TicketCodeFile
.
split
(
"/"
).
at
(
-
1
)
}}
</div>
</div>
<div
class=
"cursor-pointer ml mr rec cf"
>
<div
class=
"cursor-pointer ml mr rec cf"
>
<a
<a
class=
"cf"
class=
"cf"
style=
"text-decoration:none"
style=
"text-decoration:none"
:href=
"
item
.TicketCodeFile"
:href=
"
scope.row
.TicketCodeFile"
>
下载
</a
>
下载
</a
>
>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
template
v-if=
"
item.MailingState==4&&pagesTitle!='销售'&&!item
.TicketCodeFile"
>
<
template
v-if=
"
scope.row.MailingState==4&&pagesTitle!='销售'&&!scope.row
.TicketCodeFile"
>
<div
class=
"fz12 mt c9e"
>
<div
class=
"fz12 mt c9e"
>
电子券,需要您于
电子券,需要您于
<span
class=
"cff9800"
>
{{
item
.
UseDate
}}
</span>
前
<span
class=
"cff9800"
>
{{
scope
.
row
.
UseDate
}}
</span>
前
</div>
</div>
<div
class=
"row fz12 see-rec mt"
>
<div
class=
"row fz12 see-rec mt"
>
<el-upload
ref=
"my-upload"
<el-upload
ref=
"my-upload"
...
@@ -696,11 +716,11 @@
...
@@ -696,11 +716,11 @@
:show-file-list=
"false"
action=
""
>
:show-file-list=
"false"
action=
""
>
<div
:class=
"
{'cursor-pointer seeLK c059FF6':!loadingDZP,
<div
:class=
"
{'cursor-pointer seeLK c059FF6':!loadingDZP,
'cursor-pointer see c04C8C8':loadingDZP}"
'cursor-pointer see c04C8C8':loadingDZP}"
@click="uploadOrderId=
item
.OrderId">上传电子券
</div>
@click="uploadOrderId=
scope.row
.OrderId">上传电子券
</div>
</el-upload>
</el-upload>
</div>
</div>
</
template
>
</
template
>
<
template
v-if=
"
item.MailingState==4&&pagesTitle=='销售'&&!item
.TicketCodeFile"
>
<
template
v-if=
"
scope.row.MailingState==4&&pagesTitle=='销售'&&!scope.row
.TicketCodeFile"
>
'等待操作确认后,才能看到电子券地址'
'等待操作确认后,才能看到电子券地址'
</
template
>
</
template
>
</div>
</div>
...
@@ -713,15 +733,15 @@
...
@@ -713,15 +733,15 @@
<div
class=
"row wrap orderNo fz12 py"
>
<div
class=
"row wrap orderNo fz12 py"
>
<span
class=
"cursor-pointer radius5 mr mb px5"
<span
class=
"cursor-pointer radius5 mr mb px5"
:class=
"{'bgD9F3FF':x.Status==1,'bgFAEAED':x.Status==2,'bjFFF3E0':x.Status==3,
:class=
"{'bgD9F3FF':x.Status==1,'bgFAEAED':x.Status==2,'bjFFF3E0':x.Status==3,
'c3FC4FF':x.Status==1,'cF1416C':x.Status==2,'cff9800':x.Status==3}"
v-for=
"(x, i) in
item
.IncomeList"
'c3FC4FF':x.Status==1,'cF1416C':x.Status==2,'cff9800':x.Status==3}"
v-for=
"(x, i) in
scope.row
.IncomeList"
@
click=
"openDetails(x)"
>
{{ x.FrID }}
</span>
@
click=
"openDetails(x)"
>
{{ x.FrID }}
</span>
<span
v-if=
"
item
.IncomeList.length == 0"
class=
"c9e fz12"
>
<span
v-if=
"
scope.row
.IncomeList.length == 0"
class=
"c9e fz12"
>
暂无收款单据
暂无收款单据
</span>
</span>
</div>
</div>
<el-tooltip
v-if=
"
item
.OrderStatus == 2"
class=
"item"
effect=
"dark"
content=
"制单"
placement=
"top"
>
<el-tooltip
v-if=
"
scope.row
.OrderStatus == 2"
class=
"item"
effect=
"dark"
content=
"制单"
placement=
"top"
>
<i
class=
"absolute right20 bottom20 el-icon-circle-plus cursor-pointer c059FF6"
<i
class=
"absolute right20 bottom20 el-icon-circle-plus cursor-pointer c059FF6"
@
click=
"makeAdocument(
item
, index, 1)"
></i>
@
click=
"makeAdocument(
scope.row
, index, 1)"
></i>
</el-tooltip>
</el-tooltip>
</div>
</div>
<div
class=
"column px15 bgf5 radius5 ml flex-g pa relative"
style=
"min-width: 150px;max-width:400px"
>
<div
class=
"column px15 bgf5 radius5 ml flex-g pa relative"
style=
"min-width: 150px;max-width:400px"
>
...
@@ -729,15 +749,15 @@
...
@@ -729,15 +749,15 @@
<div
class=
"row wrap orderNo fz12 py"
>
<div
class=
"row wrap orderNo fz12 py"
>
<span
class=
"cursor-pointer radius5 mr mb px5"
<span
class=
"cursor-pointer radius5 mr mb px5"
:class=
"{'bgD9F3FF':x.Status==1,'bgFAEAED':x.Status==2,'bjFFF3E0':x.Status==3,
:class=
"{'bgD9F3FF':x.Status==1,'bgFAEAED':x.Status==2,'bjFFF3E0':x.Status==3,
'c3FC4FF':x.Status==1,'cF1416C':x.Status==2,'cff9800':x.Status==3}"
v-for=
"(x, i) in
item
.RefundList"
'c3FC4FF':x.Status==1,'cF1416C':x.Status==2,'cff9800':x.Status==3}"
v-for=
"(x, i) in
scope.row
.RefundList"
@
click=
"openDetails(x)"
>
{{ x.FrID }}
</span>
@
click=
"openDetails(x)"
>
{{ x.FrID }}
</span>
<span
v-if=
"
item
.RefundList.length == 0"
class=
"c9e fz12"
>
<span
v-if=
"
scope.row
.RefundList.length == 0"
class=
"c9e fz12"
>
暂无退款单据
暂无退款单据
</span>
</span>
</div>
</div>
<el-tooltip
v-if=
"
item
.OrderStatus == 2"
class=
"item"
effect=
"dark"
content=
"制单"
placement=
"top"
>
<el-tooltip
v-if=
"
scope.row
.OrderStatus == 2"
class=
"item"
effect=
"dark"
content=
"制单"
placement=
"top"
>
<i
class=
"absolute right20 bottom20 el-icon-circle-plus cursor-pointer c059FF6"
<i
class=
"absolute right20 bottom20 el-icon-circle-plus cursor-pointer c059FF6"
@
click=
"makeAdocument(
item
, index, 2)"
></i>
@
click=
"makeAdocument(
scope.row
, index, 2)"
></i>
</el-tooltip>
</el-tooltip>
</div>
</div>
<div
class=
"column px15 bgf5 radius5 ml flex-g pa relative"
style=
"min-width: 150px;max-width:400px"
>
<div
class=
"column px15 bgf5 radius5 ml flex-g pa relative"
style=
"min-width: 150px;max-width:400px"
>
...
@@ -745,21 +765,21 @@
...
@@ -745,21 +765,21 @@
<div
class=
"row wrap orderNo fz12 py"
>
<div
class=
"row wrap orderNo fz12 py"
>
<span
class=
"cursor-pointer radius5 mr mb px5"
<span
class=
"cursor-pointer radius5 mr mb px5"
:class=
"{'bgD9F3FF':x.Status==1,'bgFAEAED':x.Status==2,'bjFFF3E0':x.Status==3,
:class=
"{'bgD9F3FF':x.Status==1,'bgFAEAED':x.Status==2,'bjFFF3E0':x.Status==3,
'c3FC4FF':x.Status==1,'cF1416C':x.Status==2,'cff9800':x.Status==3}"
v-for=
"(x, i) in
item
.CostList"
'c3FC4FF':x.Status==1,'cF1416C':x.Status==2,'cff9800':x.Status==3}"
v-for=
"(x, i) in
scope.row
.CostList"
@
click=
"openDetails(x)"
>
{{ x.FrID }}
</span>
@
click=
"openDetails(x)"
>
{{ x.FrID }}
</span>
<span
v-if=
"
item
.CostList.length == 0"
class=
"c9e fz12"
>
<span
v-if=
"
scope.row
.CostList.length == 0"
class=
"c9e fz12"
>
暂无成本单据
暂无成本单据
</span>
</span>
</div>
</div>
<div
class=
"item absolute right20 bottom20"
v-if=
"
item
.OrderStatus == 2 && pagesTitle != '销售'"
>
<div
class=
"item absolute right20 bottom20"
v-if=
"
scope.row
.OrderStatus == 2 && pagesTitle != '销售'"
>
<el-tooltip
class=
""
effect=
"dark"
content=
"制单"
<el-tooltip
class=
""
effect=
"dark"
content=
"制单"
placement=
"top"
>
placement=
"top"
>
<i
class=
"el-icon-circle-plus cursor-pointer c059FF6"
<i
class=
"el-icon-circle-plus cursor-pointer c059FF6"
@
click=
"makeAdocument(
item
, index, 3)"
></i>
@
click=
"makeAdocument(
scope.row
, index, 3)"
></i>
</el-tooltip>
</el-tooltip>
<el-tooltip
v-if=
"
item
.OrderStatus == 2"
class=
""
effect=
"dark"
content=
"冲抵"
placement=
"top"
>
<el-tooltip
v-if=
"
scope.row
.OrderStatus == 2"
class=
""
effect=
"dark"
content=
"冲抵"
placement=
"top"
>
<i
class=
"el-icon-circle-plus cursor-pointer c3FC4FF"
<i
class=
"el-icon-circle-plus cursor-pointer c3FC4FF"
@
click=
"isOffset(
item
, index, 3)"
></i>
@
click=
"isOffset(
scope.row
, index, 3)"
></i>
</el-tooltip>
</el-tooltip>
</div>
</div>
</div>
</div>
...
@@ -772,42 +792,42 @@
...
@@ -772,42 +792,42 @@
'bjFFF3E0':x.InvoiceApplyState===2||x.InvoiceApplyState===4||x.InvoiceApplyState===5,
'bjFFF3E0':x.InvoiceApplyState===2||x.InvoiceApplyState===4||x.InvoiceApplyState===5,
'c3FC4FF':x.InvoiceApplyState===6,'cF1416C':x.InvoiceApplyState===1||x.InvoiceApplyState===3,
'c3FC4FF':x.InvoiceApplyState===6,'cF1416C':x.InvoiceApplyState===1||x.InvoiceApplyState===3,
'cff9800':x.InvoiceApplyState===2||x.InvoiceApplyState===4||x.InvoiceApplyState===5}"
'cff9800':x.InvoiceApplyState===2||x.InvoiceApplyState===4||x.InvoiceApplyState===5}"
v-for=
"(x, i) in
item
.InvoiceApplyList"
v-for=
"(x, i) in
scope.row
.InvoiceApplyList"
@
click=
"openDetails(x)"
@
click=
"openDetails(x)"
>
{{ x.ID }}
</span
>
{{ x.ID }}
</span
>
>
<span
v-if=
"
item.InvoiceApplyList&&item
.InvoiceApplyList.length == 0"
class=
"c9e fz12"
>
<span
v-if=
"
scope.row.InvoiceApplyList&&scope.row
.InvoiceApplyList.length == 0"
class=
"c9e fz12"
>
暂无发票单据
暂无发票单据
</span>
</span>
</div>
</div>
</div>
</div>
<div
class=
"column justify-c px15 bgf5 radius5 ml flex-g pa20"
style=
"min-width: 230px;"
>
<div
class=
"column justify-c px15 bgf5 radius5 ml flex-g pa20"
style=
"min-width: 230px;"
>
<div
class=
"row-c justify-sb pb5"
:class=
"{'borderD':
item.MailingMoney>0||item
.DiscountsMoney>0}"
>
<div
class=
"row-c justify-sb pb5"
:class=
"{'borderD':
scope.row.MailingMoney>0||scope.row
.DiscountsMoney>0}"
>
<span
class=
"fz12 c9e"
>
订单总金额
</span>
<span
class=
"fz12 c9e"
>
订单总金额
</span>
<div
class=
"ml"
>
<div
class=
"ml"
>
<span
class=
"fz15 fbold"
>
{{
item
.Money.toFixed(2) }}
</span>
<span
class=
"fz15 fbold"
>
{{
scope.row
.Money.toFixed(2) }}
</span>
<span
class=
"fz12"
>
{{
item
.CurrencyName }}
</span>
<span
class=
"fz12"
>
{{
scope.row
.CurrencyName }}
</span>
</div>
</div>
</div>
</div>
<div
<div
class=
"row-c justify-sb py5"
class=
"row-c justify-sb py5"
v-if=
"
item
.MailingMoney>0"
v-if=
"
scope.row
.MailingMoney>0"
:class=
"{'borderD':
item
.DiscountsMoney>0}"
:class=
"{'borderD':
scope.row
.DiscountsMoney>0}"
>
>
<span
class=
"fz12 c9e"
>
邮寄费
</span>
<span
class=
"fz12 c9e"
>
邮寄费
</span>
<div
class=
"ml"
>
<div
class=
"ml"
>
<span
class=
"fz14"
>
{{
item
.MailingMoney.toFixed(2) }}
</span>
<span
class=
"fz14"
>
{{
scope.row
.MailingMoney.toFixed(2) }}
</span>
<span
class=
"fz12 ml"
>
{{
item
.CurrencyName }}
</span>
<span
class=
"fz12 ml"
>
{{
scope.row
.CurrencyName }}
</span>
</div>
</div>
</div>
</div>
<div
<div
class=
"row-c justify-sb py5"
class=
"row-c justify-sb py5"
v-if=
"
item
.DiscountsMoney>0"
v-if=
"
scope.row
.DiscountsMoney>0"
>
>
<span
class=
"fz12 c9e"
>
优惠金额
</span>
<span
class=
"fz12 c9e"
>
优惠金额
</span>
<div
class=
"ml"
>
<div
class=
"ml"
>
<span
class=
"fz14"
>
{{
item
.DiscountsMoney.toFixed(2) }}
</span>
<span
class=
"fz14"
>
{{
scope.row
.DiscountsMoney.toFixed(2) }}
</span>
<span
class=
"fz12"
>
{{
item
.CurrencyName }}
</span>
<span
class=
"fz12"
>
{{
scope.row
.CurrencyName }}
</span>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -815,22 +835,22 @@
...
@@ -815,22 +835,22 @@
<div
<div
class=
"row-c wrap justify-c px15 bgE8F5E9 radius5 ml fz12 orderop flex-s"
>
class=
"row-c wrap justify-c px15 bgE8F5E9 radius5 ml fz12 orderop flex-s"
>
<div
v-if=
"
<div
v-if=
"
item
.OrderStatus == 1 &&
scope.row
.OrderStatus == 1 &&
item
.IncomeList.length == 0 &&
scope.row
.IncomeList.length == 0 &&
item
.RefundList.length == 0 &&
scope.row
.RefundList.length == 0 &&
item.CostList.length == 0 && item
.OrderSource!=1
scope.row.CostList.length == 0 && scope.row
.OrderSource!=1
"
class=
"row-c cursor-pointer radius5 cancel py5"
@
click=
"clickRightButtom(
item
, 0)"
>
"
class=
"row-c cursor-pointer radius5 cancel py5"
@
click=
"clickRightButtom(
scope.row
, 0)"
>
<i
v-loading=
"msg.OrderId ==
item
.OrderId && loading0"
></i>
<i
v-loading=
"msg.OrderId ==
scope.row
.OrderId && loading0"
></i>
<span
class=
"cF1416C"
>
取消订单
</span>
<span
class=
"cF1416C"
>
取消订单
</span>
</div>
</div>
<div
v-if=
"
item.OrderStatus == 1 && pagesTitle != '销售' && item
.OrderSource!=1"
class=
"row-c cursor-pointer radius5 confirm py5"
<div
v-if=
"
scope.row.OrderStatus == 1 && pagesTitle != '销售' && scope.row
.OrderSource!=1"
class=
"row-c cursor-pointer radius5 confirm py5"
@
click=
"clickRightButtom(
item
, 1)"
>
@
click=
"clickRightButtom(
scope.row
, 1)"
>
<i
v-loading=
"msg.OrderId ==
item
.OrderId && loading1"
></i>
<i
v-loading=
"msg.OrderId ==
scope.row
.OrderId && loading1"
></i>
<span
class=
"c20C997"
>
确认订单
</span>
<span
class=
"c20C997"
>
确认订单
</span>
</div>
</div>
<div
v-if=
"
item.OrderStatus == 2 && item
.MailingState == 2 && pagesTitle != '销售'"
<div
v-if=
"
scope.row.OrderStatus == 2 && scope.row
.MailingState == 2 && pagesTitle != '销售'"
class=
"row-c cursor-pointer radius5 cancel py5"
@
click=
"clickRightButtom(
item
, 2)"
>
class=
"row-c cursor-pointer radius5 cancel py5"
@
click=
"clickRightButtom(
scope.row
, 2)"
>
<i
v-loading=
"msg.OrderId ==
item
.OrderId && loading1"
></i>
<i
v-loading=
"msg.OrderId ==
scope.row
.OrderId && loading1"
></i>
<span
class=
"cF1416C"
>
邮寄
</span>
<span
class=
"cF1416C"
>
邮寄
</span>
</div>
</div>
<!-- <div v-if="item.OrderStatus == 2 && item.MailingState == 1 && pagesTitle != '销售'"
<!-- <div v-if="item.OrderStatus == 2 && item.MailingState == 1 && pagesTitle != '销售'"
...
@@ -845,35 +865,35 @@
...
@@ -845,35 +865,35 @@
>
>
<span class="c059FF6">明细/编辑</span>
<span class="c059FF6">明细/编辑</span>
</div> -->
</div> -->
<div
v-if=
"(
item.OrderStatus == 1 && pagesTitle == '销售')||(item.OrderStatus >1 && item
.OrderStatus != 3
<div
v-if=
"(
scope.row.OrderStatus == 1 && pagesTitle == '销售')||(scope.row.OrderStatus >1 && scope.row
.OrderStatus != 3
&&pagesTitle=='OP'&&is_correlationOP)"
class=
"row-c cursor-pointer radius5 change py5"
&&pagesTitle=='OP'&&is_correlationOP)"
class=
"row-c cursor-pointer radius5 change py5"
@
click=
"goRoomDetails(
item
, pagesTitle=='销售'?'门票预定变更':'编辑取票方式')"
>
@
click=
"goRoomDetails(
scope.row
, pagesTitle=='销售'?'门票预定变更':'编辑取票方式')"
>
<span
class=
"c059FF6"
>
{{pagesTitle=='销售'?'订单变更':'编辑取票方式'}}
</span>
<span
class=
"c059FF6"
>
{{pagesTitle=='销售'?'订单变更':'编辑取票方式'}}
</span>
</div>
</div>
<div
v-if=
"
item
.OrderStatus > 1"
class=
"row-c cursor-pointer radius5 change1 py5"
<div
v-if=
"
scope.row
.OrderStatus > 1"
class=
"row-c cursor-pointer radius5 change1 py5"
@
click=
"clickRightButtom(
item
, 4)"
>
@
click=
"clickRightButtom(
scope.row
, 4)"
>
<i
v-loading=
"msg.OrderId ==
item
.OrderId && loading2"
></i>
<i
v-loading=
"msg.OrderId ==
scope.row
.OrderId && loading2"
></i>
<span
class=
"c20C997"
>
收损
</span>
<span
class=
"c20C997"
>
收损
</span>
</div>
</div>
<div
<div
v-if=
"
item.OrderStatus >1 && item
.OrderStatus != 3
v-if=
"
scope.row.OrderStatus >1 && scope.row
.OrderStatus != 3
&&
item
.OrderStatus != 4
&&
scope.row
.OrderStatus != 4
&&pagesTitle=='OP'&&is_correlationOP"
&&pagesTitle=='OP'&&is_correlationOP"
class=
"row-c cursor-pointer radius5 change py5"
class=
"row-c cursor-pointer radius5 change py5"
@
click=
"clickCorrelation(
item
,1)"
@
click=
"clickCorrelation(
scope.row
,1)"
>
>
<span
class=
"c059FF6"
>
编辑关联OP
</span>
<span
class=
"c059FF6"
>
编辑关联OP
</span>
</div>
</div>
<div
<div
v-if=
"
item
.OrderStatus != 3
v-if=
"
scope.row
.OrderStatus != 3
&&pagesTitle=='OP'"
&&pagesTitle=='OP'"
class=
"row-c cursor-pointer radius5 change py5"
class=
"row-c cursor-pointer radius5 change py5"
@
click=
"clickCorrelation(
item
,2)"
@
click=
"clickCorrelation(
scope.row
,2)"
>
>
<span
class=
"c059FF6"
>
编辑总金额
</span>
<span
class=
"c059FF6"
>
编辑总金额
</span>
</div>
</div>
<!-- 申请发票 -->
<!-- 申请发票 -->
<ApplyFoInvoice
v-if=
"userInfo.EmployeeId==
item.EnterID"
:obj=
"item
"
:type=
"7"
></ApplyFoInvoice>
<ApplyFoInvoice
v-if=
"userInfo.EmployeeId==
scope.row.EnterID"
:obj=
"scope.row
"
:type=
"7"
></ApplyFoInvoice>
<!-- <template v-if="item.OrderStatus==2">
<!-- <template v-if="item.OrderStatus==2">
<div class="column-jac fz12 flex-s c20C997">
<div class="column-jac fz12 flex-s c20C997">
<div class="mb5">已支付</div>
<div class="mb5">已支付</div>
...
@@ -885,15 +905,17 @@
...
@@ -885,15 +905,17 @@
</template> -->
</template> -->
</div>
</div>
</div>
</div>
<div
class=
"mt mb20 bgf5 pa15 row-c"
v-if=
"
item
.CancelRemark"
>
<div
class=
"mt mb20 bgf5 pa15 row-c"
v-if=
"
scope.row
.CancelRemark"
>
<div
style=
"font-size:16px;font-weight:bold;font-family: pingfangR;"
>
取消理由:
</div>
<div
style=
"font-size:16px;font-weight:bold;font-family: pingfangR;"
>
取消理由:
</div>
<div
style=
"margin-left:12px;font-size:12px;color: grey; font-family: microsoft yahei;"
>
{{
item
.CancelRemark }}
<div
style=
"margin-left:12px;font-size:12px;color: grey; font-family: microsoft yahei;"
>
{{
scope.row
.CancelRemark }}
</div>
</div>
<div
style=
"margin-left:12px;font-size:12px;font-family: microsoft yahei;"
>
<div
style=
"margin-left:12px;font-size:12px;font-family: microsoft yahei;"
>
{{
item.CancelEmpName }} {{ item
.CancelTime }}
{{
scope.row.CancelEmpName }} {{ scope.row
.CancelTime }}
</div>
</div>
</div>
</div>
</div>
</template>
</el-table-column>
</el-table>
<el-dialog
custom-class=
"w400"
:title=
"typeState == 3 ? '设置自提地址' : '设置收损金额'"
:visible
.
sync=
"outerVisible"
>
<el-dialog
custom-class=
"w400"
:title=
"typeState == 3 ? '设置自提地址' : '设置收损金额'"
:visible
.
sync=
"outerVisible"
>
<div>
<div>
...
@@ -1054,6 +1076,8 @@
...
@@ -1054,6 +1076,8 @@
queryObj
:
null
,
queryObj
:
null
,
cdState
:
false
,
cdState
:
false
,
copyId
:
0
,
copyId
:
0
,
CompletedLoading
:
false
,
multipleSelection
:
[],
loading0
:
false
,
loading0
:
false
,
loading1
:
false
,
loading1
:
false
,
loading2
:
false
,
loading2
:
false
,
...
@@ -1201,6 +1225,74 @@
...
@@ -1201,6 +1225,74 @@
this
.
postMsg
.
Remark
=
this
.
pagesTitle
==
'销售'
?
item
.
Remark
:
item
.
OPRemark
this
.
postMsg
.
Remark
=
this
.
pagesTitle
==
'销售'
?
item
.
Remark
:
item
.
OPRemark
this
.
isShowRemark
=
true
this
.
isShowRemark
=
true
},
},
selectable
(
row
,
index
)
{
if
(((
this
.
OrderList
[
index
].
IsFinish
!=
1
&&
this
.
OrderList
[
index
].
Income
>
0
&&
this
.
OrderList
[
index
]
.
DueInMoney
==
0
)
||
(
this
.
OrderList
[
index
].
Money
==
0
&&
this
.
OrderList
[
index
].
Income
==
0
&&
this
.
OrderList
[
index
].
CostMoney
==
0
&&
this
.
OrderList
[
index
].
Refund
==
0
&&
this
.
OrderList
[
index
].
PlatformTax
==
0
&&
this
.
OrderList
[
index
].
IncomeList
&&
this
.
OrderList
[
index
].
IncomeList
.
length
>
0
)))
{
return
true
;
}
else
{
return
false
;
}
},
handleSelectionChange
(
val
)
{
this
.
multipleSelection
=
val
.
map
(
x
=>
{
return
x
.
OrderId
});
},
setCompleted
(
id
,
row
)
{
let
ids
=
''
if
(
id
>
0
)
{
ids
=
id
}
else
{
if
(
this
.
multipleSelection
.
length
==
0
)
return
this
.
$message
.
error
(
'请勾选需要完结的数据'
)
ids
=
this
.
multipleSelection
.
join
(
','
)
}
if
(
ids
==
''
)
{
this
.
$message
.
error
(
'请勾选需要完结的数据'
)
}
this
.
$confirm
(
'是否确认完结?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
if
(
id
>
0
)
{
row
.
loading
=
true
}
else
{
this
.
CompletedLoading
=
true
}
this
.
apipost
(
'ticket_post_SetTicketOrderFinish'
,
{
TticketOrderIds
:
ids
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
id
>
0
)
{
row
.
loading
=
false
}
else
{
this
.
CompletedLoading
=
false
}
for
(
let
i
=
0
;
i
<
this
.
OrderList
.
length
;
i
++
)
{
this
.
$refs
.
multipleTable
.
toggleRowSelection
(
this
.
OrderList
[
i
],
false
);
}
this
.
multipleSelection
=
[]
this
.
$message
.
success
(
'操作成功!'
);
this
.
$emit
(
'success'
)
}
else
{
if
(
id
>
0
)
{
row
.
loading
=
false
}
else
{
this
.
CompletedLoading
=
false
}
this
.
$message
.
error
(
res
.
data
.
message
);
}
},
err
=>
{})
}).
catch
(()
=>
{
this
.
$message
.
info
(
'已取消!'
);
});
},
submitEditRemark
(){
submitEditRemark
(){
if
(
!
this
.
postMsg
.
Remark
){
if
(
!
this
.
postMsg
.
Remark
){
this
.
$message
.
error
(
'OP备注不能为空'
);
this
.
$message
.
error
(
'OP备注不能为空'
);
...
...
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