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 42d0f5e8
authored
Aug 25, 2026
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复(精品页订单卡片): 拦截低价单编辑并显示禁止编辑提示
当用户尝试编辑低价订单时,拦截跳转编辑页的操作并弹出对应提示,同时新增调试日志打印订单详情数据
1 parent
57310e26
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
pages/boutique/components/OrderCard.vue
pages/boutique/components/OrderCard.vue
View file @
42d0f5e
...
...
@@ -435,6 +435,13 @@ export default {
this
.
lockReason
=
res
.
lockReason
return
}
// console.log(JSON.parse(JSON.stringify(this.orderCardDetail)),'=======')
if
(
this
.
orderCardDetail
.
lowPriceFlag
==
1
)
{
return
uni
.
showToast
({
title
:
'低价单不可以编辑'
,
icon
:
'none'
})
}
this
.
$emit
(
'jump'
,
'CreateOrder'
,
{
paramsData
:
this
.
orderCardDetail
,
type
:
'createWithPay'
})
}
else
if
(
this
.
selectType
==
2
||
this
.
selectType
==
3
)
{
this
.
$emit
(
'jump'
,
'DefeatOrder'
,
{
paramsData
:
this
.
orderCardDetail
,
type
:
'createWithPay'
,
isExpiredTraffic
:
this
.
selectType
==
3
})
...
...
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