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
c8d0655b
Commit
c8d0655b
authored
Jul 09, 2026
by
wusiyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复单件打单主图不显示问题
parent
96bf93d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
10 deletions
+22
-10
src/views/order/podUs/PodMakeOrder.vue
+22
-10
No files found.
src/views/order/podUs/PodMakeOrder.vue
View file @
c8d0655b
...
...
@@ -978,24 +978,36 @@ const getPackingData = async (code: string) => {
boxIndex
.
value
=
box
as
number
if
(
boxIndex
.
value
==
0
)
{
podOrderDetailsData
.
value
=
data
as
OrderData
const
orderData
=
data
as
OrderData
orderData
.
productList
?.
forEach
((
el
)
=>
{
if
(
!
el
.
previewImgs
||
!
el
.
previewImgs
.
length
)
{
if
(
el
.
productMark
===
'custom_normal'
||
el
.
productMark
===
'normal'
)
{
el
.
previewImgs
=
[{
url
:
el
.
variantImage
||
''
}]
}
else
{
el
.
previewImgs
=
el
.
imageAry
?
JSON
.
parse
(
el
.
imageAry
)
:
[{
url
:
el
.
variantImage
}]
}
}
})
podOrderDetailsData
.
value
=
orderData
podOrderDetailsData
.
value
.
fromUser
=
userStore
.
user
?.
id
if
(
podOrderDetailsData
.
value
.
productList
?.
length
)
{
const
list
=
podOrderDetailsData
.
value
.
productList
coverImage
.
value
=
list
[
0
].
imageAry
?
JSON
.
parse
(
list
[
0
].
imageAry
)[
0
].
url
:
list
[
0
].
variantImage
const
list
=
podOrderDetailsData
.
value
.
productList
if
(
list
?.
length
)
{
await
nextTick
()
tableRef
.
value
?.
setCurrentRow
(
list
[
0
])
coverImage
.
value
=
list
[
0
].
previewImgs
?.[
0
]?.
url
||
''
for
(
const
product
of
list
)
{
if
(
product
.
count
===
product
.
purchaseNumber
)
{
product
.
power
=
true
print
(
data
as
O
rderData
,
false
,
()
=>
{
print
(
o
rderData
,
false
,
()
=>
{
renderLock
=
false
})
}
}
nextTick
(()
=>
{
tableRef
.
value
?.
setCurrentRow
(
list
[
0
])
})
}
}
}
catch
(
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