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
fbafb67e
Commit
fbafb67e
authored
Jun 23, 2026
by
qinjianhui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Merge branch 'cherry-pick-
eed3cfb1
' into 'dev'"
This reverts merge request
!225
parent
6e9e7789
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
47 additions
and
4 deletions
+47
-4
src/views/order/factoryOrderNew/component/CardLayout.vue
+1
-1
src/views/order/podUs/PodMakeOrder.vue
+46
-3
No files found.
src/views/order/factoryOrderNew/component/CardLayout.vue
View file @
fbafb67e
...
...
@@ -254,7 +254,7 @@
<ElPagination
:current-page=
"currentPage"
:page-size=
"pageSize"
:page-sizes=
"[50, 100, 200, 300
, 500
]"
:page-sizes=
"[50, 100, 200, 300]"
background
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"total"
...
...
src/views/order/podUs/PodMakeOrder.vue
View file @
fbafb67e
...
...
@@ -531,7 +531,9 @@ const podBoxList = computed(() => {
return
orderStore
.
podBoxList
})
const
coverImage
=
ref
<
string
>
(
''
)
watch
(
coverImage
,
(
value
)
=>
{
console
.
log
(
'🍡🍡🍡🍡🍡coverImage changed:'
,
value
)
})
let
currentCode
=
''
const
tableRef
=
ref
()
watch
(
visible
,
async
(
value
:
boolean
)
=>
{
...
...
@@ -710,8 +712,7 @@ const renderItemBox = (bool: boolean) => {
if
(
!
currentCode
.
startsWith
(
'JM'
))
{
const
parts
=
currentCode
.
split
(
'_'
)
currentCode
=
parts
.
length
>
3
&&
(
parts
[
3
].
startsWith
(
'USPSC'
)
||
parts
[
3
].
startsWith
(
'OP'
))
parts
.
length
>
3
&&
parts
[
3
].
startsWith
(
'USPSC'
)
?
parts
[
3
]
:
parts
.
length
>
1
?
parts
[
1
]
...
...
@@ -748,13 +749,17 @@ const renderItemBox = (bool: boolean) => {
renderLock
=
false
return
}
console
.
log
(
'=======⭐⭐⭐打印======='
)
print
(
data
,
false
,
()
=>
{
console
.
log
(
'⭐⭐⭐打印结果data.printResult'
,
data
.
printResult
)
if
(
props
.
wallType
===
'sort'
&&
isAutoPrint
.
value
&&
data
.
printResult
===
'printSuccess'
)
{
console
.
log
(
'⭐⭐⭐提交打单'
)
submitInspection
(()
=>
{
renderLock
=
false
})
...
...
@@ -963,7 +968,43 @@ 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
||
''
console
.
log
(
'🍉🍉🍉🍉getPackingData'
,
coverImage
.
value
)
break
}
}
}
if
(
boxIndex
.
value
==
0
)
{
podOrderDetailsData
.
value
=
data
as
OrderData
podOrderDetailsData
.
value
.
fromUser
=
userStore
.
user
?.
id
...
...
@@ -1011,6 +1052,7 @@ const getPackingData = async (code: string) => {
// 提交打单
const
submitInspection
=
async
(
callback
:
()
=>
void
)
=>
{
const
factoryNo
=
userStore
.
user
?.
factory
.
id
console
.
log
(
'⭐⭐⭐提交打单factoryNo'
,
factoryNo
)
if
(
!
factoryNo
)
{
return
}
...
...
@@ -1419,6 +1461,7 @@ const handleRowClick = (row: ProductList) => {
const
handleCurrentChange
=
(
url
:
string
)
=>
{
if
(
url
)
{
coverImage
.
value
=
url
||
''
console
.
log
(
'🍉🍉🍉🍉handleCurrentChange'
,
coverImage
.
value
)
}
}
const
warehouseId
=
ref
<
string
|
number
>
(
''
)
...
...
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