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
40ae7ae9
Commit
40ae7ae9
authored
Jun 18, 2026
by
wusiyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 尝试修复线上扫码后大图不更新问题
parent
4c093b77
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
1 deletions
+39
-1
src/views/order/podUs/PodMakeOrder.vue
+39
-1
No files found.
src/views/order/podUs/PodMakeOrder.vue
View file @
40ae7ae9
...
...
@@ -721,7 +721,9 @@ const renderItemBox = (bool: boolean) => {
product
.
thirdSkuCode
===
currentCode
||
(
product
.
operationNos
&&
product
.
operationNos
.
includes
(
currentCode
))
)
{
coverImage
.
value
=
product
.
previewImgs
?.[
0
]?.
url
||
''
if
(
coverImage
.
value
!==
product
.
previewImgs
?.[
0
]?.
url
)
{
coverImage
.
value
=
product
.
previewImgs
?.[
0
]?.
url
||
''
}
nextTick
(()
=>
{
tableRef
.
value
?.
setCurrentRow
(
product
)
})
...
...
@@ -958,6 +960,42 @@ const getPackingData = async (code: string) => {
boxChange
.
value
=
true
boxIndex
.
value
=
box
as
number
// 尝试修复线上扫码后大缩略图不更新问题
{
let
parsedCode
=
code
if
(
!
parsedCode
.
startsWith
(
'JM'
))
{
const
parts
=
parsedCode
.
split
(
'_'
)
parsedCode
=
parts
.
length
>
3
&&
parts
[
3
].
startsWith
(
'USPSC'
)
?
parts
[
3
]
:
parts
.
length
>
1
?
parts
[
1
]
:
parts
[
0
]
}
for
(
const
product
of
data
?.
productList
||
[])
{
if
(
product
.
podJomallUsNo
===
parsedCode
||
product
.
thirdSkuCode
===
parsedCode
||
(
product
.
operationNos
&&
product
.
operationNos
.
includes
(
parsedCode
))
)
{
if
(
!
product
.
previewImgs
||
!
product
.
previewImgs
.
length
)
{
if
(
product
.
productMark
===
'custom_normal'
||
product
.
productMark
===
'normal'
)
{
product
.
previewImgs
=
[{
url
:
product
.
variantImage
||
''
}]
}
else
{
product
.
previewImgs
=
product
.
imageAry
?
JSON
.
parse
(
product
.
imageAry
)
:
[{
url
:
product
.
variantImage
||
''
}]
}
}
coverImage
.
value
=
product
.
previewImgs
?.[
0
]?.
url
||
''
break
}
}
}
if
(
boxIndex
.
value
==
0
)
{
podOrderDetailsData
.
value
=
data
as
OrderData
podOrderDetailsData
.
value
.
fromUser
=
userStore
.
user
?.
id
...
...
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