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
051a8cd3
Commit
051a8cd3
authored
Nov 23, 2023
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
152be146
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
10 deletions
+13
-10
jz_MyOrder.vue
pages/jiuzhai/jz_MyOrder.vue
+13
-10
No files found.
pages/jiuzhai/jz_MyOrder.vue
View file @
051a8cd3
...
...
@@ -103,9 +103,7 @@
<u-icon
name=
"arrow-up"
@
click
.
native
.
stop=
"getShow(item)"
v-else
color=
"#2979ff"
size=
"28"
></u-icon>
</view>
<view
class=
"jz-Oright"
>
{{
list
.
find
(
x
=>
x
.
Id
==
item
.
orderState
||
(
x
.
Id
==
1
&&
item
.
orderState
==
2
)).
name
}}
{{
getOrderStateName
(
item
)
}}
</view>
</view>
<view
style=
"display: flex"
>
...
...
@@ -127,13 +125,7 @@
</view>
<view
class=
"jz_Zailai"
style=
"margin-right: 10rpx"
@
click
.
stop=
"gojz_List"
>
再来一单
</view>
<!-- #ifdef MP-WEIXIN -->
<!--
<view
v-if=
"item.orderState == 2"
class=
"jz_Zailai"
style=
"width: 110rpx; margin-right: 10rpx"
@
click
.
stop=
"goZhifu(item)"
>
付款
</view
>
-->
<button
v-if=
"item.orderState == 2"
class=
"jz_Zailai"
@
click
.
stop=
"goZhifu(item)"
style=
"width: 110rpx; margin-right: 10rpx; margin-left: 0rpx"
>
付款
</button>
...
...
@@ -247,6 +239,17 @@
});
},
methods
:
{
//获取订单状态名称
getOrderStateName
(
item
)
{
console
.
log
(
"item"
,
item
);
var
str
=
"待付款"
;
if
(
item
.
orderState
==
1
)
{
str
=
"已付款"
}
else
if
(
item
.
orderState
==
4
)
{
str
=
"已取消"
}
return
str
;
},
//关闭登录窗口
gbAuth
()
{
this
.
showAuth
=
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