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
1
Merge Requests
1
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
7209ba67
Commit
7209ba67
authored
Jun 16, 2026
by
wusiyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 首次打开默认选中已配满箱子,切换箱子图片切换
parent
154b82d7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
+6
-1
src/views/order/podUs/PodMakeOrder.vue
+6
-1
No files found.
src/views/order/podUs/PodMakeOrder.vue
View file @
7209ba67
...
@@ -729,6 +729,9 @@ const renderItemBox = (bool: boolean) => {
...
@@ -729,6 +729,9 @@ const renderItemBox = (bool: boolean) => {
}
}
}
}
currentCode
=
''
currentCode
=
''
}
else
{
// 切换箱子,默认展示第一张图片
coverImage
.
value
=
productList
[
0
]?.
previewImgs
?.[
0
]?.
url
||
''
}
}
podOrderDetailsData
.
value
=
data
podOrderDetailsData
.
value
=
data
...
@@ -1135,10 +1138,12 @@ const initOrderDetailBox = async (type: 'scan' | 'manual' = 'manual') => {
...
@@ -1135,10 +1138,12 @@ const initOrderDetailBox = async (type: 'scan' | 'manual' = 'manual') => {
// 配货分拣 扫码切换配货区且配货完成 不提示
// 配货分拣 扫码切换配货区且配货完成 不提示
const
boxs
=
pickFinished
.
map
((
item
)
=>
item
.
box
)
const
boxs
=
pickFinished
.
map
((
item
)
=>
item
.
box
)
console
.
log
(
type
,
'💼💼💼💼'
)
if
(
type
===
'manual'
&&
boxs
.
length
>
0
)
{
if
(
type
===
'manual'
&&
boxs
.
length
>
0
)
{
nextTick
(
async
()
=>
{
nextTick
(
async
()
=>
{
// 切换箱子至验货完成的箱子
boxChange
.
value
=
true
boxIndex
.
value
=
boxs
[
0
]
as
number
try
{
try
{
await
ElMessageBox
.
alert
(
await
ElMessageBox
.
alert
(
`检测到
${
boxs
.
join
(
','
)}
号箱验货完成,请及时处理`
,
`检测到
${
boxs
.
join
(
','
)}
号箱验货完成,请及时处理`
,
...
...
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