Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
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
zhengke
jz_Travel
Commits
24bb6891
Commit
24bb6891
authored
Mar 06, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
签证
parent
13f24301
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
59 additions
and
13 deletions
+59
-13
visa_MyOrder.vue
pages/visa/visa_MyOrder.vue
+51
-5
visa_SureOrder.vue
pages/visa/visa_SureOrder.vue
+8
-8
No files found.
pages/visa/visa_MyOrder.vue
View file @
24bb6891
...
...
@@ -139,8 +139,15 @@
<!-- #ifdef MP-ALIPAY -->
<!--
<view
class=
"jz_Zailai"
style=
"width: 110rpx; margin-right: 10rpx"
@
click
.
stop=
"goZhifuAli(item)"
>
付款
</view>
-->
<!-- #endif -->
<view
v-if=
"item.visaOrderStatus==3"
class=
"jz_Zailai"
style=
"width: 110rpx"
@
click
.
stop=
"goCancel(item)"
>
取消
</view>
<!-- #ifdef MP-DI -->
<button
v-if=
"item.visaOrderStatus==1"
class=
"jz_Zailai"
style=
"width: 110rpx"
@
click
.
stop=
"goCancelZK(item)"
:disabled=
"submitCancel"
>
取消
</button>
<!-- #endif -->
<!-- #ifdef MP-AG -->
<view
v-if=
"item.visaOrderStatus==3"
class=
"jz_Zailai"
style=
"width: 110rpx"
@
click
.
stop=
"goCancel(item)"
>
取消
</view>
<!-- #endif -->
</view>
</view>
</scroll-view>
...
...
@@ -207,6 +214,7 @@
b2b_user_info
:
{},
userInfo
:
{},
showAuth
:
false
,
submitCancel
:
false
,
};
},
created
()
{
...
...
@@ -270,9 +278,17 @@
}
},
goOrderDetail
(
item
)
{
uni
.
navigateTo
({
url
:
"/pages/visa/visa_SureOrder?orderId="
+
item
.
id
,
});
// #ifdef MP-DI
uni
.
navigateTo
({
url
:
`/pages/visa/visa_SureOrder?orderId=
${
item
.
id
}
&OrderTypeStr=Visa`
,
});
// #endif
// #ifdef MP-AG
uni
.
navigateTo
({
url
:
`/pages/visa/visa_SureOrder?orderId=
${
item
.
id
}
`
,
});
// #endif
},
change
(
i
)
{
this
.
current
=
i
;
...
...
@@ -365,6 +381,36 @@
}
})
},
goCancelZK
(
item
)
{
let
that
=
this
if
(
this
.
submitCancel
)
return
this
.
submitCancel
=
true
wx
.
showModal
({
title
:
'提示'
,
content
:
'确定取消订单?'
,
success
:
(
tip
)
=>
{
if
(
tip
.
confirm
)
{
that
.
apipost
(
"GetCancelOrder_post"
,
{
OrderNo
:
0
,
},
(
res
)
=>
{
if
(
res
.
resultCode
==
1
)
{
uni
.
showToast
({
title
:
"操作成功"
,
icon
:
"success"
,
});
that
.
research
();
}
that
.
submitCancel
=
false
},
(
err
)
=>
{}
);
}
else
that
.
submitCancel
=
false
}
})
},
//付款
// #ifdef MP-WEIXIN
...
...
pages/visa/visa_SureOrder.vue
View file @
24bb6891
...
...
@@ -585,7 +585,7 @@
Refund
:
0
,
orderInfo
:
null
,
orderId
:
0
,
goodsType
:
0
,
OrderTypeStr
:
0
,
OrderNo
:
''
,
};
},
...
...
@@ -593,11 +593,11 @@
onLoad
(
option
)
{
if
(
option
.
orderData
)
{
this
.
orderData
=
JSON
.
parse
(
decodeURIComponent
(
option
.
orderData
));
}
else
if
(
option
.
orderId
&&!
option
.
goodsType
)
{
}
else
if
(
option
.
orderId
&&!
option
.
OrderTypeStr
)
{
this
.
initOrderInfo
(
option
.
orderId
);
}
else
if
(
option
.
OrderNo
||
(
option
.
orderId
&&
option
.
goodsType
)){
if
(
option
.
goodsType
){
this
.
goodsType
=
option
.
goodsType
}
else
if
(
option
.
OrderNo
||
(
option
.
orderId
&&
option
.
OrderTypeStr
)){
if
(
option
.
OrderTypeStr
){
this
.
OrderTypeStr
=
option
.
OrderTypeStr
}
if
(
option
.
orderId
){
this
.
orderId
=
option
.
orderId
...
...
@@ -663,10 +663,10 @@
});
},
getOrderInfoHandler
(){
this
.
apipost
(
"GetDetailsBy
OrderNo
_post"
,{
this
.
apipost
(
"GetDetailsBy
ErpOrderId
_post"
,{
OrderNo
:
this
.
OrderNo
,
o
rderId
:
this
.
orderId
,
goodsType
:
this
.
goodsType
,
ErpO
rderId
:
this
.
orderId
,
OrderTypeStr
:
this
.
OrderTypeStr
,
},
res
=>
{
if
(
res
.
resultCode
==
1
){
this
.
orderData
=
{
...
...
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