Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 49e47de8
authored
Dec 15, 2025
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V5.5.0' of
http://192.168.3.233:8090/glsx/gl_tape
into SAAS+V5.5.0
2 parents
aac14ea9
d46289da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
68 additions
and
20 deletions
pages/equity/tool/components/OrderCard.vue
pages/equity/tool/components/OrderCard.vue
View file @
49e47de
...
@@ -20,8 +20,29 @@
...
@@ -20,8 +20,29 @@
</view>
</view>
<view
class=
"order-card-bottom-box"
>
<view
class=
"order-card-bottom-box"
>
<view
class=
"info-box"
>
<view
class=
"info-box"
>
<view
class=
"order-list align-center"
v-for=
"(item, sindex) in orderCardDetail.deliveryUserId ? pointsMultiObj : orderObj"
:key=
"sindex"
>
<view
class=
"order-list align-center"
v-for=
"(item, sindex) in orderCardDetail.deliveryId ? pointsMultiObj : orderObj"
:key=
"sindex"
>
<view
class=
"order flex align-center"
>
<view
v-if=
"item.key == 'remark' || item.key == 'payTime' || item.key == 'createdTime'"
>
<view
class=
"order flex align-center"
v-if=
"item.key == 'remark' && orderCardDetail.orderStatus == '-1'"
>
<view
class=
"order-label"
>
{{
item
.
label
}}
</view>
<view
class=
"order-value"
>
<view>
{{
orderCardDetail
[
item
.
key
]
||
''
}}
</view>
</view>
</view>
<view
class=
"order flex align-center"
v-if=
"item.key == 'payTime' && (orderCardDetail.orderStatus == '3' || orderCardDetail.orderStatus == '5')"
>
<view
class=
"order-label"
>
{{
item
.
label
}}
</view>
<view
class=
"order-value"
>
<view>
{{
orderCardDetail
[
item
.
key
]
||
''
}}
</view>
</view>
</view>
<!-- &&( item.orderStatus == '3'||item.orderStatus =='5') -->
<view
class=
"order flex align-center"
v-if=
"item.key == 'createdTime'"
>
<view
class=
"order-label"
>
{{
item
.
label
}}
</view>
<view
class=
"order-value"
>
<view>
{{
orderCardDetail
[
item
.
key
]
||
''
}}
</view>
</view>
</view>
</view>
<view
class=
"order flex align-center"
v-else
>
<view
class=
"order-label"
>
{{
item
.
label
}}
</view>
<view
class=
"order-label"
>
{{
item
.
label
}}
</view>
<view
class=
"order-value flex"
>
<view
class=
"order-value flex"
>
<view
v-if=
"item.arr"
class=
"flex"
>
<view
v-if=
"item.arr"
class=
"flex"
>
...
@@ -62,15 +83,15 @@
...
@@ -62,15 +83,15 @@
{{
orderCardDetail
.
refundAmount
}}
{{
orderCardDetail
.
refundAmount
}}
</view>
</view>
<!-- 已录单未签名 -->
<!-- 已录单未签名 -->
<!--
<view
wx:
if=
"
{{
(
item
.
orderStatus
==
'3'
&&
item
.
equityOrderStatus
==
'0'
)
||
(
item
.
orderStatus
==
'5'
&&
item
.
equityOrderStatus
==
'0'
)
}}
" class="orange-txt">
<!--
<view
v-
if=
"
{{
(
item
.
orderStatus
==
'3'
&&
item
.
equityOrderStatus
==
'0'
)
||
(
item
.
orderStatus
==
'5'
&&
item
.
equityOrderStatus
==
'0'
)
}}
" class="orange-txt">
<image
class=
"icon-info"
src=
"/packageEquity/images/icon-info.png"
></image>
<image
class=
"icon-info"
src=
"/packageEquity/images/icon-info.png"
></image>
订单已支付,未录入权益合同
订单已支付,未录入权益合同
</view>
</view>
<view
wx:
elif=
"
{{
item
.
orderStatus
==
'3'
&&
item
.
equityOrderStatus
==
'2'
}}
" class="orange-txt">
<view
v-
elif=
"
{{
item
.
orderStatus
==
'3'
&&
item
.
equityOrderStatus
==
'2'
}}
" class="orange-txt">
<image
class=
"icon-info"
src=
"/packageEquity/images/icon-info.png"
></image>
<image
class=
"icon-info"
src=
"/packageEquity/images/icon-info.png"
></image>
订单已支付,尚未签名确认
订单已支付,尚未签名确认
</view>
-->
</view>
-->
<!--
<view
wx:
else
>
创建时间:
{{
item
.
createdTime
}}
</view>
-->
<!--
<view
v-
else
>
创建时间:
{{
item
.
createdTime
}}
</view>
-->
</view>
</view>
</view>
</view>
<!-- 施工技师 -->
<!-- 施工技师 -->
...
@@ -117,6 +138,7 @@
...
@@ -117,6 +138,7 @@
</view>
</view>
</view>
</view>
<NoticePopup
ref=
"notice"
title=
"提示"
text=
"是否撤销该笔客户工单,撤销后客户工单为「已撤销」状态,不再统计订单数和订单金额。"
type=
"warning"
></NoticePopup>
<NoticePopup
ref=
"notice"
title=
"提示"
text=
"是否撤销该笔客户工单,撤销后客户工单为「已撤销」状态,不再统计订单数和订单金额。"
type=
"warning"
></NoticePopup>
<NoticePopup
ref=
"reportNotice"
:title=
"noticeObj.title"
:text=
"noticeObj.text"
:type=
"noticeObj.type || 'success'"
:buttons=
"noticeObj.buttons"
></NoticePopup>
<ContractPopup
ref=
"contractPopupRef"
@
onConfirm=
"onConfirm"
></ContractPopup>
<ContractPopup
ref=
"contractPopupRef"
@
onConfirm=
"onConfirm"
></ContractPopup>
<PublishPopup
ref=
"defeatOrderPopup"
popupClass=
"defeatOrderPopup"
type=
"center"
:showClose=
"true"
:isMaskClick=
"false"
title=
"战败原因"
>
<PublishPopup
ref=
"defeatOrderPopup"
popupClass=
"defeatOrderPopup"
type=
"center"
:showClose=
"true"
:isMaskClick=
"false"
title=
"战败原因"
>
<template
#
content
>
<template
#
content
>
...
@@ -440,7 +462,8 @@ export default {
...
@@ -440,7 +462,8 @@ export default {
'-1'
:
'去报价'
,
'-1'
:
'去报价'
,
5
:
'去处理'
5
:
'去处理'
},
},
textareaValue
:
''
textareaValue
:
''
,
noticeObj
:
{}
}
}
},
},
mounted
()
{
mounted
()
{
...
@@ -501,29 +524,35 @@ export default {
...
@@ -501,29 +524,35 @@ export default {
},
},
// 撤销工单方法
// 撤销工单方法
revokeOrder
()
{
revokeOrder
()
{
const
that
=
this
// 配置弹窗按钮
// 配置弹窗按钮
th
is
.
$refs
.
notice
.
buttonsList
=
[
th
at
.
$refs
.
notice
.
buttonsList
=
[
{
{
text
:
'取消'
,
text
:
'取消'
,
type
:
'default'
,
type
:
'default'
,
callback
:
()
=>
{
callback
:
()
=>
{
th
is
.
transmissionOfData
=
null
th
at
.
transmissionOfData
=
null
th
is
.
$refs
.
notice
.
close
()
th
at
.
$refs
.
notice
.
close
()
}
}
},
},
{
{
text
:
'撤销'
,
text
:
'撤销'
,
type
:
'primary'
,
type
:
'primary'
,
callback
:
async
()
=>
{
callback
:
async
()
=>
{
// 校验订单是否可撤销(在退款流程中无法撤销)
console
.
log
(
that
.
orderCardDetail
)
let
refundStep
=
await
uni
.
$api
.
equityApi
.
getOrderRefundStep
({
orderCode
:
this
.
orderCardDetail
.
payId
})
if
(
that
.
orderCardDetail
.
payId
)
{
if
(
refundStep
?.
data
==
'Y'
)
return
_this
.
showRefundAlert
()
// 校验订单是否可撤销(在退款流程中无法撤销)
this
.
repeal
(
this
.
orderCardDetail
.
id
)
let
refundStep
=
await
uni
.
$api
.
equityApi
.
getOrderRefundStep
({
orderCode
:
that
.
orderCardDetail
.
payId
})
if
(
refundStep
?.
data
==
'Y'
)
return
_this
.
showRefundAlert
()
that
.
repeal
(
that
.
orderCardDetail
.
id
)
}
else
{
that
.
repeal
(
that
.
orderCardDetail
.
id
)
}
}
}
}
}
]
]
// 打开弹窗
// 打开弹窗
th
is
.
$refs
.
notice
.
open
()
th
at
.
$refs
.
notice
.
open
()
},
},
//修改客户信息
//修改客户信息
jumpUpdate
()
{
jumpUpdate
()
{
...
@@ -554,12 +583,31 @@ export default {
...
@@ -554,12 +583,31 @@ export default {
},
},
showRefundAlert
(
type
)
{
showRefundAlert
(
type
)
{
const
text
=
type
==
'error'
?
'订单已发起退款,禁止标记为错误工单!如需标记错误请联系总部运营。'
:
'订单已发起退款,禁止撤销!如需撤销请联系总部运营。'
const
text
=
type
==
'error'
?
'订单已发起退款,禁止标记为错误工单!如需标记错误请联系总部运营。'
:
'订单已发起退款,禁止撤销!如需撤销请联系总部运营。'
uni
.
showModal
({
let
title
=
'提示'
,
title
:
'提示'
,
btnText
=
'好的'
,
content
:
text
,
callbackFun
=
()
=>
{}
showCancel
:
false
,
this
.
noticeObj
=
{
confirmText
:
'好的'
title
,
})
text
:
text
,
type
:
'warning'
,
buttons
:
[
{
text
:
btnText
,
type
:
'primary'
,
callback
:
callbackFun
}
]
}
this
.
$nextTick
(()
=>
this
.
$refs
.
reportNotice
.
open
())
// uni.showModal({
// title: '提示',
// content: text,
// showCancel: false,
// confirmText: '好的'
// })
},
openNotice
(
message
,
params
)
{
uni
.
hideLoading
()
},
},
repeal
(
id
,
revokeReason
)
{
repeal
(
id
,
revokeReason
)
{
uni
.
showLoading
({
uni
.
showLoading
({
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment