Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
U
uni-pdtravel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
panyongping
uni-pdtravel
Commits
d191ddcb
Commit
d191ddcb
authored
May 22, 2024
by
qipeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交后 隐藏提交按钮
parent
ccfb6f59
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
28 deletions
+23
-28
applyAfterSale.vue
pages/my/order/afterSale/applyAfterSale/applyAfterSale.vue
+23
-28
No files found.
pages/my/order/afterSale/applyAfterSale/applyAfterSale.vue
View file @
d191ddcb
...
@@ -77,12 +77,14 @@
...
@@ -77,12 +77,14 @@
<view
class=
"apply-textarea general-Box"
v-if=
"causeNum==5"
>
<view
class=
"apply-textarea general-Box"
v-if=
"causeNum==5"
>
<u-input
v-model=
"causeInput"
type=
"textarea"
placeholder=
"补充详细退改原因以便商家更快帮您处理"
maxlength=
"200"
/>
<u-input
v-model=
"causeInput"
type=
"textarea"
placeholder=
"补充详细退改原因以便商家更快帮您处理"
maxlength=
"200"
/>
</view>
</view>
<view
class=
"apply-toButton"
v-if=
"isRefund"
@
click=
"confirm()"
>
<
template
v-if=
"toUploadType == true"
>
退款提交
<view
class=
"apply-toButton"
v-if=
"isRefund"
@
click=
"confirm()"
>
</view>
退款提交
<view
class=
"apply-toButton"
v-else
>
</view>
退款时间为{{orderRefundRuleTimer}}-{{orderRefundRuleEndTimer}}
<view
class=
"apply-toButton"
v-else
>
</view>
退款时间为
{{
orderRefundRuleTimer
}}
-
{{
orderRefundRuleEndTimer
}}
</view>
</
template
>
<view
class=
"apply-mask"
v-if=
"orderRefundRuleListShowBtn==false"
>
<view
class=
"apply-mask"
v-if=
"orderRefundRuleListShowBtn==false"
>
<view
class=
"mask-box"
>
<view
class=
"mask-box"
>
<view
class=
"box-text"
>
<view
class=
"box-text"
>
...
@@ -169,6 +171,7 @@ export default {
...
@@ -169,6 +171,7 @@ export default {
orderRefundRuleDay
:
''
,
//退款天
orderRefundRuleDay
:
''
,
//退款天
orderRefundRuleListShowMessage
:[],
//退票规则列表
orderRefundRuleListShowMessage
:[],
//退票规则列表
orderRefundRuleListShowBtn
:
true
,
//退票是否超时
orderRefundRuleListShowBtn
:
true
,
//退票是否超时
toUploadType
:
true
,
//提交时候隐藏按钮
}
}
},
},
onLoad
(
option
)
{
onLoad
(
option
)
{
...
@@ -211,6 +214,10 @@ export default {
...
@@ -211,6 +214,10 @@ export default {
})
})
return
false
return
false
}
}
uni
.
showLoading
({
title
:
'提交中'
})
this
.
toUploadType
=
false
var
data
=
{
var
data
=
{
orderId
:
this
.
orderInfo
.
id
,
orderId
:
this
.
orderInfo
.
id
,
userId
:
this
.
openId
,
userId
:
this
.
openId
,
...
@@ -223,34 +230,22 @@ export default {
...
@@ -223,34 +230,22 @@ export default {
}
}
this
.
$request
(
'order/userOrder/refundTicket'
,
data
).
then
((
res
)
=>
{
this
.
$request
(
'order/userOrder/refundTicket'
,
data
).
then
((
res
)
=>
{
if
(
res
.
code
==
'00'
){
if
(
res
.
code
==
'00'
){
// if(res.data.errorMessage!=''&&res.data.errorMessage!=undefined&&res.data.refundStatus!=6){
this
.
toUploadType
=
true
// uni.showToast({
uni
.
hideLoading
()
// title: res.data.errorMessage,
// icon: 'none'
// })
// }else{
// uni.showToast({
// title: '申请成功',
// icon: 'none'
// })
// setTimeout(()=>{
// uni.reLaunch({
// url: '/pages/my/order/orderList/orderList'
// })
// },1000)
// }
uni
.
showToast
({
uni
.
showToast
({
title
:
'申请成功'
,
title
:
'申请成功'
,
icon
:
'none'
icon
:
'none'
})
})
setTimeout
(()
=>
{
setTimeout
(()
=>
{
uni
.
reLaunch
({
uni
.
reLaunch
({
url
:
'/pages/my/order/orderList/orderList'
url
:
'/pages/my/order/orderList/orderList'
})
})
},
1000
)
},
1000
)
}
else
{
}
else
{
this
.
toUploadType
=
true
uni
.
hideLoading
()
uni
.
showToast
({
uni
.
showToast
({
title
:
res
.
message
,
title
:
res
.
message
,
icon
:
'none'
icon
:
'none'
...
...
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