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
f3c519bd
Commit
f3c519bd
authored
Feb 18, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
d14a1a7b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
9 deletions
+12
-9
visa_MyOrder.vue
pages/visa/visa_MyOrder.vue
+5
-3
visa_SureOrder.vue
pages/visa/visa_SureOrder.vue
+7
-6
No files found.
pages/visa/visa_MyOrder.vue
View file @
f3c519bd
...
...
@@ -245,13 +245,15 @@
methods
:
{
//获取订单状态名称
getOrderStateName
(
item
)
{
var
str
=
"
待付款
"
;
if
(
item
.
visaOrderStatus
==
1
&&
item
.
income
>
0
)
{
var
str
=
""
;
if
(
item
.
visaOrderStatus
==
1
&&
(
item
.
income
+
item
.
platformTax
)
<
item
.
totalPrice
)
{
str
=
"正常"
}
else
if
(
item
.
visaOrderStatus
==
1
&&
item
.
income
==
item
.
totalPrice
)
{
}
else
if
(
item
.
visaOrderStatus
==
1
&&
(
item
.
income
+
item
.
platformTax
)
==
item
.
totalPrice
)
{
str
=
"已付款"
}
else
if
(
item
.
visaOrderStatus
==
2
)
{
str
=
"已取消"
}
else
if
(
item
.
visaOrderStatus
==
3
)
{
str
=
"待付款"
}
return
str
;
},
...
...
pages/visa/visa_SureOrder.vue
View file @
f3c519bd
...
...
@@ -500,8 +500,8 @@
</view>
</view>
</view>
<view
class=
"jz_orderbox flex"
>
<view
style=
"display: flex"
v-if=
"showPayBtn"
>
<view
class=
"jz_orderbox flex"
v-if=
"showPayBtn"
>
<view
style=
"display: flex"
>
<view
class=
"jz_OrderReNow"
@
click=
"goCancel"
style=
"background: #fff; color: #111; border: 1px solid #111"
>
<text
v-if=
"!submitCancel"
>
取消
</text>
<u-loading
v-if=
"submitCancel"
size=
"32"
color=
"#111"
></u-loading>
...
...
@@ -633,7 +633,8 @@
this
.
formatStatus
(
this
.
orderData
.
OrderModel
.
VisaOrderStatus
,
this
.
orderData
.
OrderModel
.
Income
,
this
.
orderData
.
OrderModel
.
TotalPrice
this
.
orderData
.
OrderModel
.
TotalPrice
,
this
.
orderData
.
OrderModel
.
PlatformTax
);
}
else
{
this
.
orderData
=
{
...
...
@@ -644,7 +645,7 @@
(
e
)
=>
{}
);
},
formatStatus
(
status
,
Income
,
TotalPrice
)
{
formatStatus
(
status
,
Income
,
TotalPrice
,
PlatformTax
)
{
if
(
status
==
2
)
{
this
.
orderStatus
.
code
=
-
1
;
this
.
orderStatus
.
text
=
"已取消"
;
...
...
@@ -653,11 +654,11 @@
this
.
orderStatus
.
code
=
0
;
this
.
orderStatus
.
text
=
"待付款"
;
this
.
showPayBtn
=
true
;
}
else
if
(
status
==
1
&&
Income
>
0
)
{
}
else
if
(
status
==
1
&&
(
Income
+
PlatformTax
)
<
TotalPrice
)
{
this
.
orderStatus
.
code
=
1
;
this
.
orderStatus
.
text
=
"正常"
;
this
.
showPayBtn
=
false
;
}
else
if
(
status
==
1
&&
Income
==
TotalPrice
)
{
}
else
if
(
status
==
1
&&
(
Income
+
PlatformTax
)
==
TotalPrice
)
{
this
.
orderStatus
.
code
=
1
;
this
.
orderStatus
.
text
=
"已付款"
;
this
.
showPayBtn
=
false
;
...
...
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