Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
factory_front
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qinjianhui
factory_front
Commits
c018e910
Commit
c018e910
authored
Jul 08, 2026
by
wusiyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复配货打单/配货分拣多次弹框导致卡死问题 #1001798
parent
f8ba634d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
src/views/order/podUs/PodMakeOrder.vue
+7
-0
No files found.
src/views/order/podUs/PodMakeOrder.vue
View file @
c018e910
...
...
@@ -668,6 +668,7 @@ watch(
const
podBoxIndex
=
computed
(()
=>
orderStore
.
podBoxIndex
)
let
renderLock
=
false
let
pickFinishedAlertToken
=
0
const
renderItemBox
=
(
bool
:
boolean
)
=>
{
if
(
...
...
@@ -1178,6 +1179,10 @@ const initOrderDetailBox = async (type: 'scan' | 'manual' = 'manual') => {
// 切换箱子至验货完成的箱子
boxChange
.
value
=
true
boxIndex
.
value
=
boxs
[
0
]
as
number
const
token
=
++
pickFinishedAlertToken
if
(
token
>
1
)
{
ElMessageBox
.
close
()
}
try
{
await
ElMessageBox
.
alert
(
`检测到
${
boxs
.
join
(
','
)}
号箱验货完成,请及时处理`
,
...
...
@@ -1186,8 +1191,10 @@ const initOrderDetailBox = async (type: 'scan' | 'manual' = 'manual') => {
confirmButtonText
:
'确定'
,
},
)
if
(
token
!==
pickFinishedAlertToken
)
return
productionOrderRef
.
value
.
focus
()
}
catch
(
error
)
{
if
(
token
!==
pickFinishedAlertToken
)
return
productionOrderRef
.
value
.
focus
()
console
.
error
(
error
)
}
...
...
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